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

Safe HaskellNone

Derive.Call.Prelude.Val

Contents

Synopsis

Documentation

parse_pitch_name :: Text -> Maybe Pitch.NoteNumber Source #

c-1 is 0, g9 is 127. The octave is optional, and defaults to 1.

lookup

generate signals

implementation

num_or_pitch :: ScoreTime.ScoreTime -> Int -> NonEmpty BaseTypes.Val -> Deriver (Either [Signal.Y] [BaseTypes.Pitch]) Source #

Insist that the vals be either all numbers or pitches.

TODO If Sig.Parser supported Alternative, maybe I could build this as a parser and get both shorter code and documentation.

util