You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
124 lines
2.4 KiB
124 lines
2.4 KiB
|
|
|
|
// test speakers
|
|
// ch 0, 1
|
|
y = { Out.ar (0, Pan2.ar(PinkNoise.ar, MouseX.kr(-1, 1), 0.05)) }.play;
|
|
y.free;
|
|
// ch 2, 3
|
|
z = { Out.ar (2, Pan2.ar(PinkNoise.ar, MouseX.kr(-1, 1), 0.05)) }.play;
|
|
z.free;
|
|
|
|
s.freeAll;
|
|
|
|
// * let's play *
|
|
|
|
|
|
// difference tones
|
|
( ~play_dTone.value(
|
|
"20hz", amp: 0.18, out: 1); )
|
|
~dTone_synths["20hz"].set(\gate, 0);
|
|
|
|
( ~play_dTone.value(
|
|
"40hz", amp: 0.025, out: 1); )
|
|
~dTone_synths["40hz"].set(\gate, 0);
|
|
|
|
( ~play_dTone.value(
|
|
"80hz", amp: 0.008, out: 1); )
|
|
~dTone_synths["80hz"].set(\gate, 0);
|
|
|
|
( ~play_dTone.value(
|
|
"160hz", amp: 0.005, out: 1); )
|
|
~dTone_synths["160hz"].set(\gate, 0);
|
|
|
|
|
|
// samples
|
|
( ~playSamp.value("a"); )
|
|
~samp[0].set(\trigger, -1, \gate, 0);
|
|
|
|
( "b";
|
|
~playSamp.value("b"); )
|
|
~samp[1].set(\trigger, -1, \gate, 0);
|
|
|
|
( "c";
|
|
~playSamp.value("c"); )
|
|
~samp[2].set(\trigger, -1, \gate, 0);
|
|
|
|
( "d";
|
|
~playSamp.value("d"); )
|
|
~samp[3].set(\trigger, -1, \gate, 0);
|
|
|
|
( "e";
|
|
~playSamp.value("e"); )
|
|
~samp[4].set(\trigger, -1, \gate, 0);
|
|
|
|
( "f";
|
|
~playSamp.value("f"); )
|
|
~samp[5].set(\trigger, -1, \gate, 0);
|
|
|
|
( "g";
|
|
~playSamp.value("g"); )
|
|
~samp[6].set(\trigger, -1, \gate, 0);
|
|
|
|
( "h";
|
|
~playSamp.value("h"); )
|
|
~samp[7].set(\trigger, -1, \gate, 0);
|
|
|
|
|
|
( "breath noise";
|
|
"start"; ~playBreathSamp.value; )
|
|
"stop"; ~stopBreathSamp.value;
|
|
|
|
|
|
// future tones
|
|
( ~play_fTone.value("800hz",
|
|
amp: 0.026, out: 1); )
|
|
~fTone_synths["800hz"].set(\gate, 0);
|
|
|
|
( ~play_fTone.value("880hz",
|
|
amp: 0.025, out: 1); )
|
|
~fTone_synths["880hz"].set(\gate, 0);
|
|
|
|
( ~play_fTone.value("900hz",
|
|
amp: 0.025, out: 1); )
|
|
~fTone_synths["900hz"].set(\gate, 0);
|
|
|
|
( ~play_fTone.value("1000hz",
|
|
amp: 0.025, out: 1); )
|
|
~fTone_synths["1000hz"].set(\gate, 0);
|
|
|
|
( ~play_fTone.value("1100hz",
|
|
amp: 0.024, out: 1); )
|
|
~fTone_synths["1100hz"].set(\gate, 0);
|
|
|
|
( ~play_fTone.value("1760hz",
|
|
amp: 0.023, out: 1); )
|
|
~fTone_synths["1760hz"].set(\gate, 0);
|
|
|
|
( ~play_fTone.value("1800hz",
|
|
amp: 0.023, out: 1); )
|
|
~fTone_synths["1800hz"].set(\gate, 0);
|
|
|
|
( ~play_fTone.value("2020hz",
|
|
amp: 0.023, out: 1); )
|
|
~fTone_synths["2020hz"].set(\gate, 0);
|
|
|
|
( ~play_fTone.value("3000hz",
|
|
amp: 0.023, out: 1); )
|
|
~fTone_synths["3000hz"].set(\gate, 0);
|
|
|
|
( ~play_fTone.value("3300hz",
|
|
amp: 0.023, out: 1); )
|
|
~fTone_synths["3300hz"].set(\gate, 0);
|
|
|
|
( ~play_fTone.value("4200hz",
|
|
amp: 0.022, out: 1); )
|
|
~fTone_synths["4200hz"].set(\gate, 0);
|
|
|
|
( ~play_fTone.value("6000hz",
|
|
amp: 0.021, out: 1); )
|
|
~fTone_synths["6000hz"].set(\gate, 0);
|
|
|
|
|
|
|
|
|
|
|
|
|