nodescore/scoreB.js

81 lines
1.6 KiB
JavaScript
Executable File

//exports.score = function(){
console.log("============================== this is the score!")
// srcsqr = []
// srcsqr[0] = [22,21,24,25,06,07];
// srcsqr[1] = [20,23,27,26,05,04];
// srcsqr[2] = [03,00,17,16,35,34];
// srcsqr[3] = [01,02,19,18,33,32];
// srcsqr[4] = [31,30,08,09,12,15];
// srcsqr[5] = [28,29,10,11,14,13];
var speed=70
srcsqr = []
srcsqr[0] = [52, 61, 4, 13, 20, 29, 36, 45];
srcsqr[1] = [14, 3, 62, 51, 46, 35, 30, 19];
srcsqr[2] = [53, 60, 5, 12, 21, 28, 37, 44];
srcsqr[3] = [11, 6, 59, 54, 43, 38, 27, 22];
srcsqr[4] = [55, 58, 7, 10, 23, 26, 39, 42];
srcsqr[5] = [9, 8, 57, 56, 41, 40, 25, 24];
srcsqr[6] = [50, 63, 2, 15, 18, 31, 34, 47];
srcsqr[7] = [16, 1, 64, 49, 48, 33, 32, 17];
seqA = {
metrobeat:0,
voice:1,
name: "A",
transect: 0,
nextunit: 0,
counter: 0, mm: 60, beatsinbar: 4,
units: [[48,49,41,40,30,31,38,39],
[0,9,18,27,35,42,49,56],
[56,57,58,59,60,61,62,63]
]
};
seqB = {
metrobeat:0,
voice:2,
name: "B",
transect: 0,
nextunit: 0,
counter: 0,
mm: 60, beatsinbar: 4,
units: [[8,9,10,11,12,13,14,15],
[27,28,35,36,0,7,63,56],
[0,9,18,27,35,42,49,56]
]
};
seqC = {
metrobeat:0,
voice:3,
name: "C",
transect: 0,
nextunit: 0,
counter: 0,
mm: 60, beatsinbar: 4,
units: [
[16,17,18,19,20,21,22,23],
[48,49,41,40,30,31,38,39],
[16,17,18,19,20,21,22,23]
]
};
seqD = {
metrobeat:0,
voice:4,
name: "D",
transect: 0,
nextunit: 0,
counter: 0,
mm: 60, beatsinbar: 4,
units: [[0,1,2,3,4,5,6,7],
[48,49,41,40,30,31,38,39],
[0,1,2,3,4,5,6,7]
]
};