Safe Haskell | Safe-Inferred |
---|
Synopsis
- data State = State {}
- play :: State -> Note.PlayNotes -> Maybe RealTime -> IO ()
- force_stop :: IO ()
- osc_thru :: [OSC.OSC] -> IO ()
- note_on :: Patch.Patch -> Triggered -> NoteId -> Pitch.NoteNumber -> Double -> [OSC.OSC]
- note_off :: Triggered -> NoteId -> [OSC.OSC]
- set_control :: Patch.Patch -> NoteId -> ScoreT.Control -> Double -> [OSC.OSC]
- pitch_change :: Patch.Patch -> NoteId -> Pitch.NoteNumber -> [OSC.OSC]
- version :: IO (Either Text Text)
- add_default_group :: IO ()
- initialize_patch :: Patch.Patch -> IO ()
- sync :: IO ()
Documentation
State | |
|
:: State | |
-> Note.PlayNotes | |
-> Maybe RealTime | If given, loop back to the beginning when this time is reached. |
-> IO () |
Start a thread to stream a list of WriteMessages.
stop
force_stop :: IO () Source #
thru
note_on :: Patch.Patch -> Triggered -> NoteId -> Pitch.NoteNumber -> Double -> [OSC.OSC] Source #
set_control :: Patch.Patch -> NoteId -> ScoreT.Control -> Double -> [OSC.OSC] Source #
pitch_change :: Patch.Patch -> NoteId -> Pitch.NoteNumber -> [OSC.OSC] Source #
initialize
version :: IO (Either Text Text) Source #
Left error if a valid server wasn't detected, Right msg if it was.
add_default_group :: IO () Source #
The sclang IDE does this, but I have to do it myself for a standalone scserver.
initialize_patch :: Patch.Patch -> IO () Source #