-
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 ...
-
SubsampleOffset offset from synth start within one sample Inherits from: Object : AbstractFunction : UGen : InfoUGenBase SubsampleOffset.ir When a synth is created from a time stamped osc-bundle, it starts calculation at the next possible b ...
-
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 ...
-
... s a Boolean whether the read was successful. sets the numFrames,numChannels and sampleRate. does not set the headerFormat and sampleFormat. inPathname - a String specifying the path name of the file to read. readData(rawArray) Reads the sam ...
-
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 ] }))
-
Signal sampled audio buffer Inherits from: Object : Collection : SequenceableCollection : ArrayedCollection : RawArray : FloatArray A Signal is a FloatArray that represents a sampled function of time buffer. Signals support math operations. ...
-
... 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); //////////////////// ...