SuperCollider
(
{
SinOsc.ar([225, 450, 900], 0, 0.2)
+ LPF.ar(
LFPulse.ar(226 * [1, 2, 5],[0,0.1,0.1],0.2, 0.2),
MouseX.kr(20, 10000, 1)
)
}.play;
)
Stride
ControlIn[1]
>> Map (
minimum: 20
maximum: 10000
)
>> CutOffFrequency;
Oscillator (
type: 'Sine'
frequency: [ 225, 450, 900 ]
amplitude: 0.2
)
>> ThreeOscillators;
PulseTrain (
frequency: [ 1, 2, 5 ] * 226
phase: [ 0, 0.1, 0.1 ]
dutyCycle: 0.20
amplitude: 0.2
)
>> LowPass (
cutOff: CutOffFrequency
)
>> FilteredPulseTrains;
ThreeOscillators + FilteredPulseTrains >> AudioOut[1:3];
[
Oscillator (
type: 'Sine'
frequency: [ 225, 450, 900 ]
amplitude: 0.2
)
,
PulseTrain (
frequency: 226 * [ 1, 2, 5 ]
phase: [ 0, 0.1, 0.1 ]
width: 0.20
amplitude: 0.2
)
>> LowPass (
cutOff: CutOffFrequency
)
]
>> Interleave (
stride: 2
)
>> Add ()
>> AudioOut[1:3]