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

Perform.Sc.Play

Synopsis

Documentation

data State Source #

Constructors

State 

Fields

play Source #

Arguments

:: 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

thru

note_on :: Patch.Patch -> Triggered -> NoteId -> Pitch.NoteNumber -> Double -> [OSC.OSC] Source #

note_off :: Triggered -> NoteId -> [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.

sync :: IO () Source #

Wait for patches to load.