Tuesday, May 15, 2007

Busses & Routing

Bus : The client side representation of an audio or control bus on a server.Manages allocation and deallocation of bus indices.The number of control busses, audio busses and input and output buses is fixed and cannot be changed after the server has been booted.The server application has 128 buses by default, which can be thought as mixer channels or tracks within which independent audio can be running

Class Methods :

Bus.control(server,numChannels); // Allocates a contol bus on the server.
Defaults : default server, 1 channel.

Bus.audio(server,numChannels); // Allocates an audio bus on the server.
Defaults: default server, 1 channel

Bus.alloc(rate,server,numChannels); // Allocates a bus of either rate as specified by the symbols: \control or \audio

Bus.new(rate,index,numChannels); // does not allocate a bus index, it assumes that you
already have allocated the appropriate bus index and can supply it yourself.

Tuesday, May 8, 2007

Buffers

Buffers : Sample, automation, location - a way of storing data, address or a value

Buffering represents the creation of temporary memory space for the purposes of storing information such as data arrays, envelopes, windows and samples - whether for recording or playback.

BufRd: reads the content of a buffer at an index.. BufRd(numchannels,bufnum,phase,loop,interpolation)

BufWr : write to a buffer at an index.. BufWr(input,bufnum,phase,loop)

PlayBuf : plays back a sample resident in memory.. PlayBuf.ar(numChannels,bufnum,rate,trigger,startpos,loop)

RecordBuf : record or overdub input into a buffer.. RecordBuf.ar(inputArray,byfnum,offset,reclevel,preLevel,run,loop,trigger)

DiskIn : Stream in audio from a file.This needs a buffer to be preloaded with one buffer size of sound.
DiskIn.ar(numChannels,bufnum)

DiskOut : Records to a sound file to disk using a buffer. DiskOut.ar(bufnum,channelsArray)
bufnum - the number of the buffer to write to(buffer.write or/b-write)

Other Ugens that leverage UGens

Index : Index into a table with a signal ... Index.ar(bufnum,in,mul,add)

Osc : nterpolating wavetable oscillator ... Osc.ar(table,freq,phase,mul,add)

FFT: Fast Fourier Transform : It uses a local buffer for holding the buffered audio

Shaper : Performs waveshaping on the input signal by indexing into the table.. Shaper.ar(bufnum,In,mul,add)
bufnum is the number of buffer filled in wavetable format containing the tyransfer function and In is the input signal..

Sunday, May 6, 2007

~

Thursday, May 3, 2007

A whole new world

I have decided to start writing my notes and developments with supercollider.. I will be posting things i am learning and exploring in supecollider..