-
A function to get the n loudest partials, or all partials louder than a threshold, for a formant filter using Klank and Vowel // a function to get the n loudest partials for a formant filter using Klank and Vowel // needs the Vowel quark ...
-
Example of BoidRoids in use // quick example to show use of BoidRoids class ( var numboids, boids, run, w, m, boidcolour, maxvel; numboids = 100; run=true; boids=BoidRoids(numboids); boids.separation(0.5); boids.alignment(0.3); ...
-
Save this as an extension and recompile class library. You can now use `Psloth([0,1,0], 10)`, for example, instead of declaring a new routine for each pattern. I didn't persist the use cases, as this should be saved as a `.sc` file. Plea ...
-
// ================================= // A4 - musc-115-granular // GRANULAR SAMPLING // ================================= /* The code below is exactly what we built in class. You will need a MONO sample. */ // make sure to boo ...
-
... or output //using .enOut, then that action will not be performed. This is also useful //for dynamic event switching where we might want to use an event stream only at //some times q.startSynths = { |i, freqs, sources| IO{ q.synth ...
-
Simple mouse theremin for Designing Digital Music and Interaction //PLACE MOUSE CURSOR ON EACH OF THE NUMBERS IN ORDER AND HIT CMD-RETURN ( // 1): // Initialize var currMidiNum, noteNames, octaves, screenRes, yres; ~pitchLo = \a0; ~ ...
-
/* I often like to write out a library as an environment, like: ~start_sound = { |freq, amp| <...> }; ~start_high_pitch_sound = { |amp| ~start_sound.(14000, amp) }; … and then use loadRelative to load that library. This, however ...
-
A short, silly example of using if in a SynthDef. Using Select is generally a better thing to do. ( { var noise, out; noise = LFNoise0.kr(8); out = if( noise > 0.0, if(noise > 0.5, if(noise > 0.9, WhiteNoise.ar(0.2), Pulse.ar(60 ...
-
simple example showing how to send a sysex messages // running this line will show all your MIDI ins and outs on the console // find the number of the output interface you want to use MIDIClient.init; // select the midi out you would l ...
-
a simple synthdef using warp1 ugen. please use extremely large buffers with it (one hour length, or something) {Warp1.ar(2, b, [LFDNoise0.kr(MouseX.kr(0.25, 250), 1), LFDNoise3.kr(MouseY.kr(0.25, 250), 1)], [LFDNoise1.kr(MouseX.kr(0.25, ...