forked from paulrosen/abcjs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmidi.js
More file actions
26 lines (18 loc) · 695 Bytes
/
midi.js
File metadata and controls
26 lines (18 loc) · 695 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
const animation = require('./src/api/abc_animation');
const tunebook = require('./src/api/abc_tunebook');
let abcjs = {};
abcjs.signature = "abcjs-midi v3.3.1";
Object.keys(animation).forEach(function (key) {
abcjs[key] = animation[key];
});
Object.keys(tunebook).forEach(function (key) {
abcjs[key] = tunebook[key];
});
abcjs.renderAbc = require('./src/api/abc_tunebook_svg');
abcjs.renderMidi = require('./src/api/abc_tunebook_midi');
const editor = require('./src/edit/abc_editor');
abcjs['Editor'] = editor;
require("./src/midi/abc_midi_ui_generator");
const midi = require('./src/midi/abc_midi_controls');
abcjs.midi = { setSoundFont: midi.setSoundFont };
module.exports = abcjs;