Safe Haskell | Safe-Inferred |
---|
This "scale" generates pitches which are ratios of the pitches in
another pitch signal, #ratio-source
. The intent is to tune one instrument
relative another.
It's not a usual scale because there is no notion of scale degrees or
transposition or anything like that. The degrees are ratios, e.g. 3/2
or
-9/8
. A positive ratio will multiply with the source pitch, a negative
one will divide. The source pitch is only sampled at the beginning of the
relative pitch, so if the source is moving the relative one won't move with
it.
Synopsis
- scales :: [Scale.Definition]
- scale :: Scale
- note_to_call :: Pitch.Note -> Maybe ValCall
- note_call :: Pitch.Note -> (Double -> Double) -> ValCall
- p_note :: ParseText.Parser (Double -> Double)
Documentation
scales :: [Scale.Definition] Source #
note_to_call :: Pitch.Note -> Maybe ValCall Source #