hsc3-0.15: Haskell SuperCollider

Safe HaskellNone
LanguageHaskell98

Sound.SC3.Server.Command.Completion

Contents

Description

This module provides variations of the asynchronous server commands that expect a completion packet as the first argument. The completion packet is executed by the server when the asynchronous command has finished. Note that this mechanism is for synchronizing server side processes only, for client side synchronization use /done message notification or the /sync barrier.

Synopsis

Synthdef handling

d_recv' :: OSC o => o -> Synthdef -> Message Source

Install a bytecode instrument definition. (Asynchronous)

d_load' :: OSC o => o -> String -> Message Source

Load an instrument definition from a named file. (Asynchronous)

d_loadDir' :: OSC o => o -> String -> Message Source

Load a directory of instrument definitions files. (Asynchronous)

Buffer allocation

b_alloc' :: OSC o => o -> Int -> Int -> Int -> Message Source

Allocates zero filled buffer to number of channels and samples. (Asynchronous)

b_allocRead' :: OSC o => o -> Int -> String -> Int -> Int -> Message Source

Allocate buffer space and read a sound file. (Asynchronous)

b_allocReadChannel' :: OSC o => o -> Int -> String -> Int -> Int -> [Int] -> Message Source

Allocate buffer space and read a sound file, picking specific channels. (Asynchronous)

b_free' :: OSC o => o -> Int -> Message Source

Free buffer data. (Asynchronous)

b_close' :: OSC o => o -> Int -> Message Source

Close attached soundfile and write header information. (Asynchronous)

Buffer reading

b_read' :: OSC o => o -> Int -> String -> Int -> Int -> Int -> Bool -> Message Source

Read sound file data into an existing buffer. (Asynchronous)

b_readChannel' :: OSC o => o -> Int -> String -> Int -> Int -> Int -> Bool -> [Int] -> Message Source

Read sound file data into an existing buffer. (Asynchronous)

Buffer writing

b_write' :: OSC o => o -> Int -> String -> SoundFileFormat -> SampleFormat -> Int -> Int -> Bool -> Message Source

Write sound file data. (Asynchronous)

Buffer operations

b_zero' :: OSC o => o -> Int -> Message Source

Zero sample data. (Asynchronous)