Skip to content

Commit c8a25dc

Browse files
committed
add more diato
1 parent 98c1e40 commit c8a25dc

6 files changed

+224
-5
lines changed

README.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,24 @@
11
This is a plugin for MuseScore 1.2 to add harmonica tablature notation below the notes. It currently supports
22

33
* the Hohner Highlander only, for both side, A highlander and D - [Reference](http://musescore.org/sites/musescore.org/files/Hohner%20Highlander%20scale.jpg)
4-
* Lee Oskar, Diatonic C - [Reference](http://musescore.org/sites/musescore.org/files/Lee%20Oscar%20C.jpg)
4+
* Diatonic C - [Reference](http://musescore.org/sites/musescore.org/files/Lee%20Oscar%20C.jpg)
5+
* Diatonic D - [Reference](http://musescore.org/sites/musescore.org/files/Lee%20Oskar%20Diatonic%20D.jpg)
6+
* Diatonic G - [Reference](http://musescore.org/sites/musescore.org/files/Lee%20Oskar%20%20Diatonic%20G.jpg)
7+
* Diatonic Bb - [Reference](http://musescore.org/sites/musescore.org/files/Lee%20Oskar%20Diatonic%20Bb.jpg)
8+
59

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

812

913
##Convention
10-
* "+" is for blow
11-
* "-" is for draw
14+
* "+" = blow
15+
* "-" = draw
16+
* ' = halfstep bend
17+
* " = whole step bend
18+
* "' = 3 halfsteps bend
1219

1320
Bends, over blow, over draw may be supported if it's the only way to play the note.
14-
If there are two holes for one note, a choice has been made.
21+
If there are two holes for one note, a choice has been made (draw)
1522

1623
##More info
1724
See the official [project page](http://musescore.org/en/project/harmonicatablature)

harmonica_diatonic_Bb.js

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
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+
// 58Bb B C Db D Eb E F Gb G Ab A
21+
var holes = ["+1", "-1'", "-1", "", "+2", "-2\"", "-2'", "+3", "-3\"'", "-3\"", "-3'", "-3",
22+
"+4", "-4'", "-4", "", "+5", "-5", "", "+6", "-6'", "-6", "", "-7",
23+
"+7", "", "-8", "+8'", "+8", "-9", "+9'", "+9", "", "-10", "+10\"", "+10'",
24+
"+10"
25+
];
26+
27+
var shift = 58;
28+
29+
//---------------------------------------------------------
30+
// init
31+
//---------------------------------------------------------
32+
33+
function init()
34+
{
35+
}
36+
37+
//-------------------------------------------------------------------
38+
// run
39+
//-------------------------------------------------------------------
40+
41+
function run()
42+
{
43+
applyFingerings(curScore, holes, shift);
44+
}
45+
46+
var mscorePlugin = {
47+
menu: 'Plugins.Harmonica Tablature.Diatonic Bb',
48+
init: init,
49+
run: run
50+
};
51+
52+
mscorePlugin;
53+

harmonica_diatonic_C .js

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
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+
// 60 C C# D D# E F F# G G# A A# B
21+
var holes = ["+1", "-1'", "-1", "", "+2", "-2\"", "-2'", "+3", "-3\"'", "-3\"", "-3'", "-3",
22+
"+4", "-4'", "-4", "", "+5", "-5", "", "+6", "-6'", "-6", "", "-7",
23+
"+7", "", "-8", "+8'", "+8", "-9", "+9'", "+9", "", "-10", "+10\"", "+10'",
24+
"+10"
25+
];
26+
27+
var shift = 60;
28+
29+
//---------------------------------------------------------
30+
// init
31+
//---------------------------------------------------------
32+
33+
function init()
34+
{
35+
}
36+
37+
//-------------------------------------------------------------------
38+
// run
39+
//-------------------------------------------------------------------
40+
41+
function run()
42+
{
43+
applyFingerings(curScore, holes, shift);
44+
}
45+
46+
var mscorePlugin = {
47+
menu: 'Plugins.Harmonica Tablature.Diatonic C',
48+
init: init,
49+
run: run
50+
};
51+
52+
mscorePlugin;
53+

harmonica_diatonic_D.js

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
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+
// 60D Eb E F F# G Ab A Bb B C C#
21+
var holes = ["+1", "-1'", "-1", "", "+2", "-2\"", "-2'", "+3", "-3\"'", "-3\"", "-3'", "-3",
22+
"+4", "-4'", "-4", "", "+5", "-5", "", "+6", "-6'", "-6", "", "-7",
23+
"+7", "", "-8", "+8'", "+8", "-9", "+9'", "+9", "", "-10", "+10\"", "+10'",
24+
"+10"
25+
];
26+
27+
var shift = 62;
28+
29+
//---------------------------------------------------------
30+
// init
31+
//---------------------------------------------------------
32+
33+
function init()
34+
{
35+
}
36+
37+
//-------------------------------------------------------------------
38+
// run
39+
//-------------------------------------------------------------------
40+
41+
function run()
42+
{
43+
applyFingerings(curScore, holes, shift);
44+
}
45+
46+
var mscorePlugin = {
47+
menu: 'Plugins.Harmonica Tablature.Diatonic D',
48+
init: init,
49+
run: run
50+
};
51+
52+
mscorePlugin;
53+

harmonica_diatonic_G.js

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
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+
// 55 G G# A A# B C C# D D# E F F#
21+
var holes = ["+1", "-1'", "-1", "", "+2", "-2\"", "-2'", "+3", "-3\"'", "-3\"", "-3'", "-3",
22+
"+4", "-4'", "-4", "", "+5", "-5", "", "+6", "-6'", "-6", "", "-7",
23+
"+7", "", "-8", "+8'", "+8", "-9", "+9'", "+9", "", "-10", "+10\"", "+10'",
24+
"+10"
25+
];
26+
27+
var shift = 55;
28+
29+
//---------------------------------------------------------
30+
// init
31+
//---------------------------------------------------------
32+
33+
function init()
34+
{
35+
}
36+
37+
//-------------------------------------------------------------------
38+
// run
39+
//-------------------------------------------------------------------
40+
41+
function run()
42+
{
43+
applyFingerings(curScore, holes, shift);
44+
}
45+
46+
var mscorePlugin = {
47+
menu: 'Plugins.Harmonica Tablature.Diatonic G',
48+
init: init,
49+
run: run
50+
};
51+
52+
mscorePlugin;
53+

harmonica_master_hohner_highlander_A.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function applyFingerings(score, fingerings, shift)
3333
cursor.staff = 0;
3434
cursor.voice = 0;
3535
cursor.rewind(); // set cursor to first chord/rest
36-
var font = new QFont("Courier New", 8);
36+
var font = new QFont("Lucida Sans", 8);
3737
while (!cursor.eos()) {
3838
if (cursor.isChord()) {
3939
var pitch = cursor.chord().topNote().pitch;

0 commit comments

Comments
 (0)