-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.js
60 lines (53 loc) · 1.41 KB
/
index.js
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
"use strict";
var Base = require('./lib/base.js');
var Render = require('./lib/render.js');
var Store = require('./lib/store.js');
var Interval = require('./lib/interval');
var Pitch = require('./lib/pitch');
var Duration = require('./lib/duration');
var Harmony = require('./lib/harmony');
var Chord = require('./lib/chord');
var ChordSequence = require('./lib/chord-sequence');
var Note = require('./lib/note');
var Voice = require('./lib/voice');
var VerticalContainer = require('./lib/vertical-container');
var Song = require('./lib/song');
var knowledge = require('./lib/knowledge');
Store.typeMap = {
Interval: Interval,
Pitch: Pitch,
Duration: Duration,
Note: Note,
Harmony: Harmony,
Chord: Chord,
ChordSequence: ChordSequence,
Voice: Voice,
VerticalContainer: VerticalContainer,
Song: Song
};
var remus = {
realizeTime: Base.realizeTime,
render: Render.render,
Store: Store,
Interval: Interval,
Pitch: Pitch,
Duration: Duration,
Note: Note,
Harmony: Harmony,
Chord: Chord,
ChordSequence: ChordSequence,
Voice: Voice,
VerticalContainer: VerticalContainer,
Song: Song,
interval: Interval.coerce,
pitch: Pitch.coerce,
duration: Duration.coerce,
note: Note.coerce,
harmony: Harmony.coerce,
chord: Chord.coerce,
chordSequence: ChordSequence.coerce,
voice: Voice.coerce,
verticalContainer: VerticalContainer.coerce,
song: Song.coerce
};
exports = module.exports = remus;