76 lines
1.6 KiB
JavaScript
Executable File
76 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];
|
|
|
|
|
|
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",
|
|
counter: 0, mm: 60, beatsinbar: 4,
|
|
durations: srcsqr[0],
|
|
units: [[56,57,58,59,60,61,62,63],
|
|
[24,25,26,27,28,29,30,31],
|
|
[8,9,10,11,12,13,14,15]
|
|
]
|
|
};
|
|
|
|
seqB = {
|
|
metrobeat:0,
|
|
voice:2,
|
|
name: "B",
|
|
counter: 0,
|
|
mm: 60, beatsinbar: 4,
|
|
durations: srcsqr[1],
|
|
units: [[8,9,10,11,12,13,14,15],
|
|
[24,25,26,27,28,29,30,31],
|
|
[16,17,18,19,20,21,22,23]
|
|
]
|
|
};
|
|
|
|
seqC = {
|
|
metrobeat:0,
|
|
voice:3,
|
|
name: "C",
|
|
counter: 0,
|
|
mm: 60, beatsinbar: 4,
|
|
durations: srcsqr[5],
|
|
units: [[16,17,18,19,20,21,22,23],
|
|
[8,9,10,11,12,13,14,15],
|
|
[24,25,26,27,28,29,30,31]
|
|
]
|
|
};
|
|
|
|
seqD = {
|
|
metrobeat:0,
|
|
voice:4,
|
|
name: "D",
|
|
counter: 0,
|
|
mm: 60, beatsinbar: 4,
|
|
durations: srcsqr[7],
|
|
units: [[0,1,2,3,4,5,6,7],
|
|
[24,25,26,27,28,29,30,31],
|
|
[16,17,18,19,20,21,22,23]
|
|
]
|
|
};
|
|
|
|
//return seqA seqB seqC seqD
|
|
|
|
//}
|