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