-
Damped Driven Double Pendulum Sonification and Visualization by xavieredavenport (xavieredavenport) Code
... the expected chaotic behavior for a range of easier-to-calculate parameters. Pitch is determined by the distance of the second pendulum bob from the center of the screen, while amplitude is determined by the velocity of the bob. ( /// ...
-
... 1, pan = 0, breakdown = 0; //var snd, in, n = 6, max = 0.04, min = 0.01, delay, pitch, detune, hammer; var hammer, snd, detune, delay; freq = freq.cpsmidi; hammer = Decay2.ar(Impulse.ar(0.001), (breakdown + 1) * 0.008, (breakdown + 1) * 0.0 ...
-
... Volt: [3.4, 3.9] ), collectives: ( imu: ( oscPath: '/imu', elements: [ [\gyro, \pitch], [\gyro, \roll], [\gyro, \yaw], [\accel, \x], [\accel, \y], [\accel, \z], [\magnet, \pitch], [\magnet, \roll], [\magnet, \yaw], [\temp] ], ioType: \in ), ...
-
... nd }!10, curve, releaseNode: 9, loopNode: loopnode), timeScale: timescale); var pitch = (env * [1, 0.33, -1] * intv).midiratio * freq; Splay.ar(Formant.ar(pitch, pitch.scramble * 2, pitch.scramble)) * 0.1; }; ) ~test.lag(\freq, 4); // playi ...
-
... rough random parameters. ( s.waitForBoot({ SynthDef(\farEnough, { arg pitch, freq=70, addFreq=17, attack=1, release = 12; var sig, sig1, saws, env, shapeEnv, local, local2; sig = Mix.new( Array.fill(8, {SinOsc.ar ...
-
... t= A2K.kr(PV_JensenAndersen.ar(chain)); delta= Timer.kr(event); #freq, hasFreq= Pitch.kr(input); freq= freq*hasFreq; amp= Amplitude.kr(input); timbre= SpecFlatness.kr(chain); centroid= SpecPcile.kr(chain, 0.5); Out.kr(out, [event, delta, fr ...
-
... t= A2K.kr(PV_JensenAndersen.ar(chain)); delta= Timer.kr(event); #freq, hasFreq= Pitch.kr(input); freq= freq*hasFreq; amp= Amplitude.kr(input); timbre= SpecFlatness.kr(chain); centroid= SpecPcile.kr(chain, 0.5); Out.kr(out, [event, delta, fr ...
-
... beat 4.5 /************** Listing 18. A retro acid-house bassline, demonstrating pitch notation. **************/ // Initialization code ( SynthDef(\sqrbass, { |out, freq = 110, gate = 1, freqMul = 1.006, amp = 0.1, filtMul = 3, filtDecay = 0 ...
-
... speed, etc. (e.g. 2.0 ->-> twice as fast) */ \Hertz -> 8, /* absolute frequency/pitch in cycles/second */ \Cents -> 9, /* unit of relative pitch */ \RelativeSemiTones -> 10, /* useful for coarse detuning */ \MIDINoteNumber -> 11, /* absolut ...
-
... ank_out; var noise, noise_out; var additional_tinkles; var initial_impact_pitch_envGen, initial_impact_amp_envGen, initial_impact; var comb_out, output; var last_time; major_hit_times = [0.02, 0.1, 0.21, 0.28, 0.32, 0.48, ...