Karya, built on 2023-08-29T07:47:28 (patch 7a412d5d6ba4968ca4155ef276a062ccdeb9109a)
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.