Karya, built on 2022-03-21T01:30:44 (patch 89d1651424c35e564138d93424a157ff87457245)
Safe HaskellSafe-Inferred

Perform.Sc.Note

Synopsis

Documentation

data Note Source #

Constructors

Note 

Fields

newtype ControlId Source #

Constructors

ControlId Int.Int32 

Instances

Instances details
Show ControlId Source # 
Instance details

Defined in Perform.Sc.Note

Eq ControlId Source # 
Instance details

Defined in Perform.Sc.Note

Ord ControlId Source # 
Instance details

Defined in Perform.Sc.Note

Pretty.Pretty ControlId Source # 
Instance details

Defined in Perform.Sc.Note

data PlayNotes Source #

Store notes with shift (backwards in time) and stretch.

For MIDI, I apply the transformation directly to the msgs because they are already in their low level form so the transform will stream. But SC Notes are at a higher level and converted to low level OSC only in Sc.Play... not for any really good reason, but I guess it seemed simpler to not expose the "perform" step, and keep it inside Sc.Play.

Constructors

PlayNotes 

Instances

Instances details
Show PlayNotes Source # 
Instance details

Defined in Perform.Sc.Note

gate_id :: ControlId Source #

Gate is converted from note duration, so it gets treated specially. I also require them all to be the same ControlId, so I can stop all sounding notes by setting the gate control on the default group.