Safe Haskell | Safe-Inferred |
---|
Basic types for Perform.Midi.Perform.
Synopsis
- data Patch = Patch {}
- patch :: ScoreT.Instrument -> Patch.Config -> Patch.Patch -> Patch
- patch_from_settings :: ScoreT.Instrument -> Patch.Settings -> Patch.Patch -> Patch
- default_decay :: RealTime
- data Event = Event {}
- show_short :: Event -> Text
- event_end :: Event -> RealTime
- event_instrument :: Event -> ScoreT.Instrument
Documentation
The Patch is derived from a Patch.Patch
and contains all the data
necessary to render a Event
to a midi message. Each
Event has an attached Patch.
Patch | |
|
patch :: ScoreT.Instrument -> Patch.Config -> Patch.Patch -> Patch Source #
default_decay :: RealTime Source #
Somewhat conservative default decay which should suit most instruments.
decay
will probably only rarely be explicitly set.
event
show_short :: Event -> Text Source #
Pretty print the event more briefly than the Pretty instance.