hsc3-0.11: Haskell SuperCollider

Sound.SC3.UGen.DiskIO

Description

Disk file input and output UGens.

Synopsis

Documentation

diskIn :: Int -> UGen -> Loop -> UGenSource

Stream soundfile from disk.

nc
Number of channels in buffer/soundfile.
bufnum
Buffer used for streaming (the file descriptor has to be left open, see the /b_read server command).
loop
Whether to loop playback (0, 1)

vDiskIn :: Int -> UGen -> UGen -> Loop -> UGenSource

Stream soundfile from disk with variable playback rate.

nc
Number of channels in buffer/soundfile.
bufnum
Buffer used for streaming (the file descriptor has to be left open, see the /b_read server command).
rate
Playback rate
loop
Whether to loop playback (0,1)

diskOut :: UGen -> UGen -> UGenSource

Stream soundfile to disk.

bufnum
Buffer used for streaming (the file descriptor has to be left open, see the /b_write server command).
output
Current number of written frames.