Karya, built on Mon Jul 24 11:39:07 PDT 2017 (patch 33511aca01257b76b88de7c7a2763b7a965c084e)

Safe HaskellNone



Calls to do with intonation and tuning.



add_nn_transpose :: Signal.Control -> Score.Event -> Score.Event Source #

Transpose an event by adding to its nn transpose control.

pitch_scale :: RealTime.RealTime -> Pitch.NoteNumber -> Pitch.NoteNumber Source #

Scale the nn distance from 0 to 1 based on the pitch and time distance to the last pitch sample of the previous note.

An octave is the most inaccurate. Unison is totally accurate. 0 time is the most inaccurate, while 1 second is still a little bit inaccurate.