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

Safe HaskellNone



Calls to deal with an entire ensemble, or miscellaneous instruments.



restrict :: Scale.Range -> Call.UpDown -> Pitch.Pitch -> Pitch.Pitch Source #

Transpose the pitch by octaves until it fits in the range. Assumes the range is at least one octave, and less than two.

dyn_from_duration :: Signal.Y -> [RealTime] -> [Signal.Y] Source #

Decrease dyn as note duration decreases. Over a threshold, dyn is 1. Under that it approaches low_dyn as the dur approaches 0.

durations :: Num a => [a] -> [a] Source #