hsc3-0.5: Haskell SuperCollider

Sound.SC3.Server.Play

Description

Basic user interaction with the scsynth server.

Synopsis

Documentation

play :: Transport t => t -> UGen -> IO OSCSource

Construct an instrument definition, send d_recv and s_new | messages to scsynth.

stop :: Transport t => t -> IO ()Source

Free all nodes at the group with node id 1.

reset :: Transport t => t -> IO ()Source

Free all nodes and re-create group node with id 1.

send :: Transport t => t -> OSC -> IO ()

Encode and send an OSC packet.

async :: Transport t => t -> OSC -> IO OSCSource

Send an osc message and wait for a reply.

withSC3 :: (UDP -> IO a) -> IO aSource

Bracket SC3 communication.

audition :: UGen -> IO ()Source

withSC3 . play