-
... et audio hardware specifics first, e.g.Ö s.options.device = "SSL 12"; s.options.sampleRate = 48000; s.options.numOutputBusChannels = 8; s.options.numInputBusChannels = 4; // set number of audio input and output channels, // for sound proces ...
-
... esidual test assumes windowtype 0) ( { var input,source; var delaytime= 1024.0/ SampleRate .ir; input= SoundIn .ar; source= Impulse .ar(delaytime.reciprocal); ( DelayN .ar(input,delaytime, delaytime)- LPCAnalyzer .ar(input,source,1024, Mous ...
-
This is a player that I use for live work. It takes piano samples (or anything else I guess) and plays them in a rhythmic way that is also based on chord pitches. You'll see the GUI has (for me) chord names to remind me of what harmonic are ...
-
... ue| var val, peak; #val, peak = value; val = (val.max(0.0) * (updateFreq/server.sampleRate)).sqrt; meterLevels[ output ][ index ] = [val, peak].ampdb; this.changed( \meterLevel, output, index, meterLevels[ output ][ index ] ); // enable eas ...
-
... or: { numChannels != this.at(key).numChannels }) { this.alloc(key, dur * server.sampleRate, numChannels) }; ^RecordBuf.ar(in, this.at(key), offset, run, recLevel, preLevel, loop, trigger, doneAction) } playBuf { arg key, rate = 1, trigger = ...
-
... o the server saveForSC {arg path; var sndfile; sndfile = SoundFile.new; sndfile.sampleRate_(44100); sndfile.sampleFormat("float32"); filepath = path ?? {PathName.tmp ++ sndfile.hash.asString}; sndfile.openWrite(filepath); sndfile.writeData( ...
-
... 20; ~traindur = 10000; // First create the data ~dataspace = Buffer.alloc(s, s.sampleRate); // Let's have 1 second of data ~dataspace.sine1([1], true, false); ~dataspace.plot; // Allocate space for the SOM, and initialise it ~som = SOMTrai ...
-
... ownsamp=2| var down; in = in.round(0.5 ** bits); down = Latch.ar(in, Impulse.ar(SampleRate.ir / downsamp.max(2))); // below 1/2 downsamp, do xfade: blend(in, down, (downsamp - 1).clip(0, 1)); }, \ampFin, \filter -> { |in, limDrive=1, ampLim ...
-
... nthDataDir +/+ "samples_gamKUG/" } *startUp { |doneFunc| this.makeSynthDefs; "VGSampler initialises, may take 20 seconds...".postln; VGSamp.clear; VGSamp.makeSynthDefs; VGSamp.prepPaths; (dir.dirname +/+ "SampleFixFunc.scd").load; VGSamp.re ...
-
... .control(s); ~c2=Bus.control(s); ~c3=Bus.control(s); ~buff=Buffer.alloc(s, s.sampleRate * 30.0, 2); //Define Synths and effects ( SynthDef(\rec,{arg r=0; var sig; sig=In.ar(~b3); RecordBuf.ar([sig,sig],~buff.bufnum,run:r,loop:0); } ...