I am trying to convert this example from the SC Book to .range instead of mul and add but I am having some trouble doing it.
This is the original:
(
play(
{
CombN.ar(
SinOsc.ar(
midicps(
LFNoise1.ar(1, 24,
LFSaw.ar([5, 5.123], 0, 3, 80)
)
),
0, 0.1),
1, 0.1, 2,0.5)
}
)
)
// my first attempt
(
play(
{
CombN.ar(
SinOsc.ar(
midicps(
LFNoise1.ar(1+LFSaw.ar([5,5.123])).range(27,104)
),
0, 0.1),
1, 0.1, 2,0.5)
}
)
)
//#2
(
play(
{
CombN.ar(
SinOsc.ar(
midicps(
LFNoise1.ar(10,3*LFSaw.ar([5,5.123])).range(27,104)
),
0, 0.05),
1, 0.1, 2,0.5)
}
)
)
//#3
(
play(
{
CombN.ar(
SinOsc.ar(
midicps(
LFNoise1.ar(10,3)*LFSaw.ar([5,5.123]).range(27,104)
),
0, 0.05),
1, 0.1, 2,0.5)
}
)
)
Sent from Mail for Windows 10