-
... 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); //////////////////// ...
-
SampleDur duration of one sample superclass: InfoUGenBase returns the current sample duration of the server in seconds *ir equivalent to 1 / SampleRate related: minNyquist // examples { SampleDur .ir.poll }.play; { (1/ SampleDur .ir).poll } ...
-
... Maths'>Maths MovingSum : UGen : AbstractFunction : Object Extension The sum of samples over a variable number of frames. Source: MovingSum.sc See also: RunningSum , MovingAverage Description A running sum over a variable number of samples. ...
-
Visual demonstration of aliasing/foldover (modified from James Harkins) by jnarveson (jnarveson) Code
... e excellent example patch by James Harkins. // I added some grid lines for the samples, an adjustable sampling rate, and changed some colors. // Jascha Narveson var screen = Window.screenBounds, height = (screen.height - 120).asInteg ...
-
... (layout,"Click the sample path (nil) to browse for a sample. You can choose new samples even while playing."); layout.startRow; /* the environment from the build function above is available here */ ~sample.gui(layout,500@100); /* but when v ...
-
... ce s.options.numBuffers = 1024 * 256; // increase this if you need to load more samples s.options.memSize = 8192 * 16; // increase this if you get "alloc failed" messages s.options.maxNodes = 1024 * 32; // increase this if you are getting d ...
-
I've used samples from the SSO (https://github.com/peastman/sso). // Orchestral Sound texture v1 ( s.options.numBuffers = 1024 * 32; //increase the memory available to the server s.options.memSize = 8192 * 128; ) //boot the server ...
-
... round the DiskIn ugen and makes it quick and easy to preload and manage lots of samples - much more than you could fit in your RAM. It associates each soundfile with a key (usually a number or a symbol) and can simultaneously play n overlap ...
-
... ModArray Description This UGen takes an audio-rate input and commutes chunks of samples, swapping the odd chunks and the even ones. To avoid bad behaviour, "freq" parameter must always be strictly > 0 and <= double the input samplerate. Hig ...
-
... es are valid except as noted below. //With standard hop of half FFT size = 2048 samples b = Buffer .alloc(s,4096,1); //for sampling rates 44100 and 48000 //b = Buffer.alloc(s,8192,1); //for sampling rates 88200 and 96000 keydecay- [sk] Numb ...