-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathwhat-chord-is-this.html
435 lines (410 loc) · 21.4 KB
/
what-chord-is-this.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Primary Meta Tags -->
<title>Guitar Chord Namer</title>
<meta name="title" content="Guitar Chord Namer | Every Guitar Chord">
<meta name="description"
content="The best Guitar Chord namer app that you will find. It provides the chord name, scales that build the chord, the chord tone intervals, and more...">
<!-- Open Graph, need og:image -->
<meta property="og:site_name" content="Guitar Chord Namer">
<meta property="og:title" content="Guitar Chord Namer | Every Guitar Chord">
<meta property="og:description"
content="The best Guitar Chord namer app that you will find. It provides the chord name, scales that build the chord, the chord tone intervals, and more...">
<meta property="og:url" content="https://everyguitarchord.com/what-chord-is-this.html">
<!-- Twitter, need twitter:card & twitter:image -->
<meta name="twitter:title" content="Portfolio | James Kernicky">
<meta name="twitter:description"
content="The best Guitar Chord namer app that you will find. It provides the chord name, scales that build the chord, the chord tone intervals, and more...">
<meta name="twitter:domain" content="https://everyguitarchord.com/what-chord-is-this.html">
<!-- Bootstrap and Styles -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css" />
<link rel="stylesheet" href="./css/style.css" />
</head>
<body>
<header class="pb-4">
<nav class="navbar navbar-expand-lg navbar-dark bg-dark py-3 fixed-top border-bottom border-secondary">
<div class="container">
<a href="https://everyguitarchord.com/" class="navbar-brand"><img
src="https://everyguitarchord.com/wp-content/uploads/2019/05/cropped-every-guitar-chord-logo182.png"
alt="Every Guitar Chord logo" class="w-75"></a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navmenu"
aria-controls="navmenu" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navmenu">
<ul class="navbar-nav ms-auto mb-2 mb-lg-0 fs-5">
<li class="nav-item">
<a href="#notes" class="nav-link">Notes</a>
</li>
<li class="nav-item">
<a href="https://jameskernicky.netlify.app/" class="nav-link" target="_blank">Portfolio</a>
</li>
<li class="nav-item">
<a href="https://everyguitarchord.com/contact/" class="nav-link" target="_blank">Contact</a>
</li>
</ul>
</div>
</div>
</nav>
</header>
<main>
<div class="container mt-5 mx-auto row justify-content-center">
<h1 class="mt-5 text-center mt-2 pb-2 border-bottom border-secondary">WHAT CHORD IS THIS?</h1>
<h2 class="text-center text-secondary">Guitar chord namer app</h2>
<h3 class="mb-1 mt-3 text-center"> <span aria-label=" G clef">𝄞</span> Choose the tuning & a
sharp/flat key</h3>
<form id="tunings-form" class="col-12 col-md-10 row g-3 justify-content-center">
<div class="col-md-5">
<select name="tuning" id="alt-tunings" class="form-select border border-info"
aria-label="Default select example">
<option value="0">Standard (E-A-D-G-B-E)</option>
<option value="1">Drop D (D-A-D-G-B-E)</option>
<option value="2">Dbl Drop D (D-A-D-G-B-D)</option>
<option value="3">Drop C (C-G-D-F-A-D)</option>
<option value="4">Open A (E-A-C♯-E-A-E)</option>
<option value="5">Open C (C-G-C-G-C-E)</option>
<option value="6">Open D (D-A-D-F♯-A-D)</option>
<option value="7">DADGAD (D-A-D-G-A-D)</option>
<option value="8">Open D Minor (D-A-D-F-A-D)</option>
<option value="9">Open E (E-B-E-G♯-B-E)</option>
<option value="10">Open F (F-A-C-F-C-F)</option>
<option value="11">Open G (D-G-D-G-B-D)</option>
<option value="12">Open G Minor (D-G-D-G-B♭-D)</option>
</select>
</div>
<div class="col-md-5">
<div class="form-check form-check-inline ms-3 border-bottom border-dark">
<input class="form-check-input" type="radio" name="sharps-flats" id="sharp-key" value="sharp">
<label class="form-check-label fs-6" for="sharps">Sharp</label>
</div>
<div class="form-check form-check-inline me-3 border-bottom border-dark">
<input class="form-check-input" type="radio" name="sharps-flats" id="flat-key" value="flat">
<label class="form-check-label fs-6" for="flats">Flat</label>
</div>
<button id="user-tuning" class="user-tuning btn btn-primary mt-3" type="submit">
Set Tuning & Key
</button>
</div>
</form>
</div>
<div class="container mt-3 mx-auto row justify-content-center">
<h3 id="notes-heading" class="mb-1 mt-3 text-center"> <span aria-label=" G clef">𝄞</span> Enter your fret
numbers
</h3>
<form id="notes-form" class="col-sm-6 row g-3">
<div class="col-sm-2 custom">
<label for="str1" class="form-label fade-in-one"><span id="sixth" class="h4 string">E</span></label>
<input type="number" class="form-control note" id="str1" min="0" step="1" max="16">
</div>
<div class="col-sm-2 custom">
<label for="str2" class="form-label fade-in-two"><span id="fifth" class="h4 string">A</span></label>
<input type="number" class="form-control note" id="str2" min="0" step="1" max="16">
</div>
<div class="col-sm-2 custom">
<label for="str3" class="form-label fade-in-three"><span id="fourth" class="h4 string">D</span></label>
<input type="number" class="form-control note" id="str3" min="0" step="1" max="16">
</div>
<div class="col-sm-2 custom">
<label for="str4" class="form-label fade-in-four"><span id="third" class="h4 string">G</span></label>
<input type="number" class="form-control note" id="str4" min="0" step="1" max="16">
</div>
<div class="col-sm-2 custom">
<label for="str5" class="form-label fade-in-five"><span id="second" class="h4 string">B</span></label>
<input type="number" class="form-control note" id="str5" min="0" step="1" max="16">
</div>
<div class="col-sm-2 custom">
<label for="str6" class="form-label fade-in-six"><span id="first" class="h4 string">E</span></label>
<input type="number" class="form-control note" id="str6" min="0" step="1" max="16">
</div>
<div class="col-12">
<button id="form-submit" class="btn btn-dark" type="submit">
SUBMIT
</button>
<button id="page-reset" class="btn btn-dark mx-2" type="submit">
RESET
</button>
</div>
</form>
</div>
<div class="container">
<div id="error-output" class="mx-auto text-center fs-4 text-danger"></div>
<div class="row justify-content-center">
<div class="col-md">
<h2 class="mx-auto text-center mb-3 mt-0 user-notes">Chord name: <span class="text-primary user-notes-output"
id="slash-chord-name"></span>
</h2>
</div>
</div>
</div>
<div class="container">
<!-- BOXES-->
<section class="p-1">
<div class="container">
<div class="row text-center g-3">
<div class="col-md">
<div class="card bg-dark text-light">
<div class="h1 lg">
<div class="card-header fs-1 py-1" aria-label="Cut time">𝄵</div>
</div>
<div class="card-body text-center">
<h3 class="card-title text-light">Your notes:</h3>
<p class="card-text fs-4"><span id="user-notes"></span></p>
</div>
</div>
</div>
<div class="col-md">
<div class="card bg-dark text-light">
<div class="h1 lg-rev">
<div class="card-header fs-1 py-1" aria-label="beamed eighth note">♫</div>
</div>
<div class="card-body text-center">
<h3 class="card-title text-light">Chord notes:</h3>
<p class="card-text fs-4"><span id="chord-notes"></span></p>
</div>
</div>
</div>
<div class="col-md">
<div class="card bg-dark text-light">
<div class="h1 lg">
<div class="card-header fs-1 py-1" aria-label="Sixteenth note">𝄫</div>
</div>
<div class="card-body text-center">
<h3 class="card-title text-light">Chord intervals:</h3>
<p class="card-text fs-4"><span id="chord-intervals"></span></p>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- BOXES-->
<section class="p-1 my-3">
<div class="container">
<div class="row text-center g-3">
<div class="col-md">
<div class="card bg-dark text-light">
<div class="h1 lg">
<div class="card-header fs-1 py-1" aria-label="F clef">𝄢</div>
</div>
<div class="card-body text-center">
<h3 class="card-title text-light">Chord tendency:</h3>
<p class="card-text fs-4"><span id="chord-tendency"></span></p>
</div>
</div>
</div>
<div class="col-md">
<div class="card bg-dark text-light">
<div class="h1 lg-rev">
<div class="card-header fs-1 py-1" aria-label="Double flat">𝅘𝅥𝅯</div>
</div>
<div class="card-body text-center">
<h3 class="card-title text-light">Equal chords:</h3>
<p class="card-text fs-4"><span id="equal-chords"></span></p>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- BOXES-->
<section class="p-1 my-3">
<div class="container">
<div class="row g-3 text-center">
<div class="col-md">
<div class="card bg-dark text-light">
<div class="h1 lg">
<div class="card-header fs-1 py-1" aria-label="eighth note">♪</div>
</div>
<div class="card-body">
<h3 class="card-title mb-3 text-light">Scale degrees that build <span id="chord-name"
data-output="output"></span>:
</h3>
<ul class="fs-4" id="scale-degrees"></ul>
</div>
</div>
</div>
</div>
</div>
</section>
</div>
<div class="container m-5 pb-5">
<section id="notes">
<div class="row mx-auto">
<div class="col-md mx-auto">
<h2 class="display-4 text-center bg-light border-bottom border-secondary mt-5 pt-5">NOTES</h2>
<!-- How to use... -->
<h3 class="mt-5">How to use the app</h3>
<p class="lead">If all you need is the chord name then you do not need to look at the rest of the page.
However, I do output a lot of useful information related to your chord. Below describes how to use the app
and describes all the information related to y our chord.</p>
<ol>
<li class="lead">The page by default is set to Standard Tuning (E-A-D-G-B-E). I include 12 common altered
tunings in the select list below standard tuning. Select the tuning you want but make sure to click the
<strong>Set
Tuning</strong> button. I am working on setting the tuning to local storage so it remains when you
click
<strong>RESET</strong>, as well as a Custom tuning option.
</li>
<li class="lead">Enter the fret numbers for your chord. Leave the field empty for any strings that do
not have a note. Use your keyboard # keys or the arrow controls in each input field to enter a number.
If you are fine with
Standard Tuning, then you do not have to hit the Set Tuning button.</li>
<li class="lead">The fret number fields are set to a minimum of <strong>0</strong> for open strings,
and a
maximum of <strong>16</strong>. For any chords past the 12th fret, just subtract 12 from each fret
number to get the chord information.</li>
<li class="lead">The page by default is set to sharp keys. If you are working with a chord from a flat
key
them make sure to select the <strong>Flat keys</strong> radio button. If in doubt, leave it set to
<strong>Sharp keys</strong>. FYI, The flat MAJOR keys are <em>F, B♭. E♭, A♭, D♭, </em>and
<em>G♭</em>.
</li>
<li class="lead">Click the <strong>SUBMIT</strong> to geet the chord information, and the
<strong>RESET</strong> button to try another chord.
</li>
</ol>
<!-- Scales used -->
<h3 class="mt-5">Scales used</h3>
<p class="lead">I only include chords that are built from the following scales: </p>
<div class="container">
<ol>
<li class="lead">Major scale and modes</li>
<li class="lead">Minor pentatonic scale and modes</li>
<li class="lead">Blues scale and modes</li>
<li class="lead">Harmonic minor scale and modes</li>
<li class="lead">Melodic minor scale and modes</li>
<li class="lead">Augmented scale</li>
<li class="lead">Whole Tone scale</li>
<li class="lead">Diminished scale</li>
<li class="lead">Major Bebop scale and modes</li>
<li class="lead">Minor Bebop scale and modes</li>
</ol>
</div>
<p class="lead">If you are a Country or Bluegrass player, you must be wondering why I did not include
the
Major Pentatonic or Country Blues scales. They are both modes of the Minor Pentatonic and Blues scales
respectively. Or vice versa: the Minor Pentaonic and Blues scales are modes of the Major Pentatonic
and
Country Blues scales.</p>
<div class="container my-3 p-3 bg-light">
<h4>Country Blues scale</h4>
<p class="lead">I have not found a definitative name for the Major Pentatonic scale with the addition
of
the ♭3 note. I decided to go with the name <strong><em>Country Blues scale</em></strong> since it
seems
the
the best name for those notes.</p>
</div>
<p class="lead">Also, the 2nd mode of the Major Bebop scale is the <strong><em>Dorian Blues
scale</em></strong>, while the
5th
mode of the Minor Bebop scale is the <strong><em>Dominant Bebop scale</em></strong>.</p>
<!-- Omitted chord tones -->
<h3 class="mt-5">NR, N3, N5, NR/N5</h3>
<p class="lead">You may see some chord names followed by either <em>NR</em>, <em>N3</em>, <em>N5</em>,
or
<em>NR/N5</em>. That is my abbreviation for omitted chord tones:
</p>
<div class="container">
<ul>
<li class="lead">NR = omitted chord root, e.g. G7♯9 NR is missing the root note G.</li>
<li class="lead">N3 = omitted major 3rd root, e.g. G7 N3 is missing the major 3rd B. I do not
recommend
voicing a chord without the major or minor 3rd unless it is a suspended chord. The one exception
is 7
N3
which has an interesting <em>hollow</em> sound. You will not see <em>N3</em> for suspended chords
since the 3rd is <em>suspended</em>.
</li>
<li class="lead">N5 = omitted perfect 5th, e.g. G7 N5 is missing the perfect 5th note D. The perfect
5th
(P5) is the most commonly omitted chord tone.</li>
<li class="lead">NR/N5 = omitted chord root and perfect 5th, e.g. G13♭9 NR/N5 is missing the root
note G
and the perfect
5th note D. There are only 2 chords that can have both the root and 5th ommitted: 13♭9 NR/N5 and
13♯9
NR/N5.
</li>
</ul>
</div>
<!-- Equal chords -->
<h3 class="mt-5">Equal chords vs. Unique chords</h3>
<p class="lead">I used the term <strong><em>equal chords</em></strong> to describe a chord that has the
same
notes as a
chord with a
different name. For example, C6 has the notes C-E-G-A, while the chord Am7 has the notes A-C-E-G. Both
contain
the same notes and so they are <strong>equal</strong>.</p>
<p class="lead">The opposite of equal chords are <strong><em>unique chords</em></strong> which refer to
chords that do not
equal any other chord regardless of the chord inversion.</p>
<h3 class="mt-5">Chord tendency</h3>
<h4>How do I use these chords?</h4>
<p class="lead">The <strong>tendency</strong> of a chord refers to where it wants to resolve to - where
it
comes to rest. The easiest way to understand the tendency of a chord is to look at the V7 chord from
the
major scale. If you strum a G7 it naturally wants to resolve to C major, or some C major chord (C6,
Cmaj7,
etc.) Since C is the perfect 4th in relation to G, a G7 chord has the tendnecy of IV. </p>
<!-- Scale degrees -->
<h3 class="mt-5">Scale degrees</h3>
<p class="lead">The major scale has 7 scale degrees, the minor pentatonic has 5, and the blues sale has
6.
If you enter a chord like <em>C add 9</em>, then you will get the 1st, 4th, and 5th scale degrees for
the
major scale. That means that the 1st, 4th and 5th notes in C major build an add9 chord, (C add9, F
add9,
and G add9).</p>
<p class="lead">Or you can think of it as bulding a C add9 chord on the 1st scale degree of C major, the
4th
scale degree in G major, and the 5th scale degree in F major. </p>
<!-- Enharmonic equivalents -->
<h3 class="mt-5">Enharmonic equivalents, double sharps, and double flats</h3>
<p class="lead">I do not list double sharps or double flats. For example, the ♯9 in an E7♯9 chord is
techincally F♯♯, however, I list it as G. Similarly, the ♭5 in E♭7♭5 is technically B♭♭, as is the ♭9
in
an A♭7♭9 chord but I list them both as A.
</p>
<p class="lead">The ♭9, ♯9/♭3, ♯11/♭5, and ♯5/♭13 are the intervals that create a problem when it comes
to
naming chords. I prefer to keep things simple and not confuse people with double sharps and double flats,
or notes like
B♯
or F♭.</p>
<p class="lead">The chord names are correct but the notes are a little <em>“off”</em>. Keep
that in
mind if you are
discussing a chord with someone who knows music theory better
than you do!</p>
<!-- <button id="button2" class="button2">JSON</button> -->
</div>
</div>
</section>
</div>
<footer class="bg-dark py-4 text-center text-white mx-auto">
<div class="container">
<div class="fs-5 text lead">
<a href="https://github.com/Kernix13/guitar-chord-names" class="footer-link">GitHub Repo</a> | <a
href="https://everyguitarchord.com/category/guitar/" class="footer-link">EGC Blog</a>
</div>
<p class="fs-6 text">© 2022 Every Guitar Chord</p>
</div>
</footer>
<script src="./js/script.js" type="module"></script>
integrity="sha384-7+zCNj/IqJ95wo16oMtfsKbZ9ccEh31eOz1HGyDuCQ6wgnyJNSYdrPa03rtR1zdB"
crossorigin="anonymous"></script>
integrity="sha384-QJHtvGhmr9XOIpI6YVutG+2QOK9T+ZnN4kzFN1RtK3zEFEIsxhlmWl5/YESvpZ13"
crossorigin="anonymous"></script>
</body>
</html>