-
... control ( SynthDef(\blippy, { var sound = Blip.ar( \freq.kr(440).lag(0.1), \numHarmonics.kr(100), \amp.kr(1.0).lag(0.1) ) * 0.5; sound = RLPF.ar(sound, 5000); Out.ar(0, Pan2.ar(sound, \pan.kr(0).lag(0.1) ) ) }).add ) //start it x = Synth(\ ...
-
... envb, envc, snda, sndb, sndc, snd; //Arrays for the bank of resonators, mostly harmonics near 5ths and 9ths, and random amplitudes: resFreqArray = [2, 2.98, 4.75, 6.21, 9, 9.15, 11.87]; resAmpArray = [0.5, 0.38, 0.21, 0.15, 0.17, 0.13, 0.0 ...
-
Chucklib overview Chucklib is a framework designed for realtime algorithmic sequencing. It takes its name from the ChucK programming language created by Perry Cook and Ge Wang at Princeton, whose chuck operator I have brazenly stolen (thoug ...
-
Chucklib overview Chucklib is a framework designed for realtime algorithmic sequencing. It takes its name from the ChucK programming language created by Perry Cook and Ge Wang at Princeton, whose chuck operator I have brazenly stolen (thoug ...
-
SatieLebedev50 { classvar <harmonics; classvar <gridRadians, <gridDegrees; *initClass { // make sure these classes are initialized Class.initClassTree(HOASphericalHarmonics); Class.initClassTree(HOAEncLebedev50); harmonics = IdentityDiction ...
-
TuningRatios : EqualTemperament TuningRatios allows you to specify a ratio above the base for each note in an octave. Useful for simplified just intonation schemes. *new(stepsPerOctave, calibratefreq, calibratenote, tunings) stepsPerOctave: ...
-
TuningRatios : EqualTemperament TuningRatios allows you to specify a ratio above the base for each note in an octave. Useful for simplified just intonation schemes. *new(stepsPerOctave, calibratefreq, calibratenote, tunings) stepsPerOctave: ...
-
... Val.isNil or:{numharmVal.isNil or:{freqVal.isNil}}}, { ^inval; }); arr= freqVal.harmonics(numharmVal.asInteger.max(1)+1).drop(1); inval= (arr.sum{|a| sin(theta/a*2pi+0.5pi)/arr.size}*mulVal+addVal).yield; theta= theta+1; }; ^inval; } } PSaw ...
-
... because you actually get sidebands around the ratio: // if ratio == 6, you hear harmonics 5 and 7. // To make 7 the top pitch, subtract one. // var ratio = Lag.kr((freq / fund).round(1) - 1, freqlag), var ratio = (Lag.kr(freq, freqlag) / fu ...
-
TuningOffset : EqualTemperament TuningOffset allows you to specify deviations from equal temperament in terms of fractions of note indices. *new(stepsPerOctave, calibratefreq, calibratenote, tunings) stepsPerOctave: How many notes per octav ...