chomens-bot-js/util/midi_converter/percussion_map.js

59 lines
2.5 KiB
JavaScript
Raw Normal View History

2022-11-19 07:42:33 -05:00
const instruments = require('./instruments.json');
2022-08-14 05:51:45 -04:00
module.exports = [
...new Array(35).fill(null), // offset
2022-11-19 07:42:33 -05:00
{pitch: 10, instrument: instruments.basedrum},
{pitch: 6, instrument: instruments.basedrum},
{pitch: 6, instrument: instruments.hat},
{pitch: 8, instrument: instruments.snare},
{pitch: 6, instrument: instruments.hat},
{pitch: 4, instrument: instruments.snare},
{pitch: 6, instrument: instruments.basedrum},
{pitch: 22, instrument: instruments.snare},
{pitch: 13, instrument: instruments.basedrum},
{pitch: 22, instrument: instruments.snare},
{pitch: 15, instrument: instruments.basedrum},
{pitch: 18, instrument: instruments.snare},
{pitch: 20, instrument: instruments.basedrum},
{pitch: 23, instrument: instruments.basedrum},
{pitch: 17, instrument: instruments.snare},
{pitch: 23, instrument: instruments.basedrum},
{pitch: 24, instrument: instruments.snare},
{pitch: 8, instrument: instruments.snare},
{pitch: 13, instrument: instruments.snare},
{pitch: 18, instrument: instruments.hat},
{pitch: 18, instrument: instruments.snare},
{pitch: 1, instrument: instruments.hat},
{pitch: 13, instrument: instruments.snare},
{pitch: 2, instrument: instruments.hat},
{pitch: 13, instrument: instruments.snare},
{pitch: 9, instrument: instruments.hat},
{pitch: 2, instrument: instruments.hat},
{pitch: 8, instrument: instruments.hat},
{pitch: 22, instrument: instruments.basedrum},
{pitch: 15, instrument: instruments.basedrum},
{pitch: 13, instrument: instruments.snare},
{pitch: 8, instrument: instruments.snare},
{pitch: 8, instrument: instruments.hat},
{pitch: 3, instrument: instruments.hat},
{pitch: 20, instrument: instruments.hat},
{pitch: 23, instrument: instruments.hat},
{pitch: 24, instrument: instruments.hat},
{pitch: 24, instrument: instruments.hat},
{pitch: 17, instrument: instruments.hat},
{pitch: 11, instrument: instruments.hat},
{pitch: 18, instrument: instruments.hat},
{pitch: 9, instrument: instruments.hat},
{pitch: 5, instrument: instruments.hat},
{pitch: 22, instrument: instruments.hat},
{pitch: 19, instrument: instruments.snare},
{pitch: 17, instrument: instruments.hat},
{pitch: 22, instrument: instruments.hat},
{pitch: 22, instrument: instruments.snare},
{pitch: 24, instrument: instruments.chime},
{pitch: 24, instrument: instruments.chime},
{pitch: 21, instrument: instruments.hat},
{pitch: 14, instrument: instruments.basedrum},
{pitch: 7, instrument: instruments.basedrum},
];