-
BufferProxy { // blank space for delays, loopers etc. var <>buffer, <patchOut, <readyForPlay = false, <server; var <>size=0, <>numChannels=1, <>sampleRate=44100.0; // while building the synth def... var <>forArgi, bufnumControl; *new { arg ...
-
BufDelayC buffer based simple delay line with cubic interpolation BufDelayC.ar(buf, in, delaytime, mul, add) BufDelayC.kr(buf, in, delaytime, mul, add) Simple delay line with cubic interpolation which uses a buffer for its internal memory. ...
-
( Alga.boot({ //Simple Buffer player AlgaSynthDef(\playBuf, { PlayBuf.ar(2, \buf.ir(0), BufRateScale.kr(\buf.ir), doneAction:2) }, sampleAccurate: true).add; //Read a kick and a snare b = Buffer.read(s, File.realpath(Alga.class.filenameSymb ...
-
TwoTube: Filter: Description Class methods ar Inherited class methods Instance methods Inherited instance methods Examples Classes (extension) | UGens > PhysicalModels'>PhysicalModels TwoTube : UGen : AbstractFunction : Object Extension phy ...
-
( //Boot Alga Alga.boot({ //Declare a simple AlgaSynthDef. //Note that for it to be used in an AlgaPattern it must free itself. //Also, note the 'sampleAccurate' argument. This allows the AlgaSynthDef to use OffsetOut instead of Out //for s ...
-
... BufRateScale.kr(d), 1, 0, 1); var chain = FFT(LocalBuf(1024).clear, in); // for sampling rates 44100 and 48000 // var chain = FFT(LocalBuf(2048).clear, in); // for sampling rates 88200 and 96000 var loudness = Loudness.kr(chain).poll(50); P ...
-
I originally wrote this to demonstrate what sampled audio really represents -- that is, if a series of samples represents the one and only band-limited function that passes through the sampled values, we could obtain the band-limited functi ...
-
TR-909 drum machine I made with a 32 step sequencer, I could not get the hi-hats, ride, etc perfectly so I opted to sample them (sorry). ~ohh = Buffer.read(~s1, '/samples/OpenHat/OpenHat-accent050-decay100.wav'); ~ohh2 = Buffer.read(~s1, ' ...
-
Sometime you want to play a certain part of a sound file, but you must provide the Synthdef with the starting and ending buffer frame number. It's nice to be able to select it graphically. <Space> play the selected part (or till the end if ...
-
How Unit Generator plug-ins work. The server loads unit generator plug-ins when it starts up. Unit Generator plug-ins are dynamically loaded libraries (DLLs) written in C++. Each library may contain one or multiple unit generator definition ...