-
BufSamples current number of samples allocated in the buffer superclass: BufInfoUGenBase Returns the current number of allocated samples. A sample is not the same as a frame (compare with BufFrames); a frame includes the samples in each cha ...
-
... amped osc-bundle, it starts calculation at the next possible block (normally 64 samples). Using an OffsetOut ugen, one can delay the audio so that it matches sample accurately. For some synthesis methods, one needs subsample accuracy. Subsa ...
-
SampleRate server sample rate superclass: InfoUGenBase returns the current sample rate of the server *ir // example { SampleRate .ir.poll }.play; // compares a 441 Hz sine tone derived from sample rate (44100 * 0.01, left) // with a 440 Hz ...
-
BufSampleRate buffer sample rate superclass: BufInfoUGenBase returns the buffers current sample rate *kr(bufnum) *ir(bufnum) the .ir method is not the safest choice. Since a buffer can be reallocated at any time, using .ir will not track th ...
-
... range -1..1. The size of the FloatArray determines the maximum number of single samples ( not sample frames) that will be read. If there are not enough samples left in the file, the size of the array after the readData call will be less tha ...
-
Using samples Playing a pattern in time with a sampled loop A deceptively complex requirement... here, we will loop the a11wlk01.wav sample between 0.404561 and 3.185917 seconds (chosen for its surprisingly accurate four-beat groove), and o ...
-
... ningSum running sum over n frames A running sum over a user specified number of samples, useful for running RMS power windowing. *ar(in, numsamp) in Input signal numsamp How many samples to take the running sum over (initialisation time onl ...
-
Delay2 two sample delay Delays the input by 2 samples. Delay2.ar(in, mul, add) in - input to be delayed. ( plot({ var z; z = Dust .ar(1000); [z, z - Delay2 .ar(z)] // [ original, subtract delayed from original ] }))
-
... iven amplitudes and phases. The Signal will be normalized. size - the number of samples in the Signal. amplitudes - an Array of amplitudes for each harmonic beginning with the fundamental. phases - an Array of phases in radians for each har ...
-
... ns to which an .ar message is sent run at the audio rate, by default, at 44,100 samples per second. Send the .ar message to unit generators when they're part of the audio chain that will be heard. SinOsc .ar(440, 0, 1); //////////////////// ...