-
// K2A Instr([\klankperc,\k2a],{ arg trig=0.0,sfreqScale=1.0,sfreqOffset=0.0,stimeScale=1.0,foldAt=0.1; Klank.ar( `[ FloatArray[ 87.041, 198.607 ], nil, FloatArray[ 0.165394, 0.15595 ] ], K2A.ar(trig), sfreqScale,sfreqOffset,stimeScale ).sq ...
-
/* \klank A bank of resonator filters. range: the minimum and maximum frequency exponential: distribution of frequencies: 0: linear, 1: exponential variation: amount of random variation. 0: no variation, 0.5: linear distribution, 1: full ra ...
-
/* \klank A bank of resonator filters. range: the minimum and maximum frequency exponential: distribution of frequencies: 0: linear, 1: exponential variation: amount of random variation. 0: no variation, 0.5: linear distribution, 1: full ra ...
-
... h def that has 4 partials ( SynthDef ( \help_Control , { arg out=0, i_freq; var klank, harm, amp, ring; // harmonics harm = Control .names([ \harm ]).ir( Array .series(4, 1, 1).postln); // amplitudes amp = Control .names([ \amp ]).ir( Array ...
-
... , 0.01, 1.0, 0, 2]; lFreqs = freqs; rFreqs = lFreqs + freqsDetune; // r channel klank gets freqOffsetd. Klank.ar( // extended to two channels: [ `[ lFreqs , amps, ringTimes] , // left: original resonator `[ rFreqs, amps, ringTimes ] ], // r ...
-
... // levelScale: amp, // doneAction: 2 // ); // OffsetOut.ar(0, // Pan2.ar( // DynKlank.ar(`data, // input: trig, // freqscale: MouseX.kr(0.5, 2, 1), // freqoffset: MouseY.kr(1000, 10, 1), // decayscale: MouseButton.kr(1, 1.5)) * env, // pan) ...
-
I accidentally set the freqscale of a Klank to 0. What resulted was a surprisingly varied and dynamic bit of glitch. The joy of typos in SC :) { Pan2.ar(Klank.ar(`[[1, 2.2, 3.5, 4.9], nil, Array.series(4, 1, -0.2)], PinkNoise.ar(EnvGen.ar(E ...
-
... synth def that has 4 partials ( SynthDef(\help_Control, { |out = 0, i_freq| var klank, harm, amp, ring; // harmonics harm = Control.names([\harm]).ir(Array.series(4, 1, 1).postln); // amplitudes amp = Control.names([\amp]).ir(Array.fill(4, ...
-
... of iterating randomly filtered pink noise with envelope controls. // example 1: Klank with 16 Ringzes: ( fork{ SynthDef(\aKlank16, { arg atk, rls, frqs = #[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], amps = #[0,0,0,0,0,0,0,0,0,0,0,0,0,0, ...
-
Modal synthesis of xilophone, marimba, glokenspiel, tubular bells by nicolaariutti (nicolaariutti) Code
Example of modal synthesis made with a **Klank** UGEN as _resonator_ and white noise impulse as an _exciter_. All resonators of the Klank UGEN are properly tuned to resamble modal frequencies of a real bell I've recoded and analysed. ...