1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7970],{7022:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/chords",function(){return r(4493)}])},8122:function(e,t,r){"use strict";r.d(t,{$t:function(){return TagSEO},Jr:function(){return TopicSEO},TQ:function(){return PageSEO},Uy:function(){return BlogSEO},h4:function(){return ProjectSEO},jE:function(){return AuthorSEO},kq:function(){return NewsletterSEO}});var a=r(5893),n=r(9008),s=r.n(n),o=r(1163),i=r(3071),l=r.n(i);let CommonSEO=e=>{let{title:t,description:r,ogType:n,ogImage:i,twImage:c,canonicalUrl:d,noindex:m=!1}=e,g=(0,o.useRouter)(),x=(g.asPath||"").split("?")[0].split("#")[0],h="/"===x?"":x.replace(/\/$/,""),p=null!=d?d:"".concat(l().siteUrl).concat(h);return(0,a.jsxs)(s(),{children:[(0,a.jsx)("title",{children:t}),(0,a.jsx)("meta",{name:"robots",content:m?"noindex, follow":"index, follow"}),(0,a.jsx)("meta",{name:"description",content:r}),(0,a.jsx)("meta",{property:"og:url",content:p}),(0,a.jsx)("meta",{property:"og:type",content:n}),(0,a.jsx)("meta",{property:"og:site_name",content:l().title}),(0,a.jsx)("meta",{property:"og:description",content:r}),(0,a.jsx)("meta",{property:"og:title",content:t}),Array.isArray(i)?i.map(e=>{let{url:t}=e;return(0,a.jsx)("meta",{property:"og:image",content:t},t)}):(0,a.jsx)("meta",{property:"og:image",content:i},i),(0,a.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),l().twitter&&(0,a.jsx)("meta",{name:"twitter:site",content:l().twitter}),(0,a.jsx)("meta",{name:"twitter:title",content:t}),(0,a.jsx)("meta",{name:"twitter:description",content:r}),(0,a.jsx)("meta",{name:"twitter:image",content:c}),(0,a.jsx)("link",{rel:"canonical",href:p}),(0,a.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org","@graph":[{"@type":"WebSite","@id":"".concat(l().siteUrl,"/#website"),url:l().siteUrl,name:l().title,description:l().description,inLanguage:"en-US",publisher:{"@id":"".concat(l().siteUrl,"/#organization")}},{"@type":"Organization","@id":"".concat(l().siteUrl,"/#organization"),url:l().siteUrl,name:"ToneRune",logo:{"@type":"ImageObject",url:"".concat(l().siteUrl).concat(l().siteLogo)},sameAs:["https://www.pinterest.com/rizanbee/"]}]})}})]})},c=new Set(["pgp","privacy","terms"]),PageSEO=e=>{let{title:t,description:r,slug:n,noindex:s}=e,o=!!n&&!c.has(n),i=o?"/static/images/pages/og/".concat(n,".png"):l().socialBanner,d=l().siteUrl+i,m=n?"".concat(l().siteUrl,"/").concat(n):void 0;return(0,a.jsx)(CommonSEO,{title:t,description:r,ogType:"website",ogImage:d,twImage:d,canonicalUrl:m,noindex:s})},ProjectSEO=e=>{let{title:t,description:r,slug:n}=e,s=l().siteUrl+"/static/images/projects/og/".concat(n,".png");return(0,a.jsx)(CommonSEO,{title:t,description:r,ogType:"website",ogImage:s,twImage:s})},d=new Set([""]),AuthorSEO=e=>{let{title:t,description:r,slug:n}=e,s=!d.has(n),o=s?"/static/images/authors/og/".concat(n,".png"):l().socialBanner,i=l().siteUrl+o;return(0,a.jsx)(CommonSEO,{title:t,description:r,ogType:"profile",ogImage:i,twImage:i})},TopicSEO=e=>{let{title:t,description:r,slug:n,ogType:s="website"}=e,o=l().siteUrl+(n?"/static/images/topics/og/".concat(n,".png"):"/static/images/topics/og/index.png");return(0,a.jsx)(CommonSEO,{title:t,description:r,ogType:s,ogImage:o,twImage:o})},NewsletterSEO=e=>{let{title:t,description:r,slug:n,ogType:s="website"}=e,o=l().siteUrl+(n?"/static/images/newsletter/og/".concat(n,".png"):"/static/images/newsletter/og/index.png");return(0,a.jsx)(CommonSEO,{title:t,description:r,ogType:s,ogImage:o,twImage:o})},TagSEO=e=>{let{title:t,description:r}=e,n=l().siteUrl+l().socialBanner,i=l().siteUrl+l().socialBanner,c=(0,o.useRouter)();return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(CommonSEO,{title:t,description:r,ogType:"website",ogImage:n,twImage:i}),(0,a.jsx)(s(),{children:(0,a.jsx)("link",{rel:"alternate",type:"application/rss+xml",title:"".concat(r," - RSS feed"),href:"".concat(l().siteUrl).concat(c.asPath,"/feed.xml")})})]})},BlogSEO=e=>{let t,{authorDetails:r,title:n,summary:o,date:i,lastmod:c,url:d,images:m=[],canonicalUrl:g,faqs:x,noindex:h=!1}=e,p=new Date(i).toISOString(),u=new Date(c||i).toISOString(),y=0===m.length?[l().socialBanner]:"string"==typeof m?[m]:m,b=y.map(e=>({"@type":"ImageObject",url:e.includes("http")?e:l().siteUrl+e}));t=r?r.map(e=>({"@type":"Person",name:e.name})):{"@type":"Person",name:l().author};let j={"@context":"https://schema.org","@type":"Article",mainEntityOfPage:{"@type":"WebPage","@id":d},headline:n,image:b,datePublished:p,dateModified:u,author:t,publisher:{"@type":"Organization",name:l().author,logo:{"@type":"ImageObject",url:"".concat(l().siteUrl).concat(l().siteLogo)}},description:o},f=null==x?void 0:x.map(e=>{let t=e.indexOf(" | ");return t>=0?{question:e.slice(0,t),answer:e.slice(t+3)}:{question:e,answer:""}}).filter(e=>e.answer),w=f&&f.length>
10?{...j,"@type":["Article","WebPage"],mainEntity:{"@type":"FAQPage",mainEntity:f.map(e=>{let{question:t,answer:r}=e;return{"@type":"Question",name:t,acceptedAnswer:{"@type":"Answer",text:r}}})}}:j,k=b[0].url;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(CommonSEO,{title:n,description:o,ogType:"article",ogImage:b,twImage:k,canonicalUrl:g,noindex:h}),(0,a.jsxs)(s(),{children:[i&&(0,a.jsx)("meta",{property:"article:published_time",content:p}),c&&(0,a.jsx)("meta",{property:"article:modified_time",content:u}),(0,a.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(w,null,2)}})]})]})}},1758:function(e,t,r){"use strict";r.d(t,{H:function(){return getChordPositions}});var a=r(6140);let n={C:"C","C#":"Csharp",Db:"Csharp",D:"D","D#":"Eb",Eb:"Eb",E:"E",F:"F","F#":"Fsharp",Gb:"Fsharp",G:"G","G#":"Ab",Ab:"Ab",A:"A","A#":"Bb",Bb:"Bb",B:"B"};function getChordPositions(e,t){var r;let s=n[e];if(!s)return[];let o=null===(r=a.s4)||void 0===r?void 0:r[s];if(!o||!Array.isArray(o))return[];let i=o.find(e=>e.suffix===t);return i&&i.positions||[]}},5510:function(e,t,r){"use strict";r.d(t,{Jg:function(){return typeLabel},NA:function(){return chordPath},PF:function(){return a},V4:function(){return typeToSlug},jA:function(){return intervalFunction},je:function(){return chordSymbol},pV:function(){return rootToSlug},t0:function(){return chordFullName},yl:function(){return n}}),r(9645);let a=["C","C#","D","D#","E","F","F#","G","G#","A","A#","B"],n=["major","minor","maj7","sus2","sus4","7","m7","dim","aug","add9","6","9","madd9","m6","dim7"];function chordFullName(e,t){return"".concat(e," ").concat(t)}function rootToSlug(e){return e.replace(/#/g,"-sharp").toLowerCase()}function typeToSlug(e){return e.toLowerCase()}function chordPath(e,t){return"/chords/".concat(rootToSlug(e),"/").concat(typeToSlug(t))}function typeLabel(e){return({major:"Major",minor:"Minor",maj7:"Major 7th",sus2:"Suspended 2nd",sus4:"Suspended 4th",7:"Dominant 7th",m7:"Minor 7th",dim:"Diminished",aug:"Augmented",add9:"Add 9",6:"Sixth",9:"Dominant 9th",madd9:"Minor Add 9",m6:"Minor 6th",dim7:"Diminished 7th"})[e]||e}function chordSymbol(e,t){return"".concat(e).concat({major:"",minor:"m",maj7:"maj7",sus2:"sus2",sus4:"sus4",7:"7",m7:"m7",dim:"dim",aug:"aug",add9:"add9",6:"6",9:"9",madd9:"madd9",m6:"m6",dim7:"dim7"}[t]||"")}function intervalFunction(e){return({"1P":"Root","3M":"Major 3rd","3m":"Minor 3rd","5P":"Perfect 5th","5d":"Diminished 5th","7M":"Major 7th","7m":"Minor 7th","2M":"Major 2nd","4P":"Perfect 4th"})[e]||e}},4493:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return ChordsIndexPage}});var a=r(5893),n=r(7294),s=r(1664),o=r.n(s),i=r(8122),l=r(9048),c=r(5510),d=r(1758);let m={strings:6,fretsOnChord:5,name:"Guitar",keys:["A","Ab","A#","B","Bb","C","C#","D","Db","D#","E","Eb","F","F#","G","G#","Gb"],tunings:{standard:["E2","A2","D3","G3","B3","E4"]}};function DiagramWrapper(e){let{children:t,className:r}=e;return(0,a.jsx)("div",{className:"rounded-lg bg-white dark:bg-[#1a1a2e] ".concat(r||""),style:{display:"inline-block"},children:t})}let g={C:"C","C#":"C#",D:"D",Eb:"D#",E:"E",F:"F","F#":"F#",G:"G",Ab:"G#",A:"A",Bb:"A#",B:"B"},x={C:"C","C#":"C#",D:"D","D#":"Eb",E:"E",F:"F","F#":"F#",G:"G","G#":"Ab",A:"A","A#":"Bb",B:"B"},h=["All","C","C#","D","Eb","E","F","F#","G","Ab","A","Bb","B"];function ChordsIndexPage(){let[e,t]=(0,n.useState)("All"),[r,s]=(0,n.useState)("all"),p=g[e]||null,u=(0,n.useMemo)(()=>"All"===e?c.PF:p?c.PF.filter(e=>e===p):[],[e,p]),y=(0,n.useMemo)(()=>{let e=[];return u.forEach(t=>{c.yl.forEach(r=>{let a=(0,d.H)(t,r);0!==a.length&&e.push({root:t,type:r,symbol:(0,c.je)(t,r),displayRoot:x[t]||t,path:"/chords/".concat((0,c.pV)(t),"/").concat((0,c.V4)(r)),positions:a})})}),e},[u]),b=(0,n.useMemo)(()=>"all"===r?y:y.filter(e=>e.type===r),[y,r]),j="All"!==e&&"all"!==r,f="flex flex-col p-2 mt-2 hover:font-bold";return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(i.TQ,{title:"Guitar Chord Dictionary; Every Chord, Every Key | ToneRune",description:"Browse all guitar chords by root note and chord type. Find major, minor, 7th, diminished, augmented chords and more for every root."}),(0,a.jsxs)("section",{className:"max-w-5xl py-8 sm:py-12",children:[(0,a.jsx)("p",{className:"text-sm font-medium text-gray-500 dark:text-gray-400",children:"Reference"}),(0,a.jsx)("h1",{className:"mt-2 text-3xl font-bold tracking-tight text-gray-900 dark:text-white sm:text-4xl",children:"Guitar Chord Dictionary"}),(0,a.jsx)("nav",{"aria-label":"Breadcrumb",children:(0,a.jsxs)("ol",{className:"flex items-center space-x-2 text-sm text-gray-900 dark:text-gray-100",children:[(0,a.jsx)("li",{children:(0,a.jsx)("a",{href:"/",children:"Home"})}),(0,a.jsx)("li",{children:">"}),(0,a.jsx)("li",{children:(0,a.jsx)("a",{href:"/chords",children:"Chords"})})]})}),(0,a.jsx)("p",{className:"mt-3 max-w-2xl text-base leading-7 text-gray-600 dark:text-gray-400",children:"Every chord in every key."})]}),(0,a.jsx)("section",{className:"max-w-5xl py-3 border-b border-gray-200 dark:border-gray-700",children:(0,a.jsxs)("div",{className:"flex items-center gap-2 flex-wrap",children:[(0,a.jsx)("span",{className:"text-sm font-medium text-gray-500 dark:text-gray-400 mr-1 min-w-[40px]",children:"Keys:"}),(0,a.jsx)("div",{className:"flex flex-wrap gap-2",children:h.map(r=>(0,a.jsx)("button",{onClick:()=>t(r),className:"rounded-lg px-4 py-2.5 text-sm font-semibold transition-colors min-w-[44px] ".concat(e===r?"bg-blue-600 text-white shadow-sm":"bg-gray-100 text-gray-700 hover:bg-gray-200 dark:bg-gray-800 dark:text-gray-300 dark:hover:bg-gray-700"),children:r},r))})]})}),(0,a.jsxs)("div",{className:"max-w-5xl flex flex-col sm:flex-row gap-4 sm:gap-6 py-4 sm:py-6",children:[(0,a.jsxs)("aside",{className:"w-full sm:w-40 sm:shrink-0",children:[(0,a.jsx)("p",{className:"text-xs font-medium text-gray-400 dark:text-gray-500 uppercase tracking-wider mb-2",children:"Types"}),(0,a.jsxs)("ul",{className:"hidden sm:block space-y-0.5",children:[(0,a.jsx)("li",{children:(0,a.jsx)("button",{onClick:()=>s("all"),className:"text-sm py-2 px-2 rounded-md transition-colors w-full text-left font-medium ".concat("all"===r?"bg-blue-50 text-blue-700 font-semibold dark:bg-blue-900/30 dark:text-blue-300":"text-gray-600 hover:bg-gray-100 hover:text-gray-900 dark:text-gray-400 dark:hover:bg-gray-800 dark:hover:text-gray-100"),children:"All"})}),c.yl.map(e=>(0,a.jsx)("li",{children:(0,a.jsx)("button",{onClick:()=>s(e),className:"text-sm py-2 px-2 rounded-md transition-colors w-full text-left font-medium ".concat(r===e?"bg-blue-50 text-blue-700 font-semibold dark:bg-blue-900/30 dark:text-blue-300":"text-gray-600 hover:bg-gray-100 hover:text-gray-900 dark:text-gray-400 dark:hover:bg-gray-800 dark:hover:text-gray-100"),children:e})},e))]}),(0,a.jsx)("div",{className:"sm:hidden overflow-x-auto pb-1 -mx-4 px-4",children:(0,a.jsxs)("div",{className:"flex gap-2 pt-1",children:[(0,a.jsx)("button",{onClick:()=>s("all"),className:"shrink-0 rounded-lg px-4 py-2.5 text-sm font-semibold transition-colors ".concat("all"===r?"bg-blue-600 text-white shadow-sm":"bg-gray-100 text-gray-700 dark:bg-gray-800 dark:text-gray-300"),children:"All"}),c.yl.map(e=>(0,a.jsx)("button",{onClick:()=>s(e),className:"shrink-0 rounded-lg px-4 py-2.5 text-sm font-semibold transition-colors ".concat(r===e?"bg-blue-600 text-white shadow-sm":"bg-gray-100 text-gray-700 dark:bg-gray-800 dark:text-gray-300"),children:e},e))]})})]}),(0,a.jsxs)("div",{className:"flex-1 min-w-0",children:[j?(0,a.jsx)("div",{className:"space-y-6",children:b.map(e=>(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"flex items-center justify-between mb-3",children:[(0,a.jsxs)("h3",{className:"text-lg font-bold text-gray-900 dark:text-gray-100",children:[e.symbol,(0,a.jsxs)("span",{className:"ml-2 text-sm font-normal text-gray-400 dark:text-gray-500",children:["(",e.positions.length," voicings)"]})]}),(0,a.jsx)(o(),{href:e.path,className:"text-sm font-medium text-blue-600 hover:text-blue-800 dark:text-blue-400 dark:hover:text-blue-300",children:"Full page â"})]}),(0,a.jsx)("div",{className:"flex flex-wrap gap-5 sm:gap-6",children:e.positions.map((t,r)=>(0,a.jsxs)("div",{className:"flex flex-col items-center",children:[(0,a.jsx)(DiagramWrapper,{className:"w-[190px] sm:w-[220px] md:w-[240px]",children:(0,a.jsx)(l.Z,{chord:t,instrument:m,lite:!1})}),e.positions.length>1&&(0,a.jsxs)("span",{className:"mt-1 text-xs font-medium text-gray-400 dark:text-gray-500",children:["v",r+1]})]},r))})]},e.path))}):(0,a.jsx)("div",{className:"grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 gap-3",children:b.map(e=>(0,a.jsxs)(o(),{href:e.path,className:"group relative flex flex-col items-center rounded-xl border border-gray-200 bg-white p-4 transition-all hover:border-primary-500 hover:shadow-md dark:border-gray-800 dark:bg-gray-900",title:"View ".concat(e.symbol," chord page (").concat(e.positions.length," voicings)"),children:[(0,a.jsx)("span",{className:"mb-2 text-sm font-bold text-gray-900 dark:text-gray-100 group-hover:text-primary-500",children:e.symbol}),(0,a.jsx)(DiagramWrapper,{className:"w-full max-w-[160px] rounded-md p-2 bg-slate-100 dar
1k:bg-slate-300",children:(0,a.jsx)(l.Z,{chord:e.positions[0],instrument:m,lite:!1})}),e.positions.length>1&&(0,a.jsx)("span",{className:"mt-2 text-xs font-medium text-primary-500 opacity-0 transition-opacity group-hover:opacity-100",children:"View voicings â"})]},e.path))}),0===b.length&&(0,a.jsx)("p",{className:"py-10 text-center text-gray-500 dark:text-gray-400",children:"No chords found for this selection."})]})]}),(0,a.jsxs)("section",{className:"max-w-5xl py-8 sm:py-12 border-t border-gray-200 dark:border-gray-700",children:[(0,a.jsx)("h2",{className:"text-xl font-semibold text-gray-900 dark:text-gray-100",children:"How to use the chord dictionary"}),(0,a.jsx)("p",{className:"mt-3 max-w-2xl text-base leading-7 text-gray-600 dark:text-gray-400",children:"Each chord page shows all voicings, the exact notes in the chord, interval formula, and related chords. X means you don't play the string; O means you play that string open. Start with the major and minor chords- they're the most common, then explore 7ths and suspended chords for color."})]}),(0,a.jsxs)("section",{className:"max-w-5xl py-8 sm:py-12",children:[(0,a.jsx)("h2",{className:"text-xl font-semibold text-gray-900 dark:text-gray-100",children:"Learn how chords work in context"}),(0,a.jsxs)("ul",{children:[(0,a.jsx)("li",{className:f,children:(0,a.jsx)("a",{href:"/blog/c-major-scale-notes-chords",children:"C major scale - notes and chords"})}),(0,a.jsx)("li",{className:f,children:(0,a.jsx)("a",{href:"/blog/g-major-scale-notes-chords",children:"G major scale - notes and chords"})}),(0,a.jsx)("li",{className:f,children:(0,a.jsx)("a",{href:"/blog/d-major-scale-notes-chords",children:"D major scale - notes and chords"})}),(0,a.jsx)("li",{className:f,children:(0,a.jsx)("a",{href:"/tools/scale-finder",children:"Guitar scale finder (interactive)"})})]})]})]})}}},function(e){e.O(0,[6557,9048,9645,9774,2888,179],function(){return e(e.s=7022)}),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.