-
Notifications
You must be signed in to change notification settings - Fork 10
/
TODO
57 lines (37 loc) · 2.11 KB
/
TODO
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
--------------------------------------------------------------------------------
- Todo -
--------------------------------------------------------------------------------
Use fluid selectors rather than costantly calling to .find()
http://wiki.fluidproject.org/display/fluid/DOM+Binder
--------------------------------------------------------------------------------
Global dom events (hitting shift / alt) should prevent defualt if the application
it is interacting with is highlighted...
--------------------------------------------------------------------------------
Remove erroneous events... this could possibly be done with super / sub appliers
everything should share the same model / applier
componetned listen to changes in the model that they are interested in
(fluid.demands can be used)
--------------------------------------------------------------------------------
break out functions from grid / piano to be free functions that can be used by both
--------------------------------------------------------------------------------
break stuff out of bindEvents into their own function (free?)
--------------------------------------------------------------------------------
Afour: should be calculated based on a algorithm rather than supplied
With a 12 note octave, A4 is 69
If the count Starts at C... an A is the 10th note
Octave -1: 1 - 11
Octave 0: 12 - 23
Octave 1: 24 - 35
Octave 2: 36 - 47
octave 3: 48 - 59
Octave 4: 60 - 71 <--- This is the fourth octave on the piano
(Reference Note)
A4 | Notes Per Octave | Octave Number | Frequency | Step in scale of Baseline
| | | |
69 | 12 | 4 | 440 | 10
Algorithm for Equal Tempered Tuning:
((Note - A4) / OctaveNotes)^2 * A4freq
--------------------------------------------------------------------------------
add both midi and osc support... preferably done client side...
but might have to be done with node
--------------------------------------------------------------------------------