https://kitarr.astar.ee/index.php?title=Akordid&feed=atom&action=history
Akordid - Revision history
2024-03-29T09:13:22Z
Revision history for this page on the wiki
MediaWiki 1.31.8
https://kitarr.astar.ee/index.php?title=Akordid&diff=592&oldid=prev
Zomps: Created page with "<html><script language=JavaScript> <!-- // initialize timer handle var Timerid = 0; // create chords; each chord is a separate element of an associative array, and is referen..."
2013-06-16T14:35:09Z
<p>Created page with "<html><script language=JavaScript> <!-- // initialize timer handle var Timerid = 0; // create chords; each chord is a separate element of an associative array, and is referen..."</p>
<p><b>New page</b></p><div><html><script language=JavaScript><br />
<!--<br />
// initialize timer handle<br />
var Timerid = 0;<br />
<br />
// create chords; each chord is a separate element of an associative array, and is referenced by the name<br />
// of the chord. The string assigned to the array element (which is parsed later in the script)<br />
// specifies the strings of the chord. The guitar strings are numbered 0 through 5 for the first band,<br />
// 6 through 11 for the second, and so forth. The set of six 0s and 1s denotes guitar strings that aren't<br />
// played, and are shown flashing in the chart.<br />
// 0 1 2 3 4 5 | 0<br />
// ----------------- |<br />
// 6 7 8 9 10 11 | 1<br />
// 12 13 14 15 16 17 | 2<br />
// 18 19 20 21 22 23 | 3<br />
// 24 25 26 27 28 29 | 4<br />
// 30 31 32 33 34 35 | 5<br />
// 36 37 38 39 40 41 | 6<br />
// 42 43 44 45 46 47 | 7<br />
// 48 49 50 51 52 53 | 8<br />
// 54 55 56 57 58 59 | 9<br />
// 60 61 62 63 64 65 | 10<br />
// 66 67 68 69 70 71 | 11<br />
// 72 73 74 75 76 77 | 12<br />
<br />
<br />
var chords = new Object();<br />
chords["A"] = "100000;1;5;14;15;16"<br />
chords["A-barre"]= "000000;30;43;44;39;34;35"<br />
chords["Asus2"] = "100000;1;4;5;14;15"<br />
chords["Asus4"] = "100000;1;5;14;15;22"<br />
chords["A5"] = "100011;1;14;15"<br />
chords["A5-barre"]= "000111;30;43;44"<br />
chords["A6"] = "100000;1;14;15;16;17"<br />
chords["A7"] = "100000;1;3;5;14;16"<br />
chords["A9"] = "000000;30;43;32;39;34;47"<br />
chords["Amaj7"] = "100000;1;5;9;14;16"<br />
chords["Am"] = "100000;1;5;10;14;15"<br />
chords["Am6"] = "000000;30;43;44;33;46;35"<br />
chords["Am7"] = "100000;1;14;3;10;5"<br />
chords["Am7/G"] = "010000;3;5;10;14;18"<br />
chords["Am9"] = "000000;30;43;32;33;34;47"<br />
chords["A13"] = "100000;1;3;20;22;23"<br />
chords["Bb"] = "100000;7;20;21;22;11"<br />
chords["Bbm"] = "100000;7;20;21;16;11"<br />
chords["Bbm7"] = "100000;7;20;9;16;11"<br />
chords["Bbmaj7"] = "100000;7;20;15;22;11"<br />
chords["B"] = "100000;13;26;27;28;17"<br />
chords["B5"] = "100011;13;26;27"<br />
chords["B7"] = "100000;13;26;15;28;17"<br />
chords["Bm"] = "100000;13;26;27;22;17"<br />
chords["Bm7"] = "100000;13;26;15;22;17"<br />
chords["Bsus4"] = "100000;13;26;27;34;17"<br />
chords["C"] = "100000;19;14;3;10;5"<br />
chords["C5"] = "100011;19;32;33"<br />
chords["C7"] = "100000;19;14;21;10;5"<br />
chords["Cm"] = "100000;19;32;33;28;23"<br />
chords["Cm7"] = "100000;19;32;21;28;23"<br />
chords["Cmaj7"] = "100000;19;14;3;4;5"<br />
chords["C/B"] = "101000;13;3;10;5"<br />
chords["C/G"] = "000000;18;19;14;3;10;5"<br />
chords["Cadd9"] = "100000;19;14;3;22;5"<br />
chords["CaddG"] = "100000;19;14;3;10;23"<br />
chords["C#"] = "100000;25;38;39;40;29"<br />
chords["C#m"] = "100000;25;38;39;34;29"<br />
chords["C#m7"] = "100000;25;38;27;34;29"<br />
chords["D"] = "110000;2;15;17;22"<br />
chords["D5"] = "100011;31;44;45"<br />
chords["D7"] = "110000;2;10;15;17"<br />
chords["Dm"] = "110000;2;11;15;22"<br />
chords["D9"] = "100000;26;31;33;34;35"<br />
chords["Dm7"] = "110000;2;15;10;11"<br />
chords["D/F#"] = "000000;12;1;2;15;22;17"<br />
chords["Dsus2"] = "110000;2;15;22;5"<br />
chords["Dsus4"] = "110000;2;15;22;23"<br />
chords["Eb"] = "110000;32;21;28;23"<br />
chords["Eb9"] = "100000;20;25;27;28;29"<br />
chords["E"] = "000000;0;13;14;9;4;5"<br />
chords["Em"] = "000000;0;13;14;3;4;5"<br />
chords["Em7"] = "000000;0;13;14;3;22;5"<br />
chords["E5"] = "000111;0;13;14"<br />
chords["E7"] = "000000;0;13;2;9;4;5"<br />
chords["E/G#"] = "010000;24;14;27;4;5"<br />
chords["Esus4"] = "000000;0;13;14;15;4;5"<br />
chords["E13"] = "000000;0;2;5;9;13;16"<br />
chords["F"] = "000000;6;19;20;15;10;11"<br />
chords["F5"] = "000111;6;19;20"<br />
chords["Fm"] = "000000;6;19;20;9;10;11"<br />
chords["Fm7"] = "000000;6;19;8;9;10;11"<br />
chords["Fmaj7"] = "000000;6;1;20;15;10;5"<br />
chords["F/G"] = "000000;18;1;20;15;10;11"<br />
chords["F#"] = "000000;12;25;26;21;16;17"<br />
chords["F#m"] = "000000;12;25;26;15;16;17"<br />
chords["F#m7"] = "000000;12;25;14;15;16;17"<br />
chords["F#7"] = "000000;12;25;14;21;16;17"<br />
chords["G"] = "000000;2;3;4;13;18;23"<br />
chords["Gm"] = "000000;18;31;32;21;22;23"<br />
chords["Gm7"] = "000000;18;31;20;21;22;23"<br />
chords["G5"] = "000111;18;31;32"<br />
chords["G6"] = "010000;18;14;3;4;23"<br />
chords["G7"] = "000000;18;13;2;3;4;11"<br />
chords["Gmaj7"] = "010000;18;2;3;22;17"<br />
chords["G9"] = "000001;18;1;20;15;22"<br />
chords["Gsus4"] = "010000;18;2;3;10;23"<br />
chords["G/B"] = "100000;13;2;3;22;23"<br />
chords["G/F#"] = "010000;12;2;3;4;23"<br />
chords["G#"] = "000000;24;37;38;33;28;29"<br />
chords["G#7"] = "000000;24;37;26;33;28;29"<br />
chords["G#m"] = "000000;24;37;38;27;28;29"<br />
chords["G#m7"] = "000000;24;37;26;27;28;29"<br />
chords["G#sus4"] = "000000;24;37;38;39;28;29"<br />
<br />
<br />
<br />
function toggle(button) {<br />
button.checked = !button.checked;<br />
}<br />
<br />
// remove the check from all radio buttons<br />
function resetGuitar() {<br />
var Count;<br />
clearTimeout(Timerid);<br />
for (Count=1; Count < 72; Count++) {<br />
document.guitar[Count-1].checked=false<br />
}<br />
}<br />
<br />
<br />
// set the chord pattern<br />
function setGuitar() {<br />
resetGuitar();<br />
var Item, Ret, Count, Temp, Skip;<br />
Item = document.guitar.chord.selectedIndex;<br />
if (Item != -1) {<br />
Text = document.guitar.chord.options[Item].text;<br />
Frets = parser (chords[Text])<br />
for (Count = 2; Count <= Frets[0]; Count++) {<br />
Temp = parseInt(Frets[Count]);<br />
document.guitar[Temp].checked=true;<br />
}<br />
}<br />
}<br />
<br />
// general function for parsing strings using a specified parse character; result is values in<br />
// separate elements of an array<br />
function parser (InString) {<br />
var Sep = ";", NumSeps=1, Count, Start, ParseMark, parse;<br />
for (Count=1; Count < InString.length; Count++) {<br />
if (InString.charAt(Count)==Sep)<br />
NumSeps++;<br />
}<br />
parse = new Array ();<br />
var Start=0, Count=1, ParseMark=0, LoopCtrl=1;<br />
while (LoopCtrl==1) {<br />
ParseMark = InString.indexOf(Sep, ParseMark);<br />
TestMark=ParseMark+0;<br />
if ((TestMark==0) || (TestMark==-1)){<br />
parse[Count]= InString.substring (Start, InString.length);<br />
LoopCtrl=0;<br />
break;<br />
}<br />
parse[Count] = InString.substring (Start, ParseMark);<br />
Start=ParseMark+1, ParseMark=Start, Count++;<br />
}<br />
parse[0]=Count;<br />
return (parse);<br />
}<br />
// --><br />
</script><br />
<br />
<form name="guitar"><br />
<div align="center"><br />
<table bgcolor="#FFFFFF" cellspacing="0" cellpadding="0"><br />
<tr bgcolor="#000000"><td></td><br />
<td><input onclick="toggle(this)" type="radio"></td><td><input onclick="toggle(this)" type="radio"></td><br />
<td><input onclick="toggle(this)" type="radio"></td><td><input onclick="toggle(this)" type="radio"></td><br />
<td><input onclick="toggle(this)" type="radio"></td><td><input onclick="toggle(this)" type="radio"></td><tr><br />
<tr><td>I</td><br />
<td><input onclick="toggle(this)" type="radio"></td><td><input onclick="toggle(this)" type="radio"></td><br />
<td><input onclick="toggle(this)" type="radio"></td><td><input onclick="toggle(this)" type="radio"></td><br />
<td><input onclick="toggle(this)" type="radio"></td><td><input onclick="toggle(this)" type="radio"></td><tr><br />
<tr><td>II</td><br />
<td><input onclick="toggle(this)" type="radio"></td><td><input onclick="toggle(this)" type="radio"></td><br />
<td><input onclick="toggle(this)" type="radio"></td><td><input onclick="toggle(this)" type="radio"></td><br />
<td><input onclick="toggle(this)" type="radio"></td><td><input onclick="toggle(this)" type="radio"></td><tr><br />
<tr><td>III</td><br />
<td><input onclick="toggle(this)" type="radio"></td><td><input onclick="toggle(this)" type="radio"></td><br />
<td><input onclick="toggle(this)" type="radio"></td><td><input onclick="toggle(this)" type="radio"></td><br />
<td><input onclick="toggle(this)" type="radio"></td><td><input onclick="toggle(this)" type="radio"></td><tr><br />
<tr><td>IV</td><br />
<td><input onclick="toggle(this)" type="radio"></td><td><input onclick="toggle(this)" type="radio"></td><br />
<td><input onclick="toggle(this)" type="radio"></td><td><input onclick="toggle(this)" type="radio"></td><br />
<td><input onclick="toggle(this)" type="radio"></td><td><input onclick="toggle(this)" type="radio"></td><tr><br />
<tr><td>V</td><br />
<td><input onclick="toggle(this)" type="radio"></td><td><input onclick="toggle(this)" type="radio"></td><br />
<td><input onclick="toggle(this)" type="radio"></td><td><input onclick="toggle(this)" type="radio"></td><br />
<td><input onclick="toggle(this)" type="radio"></td><td><input onclick="toggle(this)" type="radio"></td><tr><br />
<tr><td>VI</td><br />
<td><input onclick="toggle(this)" type="radio"></td><td><input onclick="toggle(this)" type="radio"></td><br />
<td><input onclick="toggle(this)" type="radio"></td><td><input onclick="toggle(this)" type="radio"></td><br />
<td><input onclick="toggle(this)" type="radio"></td><td><input onclick="toggle(this)" type="radio"></td><tr><br />
<tr><td>VII</td><br />
<td><input onclick="toggle(this)" type="radio"></td><td><input onclick="toggle(this)" type="radio"></td><br />
<td><input onclick="toggle(this)" type="radio"></td><td><input onclick="toggle(this)" type="radio"></td><br />
<td><input onclick="toggle(this)" type="radio"></td><td><input onclick="toggle(this)" type="radio"></td><tr><br />
<tr><td>VIII</td><br />
<td><input onclick="toggle(this)" type="radio"></td><td><input onclick="toggle(this)" type="radio"></td><br />
<td><input onclick="toggle(this)" type="radio"></td><td><input onclick="toggle(this)" type="radio"></td><br />
<td><input onclick="toggle(this)" type="radio"></td><td><input onclick="toggle(this)" type="radio"></td><tr><br />
<tr><td>IX</td><br />
<td><input onclick="toggle(this)" type="radio"></td><td><input onclick="toggle(this)" type="radio"></td><br />
<td><input onclick="toggle(this)" type="radio"></td><td><input onclick="toggle(this)" type="radio"></td><br />
<td><input onclick="toggle(this)" type="radio"></td><td><input onclick="toggle(this)" type="radio"></td><tr><br />
<tr><td>X</td><br />
<td><input onclick="toggle(this)" type="radio"></td><td><input onclick="toggle(this)" type="radio"></td><br />
<td><input onclick="toggle(this)" type="radio"></td><td><input onclick="toggle(this)" type="radio"></td><br />
<td><input onclick="toggle(this)" type="radio"></td><td><input onclick="toggle(this)" type="radio"></td><tr><br />
<tr><td>XI</td><br />
<td><input onclick="toggle(this)" type="radio"></td><td><input onclick="toggle(this)" type="radio"></td><br />
<td><input onclick="toggle(this)" type="radio"></td><td><input onclick="toggle(this)" type="radio"></td><br />
<td><input onclick="toggle(this)" type="radio"></td><td><input onclick="toggle(this)" type="radio"></td><tr><br />
<tr><td>XII</td><br />
<td><input onclick="toggle(this)" type="radio"></td><td><input onclick="toggle(this)" type="radio"></td><br />
<td><input onclick="toggle(this)" type="radio"></td><td><input onclick="toggle(this)" type="radio"></td><br />
<td><input onclick="toggle(this)" type="radio"></td><td><input onclick="toggle(this)" type="radio"></td><tr><br />
</table><br />
</div><br />
<font face="Arial" size="-2"><br />
<center><br />
<p align="center"><select name="chord" size="5" onclick="setGuitar()" class="inputTavaline"><br />
<option>A<br />
<option>A-barre<br />
<option>A5<br />
<option>A5-barre<br />
<option>A6<br />
<option>A7<br />
<option>A9<br />
<option>A13<br />
<option>Amaj7<br />
<option>Am<br />
<option>Am6<br />
<option>Am7<br />
<option>Am7/G<br />
<option>Am9<br />
<option>Asus2<br />
<option>Asus4<br />
<option>Bb<br />
<option>Bbm<br />
<option>Bbm7<br />
<option>Bbmaj7<br />
<option>B<br />
<option>B5<br />
<option>B7<br />
<option>Bm<br />
<option>Bm7<br />
<option>Bsus4<br />
<option>C<br />
<option>C5<br />
<option>C7<br />
<option>Cm<br />
<option>Cm7<br />
<option>Cmaj7<br />
<option>C/B<br />
<option>C/G<br />
<option>Cadd9<br />
<option>CaddG<br />
<option>C#<br />
<option>C#m<br />
<option>C#m7<br />
<option>D<br />
<option>D5<br />
<option>D7<br />
<option>Dm<br />
<option>D9<br />
<option>Dm7<br />
<option>D/F#<br />
<option>Dsus2<br />
<option>Dsus4<br />
<option>Eb<br />
<option>Eb9<br />
<option>E<br />
<option>Em<br />
<option>Em7<br />
<option>E5<br />
<option>E7<br />
<option>E/G#<br />
<option>Esus4<br />
<option>E13<br />
<option>F<br />
<option>F5<br />
<option>Fm<br />
<option>Fm7<br />
<option>Fmaj7<br />
<option>F/G<br />
<option>F#<br />
<option>F#m<br />
<option>F#m7<br />
<option>F#7<br />
<option>G<br />
<option>Gm<br />
<option>Gm7<br />
<option>G5<br />
<option>G6<br />
<option>G7<br />
<option>Gmaj7<br />
<option>G9<br />
<option>Gsus4<br />
<option>G/B<br />
<option>G/F#<br />
<option>G#<br />
<option>G#7<br />
<option>G#m<br />
<option>G#m7<br />
<option>G#sus4</option><br />
</select> <input onchange="setGuitar()" type="button" value="Näita" class="inputButton"> <input onclick="resetGuitar()" type="button" value="Kustuta" class="inputButton"></p><br />
</center></font><br />
</form><br />
</html></div>
Zomps