Skip to content

Commit 2844a33

Browse files
committed
add diatonic C
1 parent dad0947 commit 2844a33

File tree

1 file changed

+53
-0
lines changed

1 file changed

+53
-0
lines changed

harmonica_leeoskar_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", "", "+2", "-2\"", "", "+3", "", "-3\"", "", "-3",
22+
"+4", "", "-4", "", "+5", "-5", "", "+6", "", "-6", "", "-7",
23+
"+7", "", "-8", "", "+8", "-9", "", "+9", "", "-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.Lee Oskar, Diatonic C',
48+
init: init,
49+
run: run
50+
};
51+
52+
mscorePlugin;
53+

0 commit comments

Comments
 (0)