Permalink
Fetching contributors…
Cannot retrieve contributors at this time
58 lines (37 sloc) 2.11 KB
--------------------------------------------------------------------------------
- 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
--------------------------------------------------------------------------------