Skip to content

Commit 68361c4

Browse files
committed
fix C chromatic 12h, add C chromatic 16h
1 parent bec004c commit 68361c4

File tree

3 files changed

+56
-1
lines changed

3 files changed

+56
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ This is a plugin for MuseScore 1.2 to add harmonica tablature notation below the
88
* Diatonic A - [Reference](http://harmopoint.com/harmonica-virtuel/)
99
* Diatonic F - [Reference](http://harmopoint.com/harmonica-virtuel/)
1010
* Chromatic C, 12 holes - [Reference](http://musescore.org/sites/musescore.org/files/12%20Hole%20Chromatic%20slide%20Harmonica.txt)
11+
* Chromatic C, 16 holes - [Reference](https://coast2coastmusic.com/chromatic/tuning_charts.shtml)
1112

1213

1314
If you want to have your harmonica added to the it, please contact me, or better, do a pull request.

harmonica_chromatic_C_12h.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
// 60 C C# D D# E F F# G G# A A# B
2121
var holes = ["+1", "<+1", "-1", "<-1", "+2", "-2", "<-2", "+3", "<+3", "-3", "<-3", "-4",
2222
"+4", "<+4", "-5", "<-5", "+6", "-6", "<-6", "+7", "<+7", "-7", "<-7", "-8",
23-
"+8", "<+4", "-9", "<-9", "+10", "-10", "<-10", "+11", "<+11", "-11", "<-11", "-12",
23+
"+8", "<+8", "-9", "<-9", "+10", "-10", "<-10", "+11", "<+11", "-11", "<-11", "-12",
2424
"+12", "<+12", "<-12"
2525
];
2626

harmonica_chromatic_C_16h.js

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
//=============================================================================
2+
// MuseScore
3+
// Harmonica plugin
4+
//
5+
// Copyright (C)2012 lasconic
6+
//
7+
// This program is free software; you can redistribute it and/or modify
8+
// it under the terms of the GNU General Public License version 2.
9+
//
10+
// This program is distributed in the hope that it will be useful,
11+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13+
// GNU General Public License for more details.
14+
//
15+
// You should have received a copy of the GNU General Public License
16+
// along with this program; if not, write to the Free Software
17+
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18+
//=============================================================================
19+
20+
// 48 C C# D D# E F F# G G# A A# B
21+
var holes = ["+1", "<+1", "-1", "<-1", "+2", "-2", "<-2", "+3", "<+3", "-3", "<-3", "-4",
22+
"+4", "<+4", "-5", "<-5", "+6", "-6", "<-6", "+7", "<+7", "-7", "<-7", "-8",
23+
"+8", "<+8", "-9", "<-9", "+10", "-10", "<-10", "+11", "<+11", "-11", "<-11", "-12",
24+
"+12", "<+12", "-13", "<-13", "+14", "-14", "<-14", "+15", "<+15", "-15", "<-15", "-16",
25+
"+16"
26+
];
27+
28+
var shift = 48;
29+
30+
//---------------------------------------------------------
31+
// init
32+
//---------------------------------------------------------
33+
34+
function init()
35+
{
36+
}
37+
38+
//-------------------------------------------------------------------
39+
// run
40+
//-------------------------------------------------------------------
41+
42+
function run()
43+
{
44+
applyFingerings(curScore, holes, shift);
45+
}
46+
47+
var mscorePlugin = {
48+
menu: 'Plugins.Harmonica Tablature.Chromatic C 16 holes',
49+
init: init,
50+
run: run
51+
};
52+
53+
mscorePlugin;
54+

0 commit comments

Comments
 (0)