Thank you for your interest and please forgive me for the lack of precision; I am referring to errors of this type when executing the following code:
// Scale segments, in the sequence: up, up, down (repeat)
(
TempoClock.default.tempo = 1;
p = Pbind(
\degree, Pseq([
Pseries({ rrand(0, 7) }, 1, { rrand(4, 8) }), // up (step = 1)
Pseries({ rrand(0, 7) }, 1, { rrand(4, 8) }), // up (step = 1)
Pseries({ rrand(7, 14) }, -1, { rrand(4, 8) }) // down (step = -1)
], inf),
\dur, 0.125
).play;
)
Post window after booting the server and CTRL+Return the code:
Booting with:
In: MME : Micrófono (Jabra EVOLVE 30 II)
Out: MME : Altavoces (Jabra EVOLVE 30 II)
Sample rate: 44100.000
Latency (in/out): 0.013 / 0.091 sec
SC_AudioDriver: sample rate = 44100.000000, driver's block size = 64
SuperCollider 3 server ready.
Requested notification messages from server 'localhost'
localhost: server process's maxLogins (1) matches with my options.
localhost: keeping clientID (0) as confirmed by server process.
Shared memory server interface initialized
ERROR: syntax error, unexpected ')', expecting DOTDOT
in interpreted text
line 1 char 6:
(4, 8) }) // down (step = -1)
^
], inf),
-----------------------------------
ERROR: Command line parse failed
-> nil
The example is extracted from this guide Pattern Guide 04: Words to Phrases | SuperCollider 3.12.2 Help
By removing pof the whitespace in one line, the error changes:
// Scale segments, in the sequence: up, up, down (repeat)
(
TempoClock.default.tempo = 1;
p = Pbind(\degree, Pseq([Pseries({ rrand(0, 7) }, 1, { rrand(4, 8) }), // up (step = 1)
Pseries({ rrand(0, 7) }, 1, { rrand(4, 8) }), // up (step = 1)
Pseries({ rrand(7, 14) }, -1, { rrand(4, 8) }) // down (step = -1)
], inf),
\dur, 0.125
).play;
)
ERROR: syntax error, unexpected BINOP, expecting $end
in interpreted text
line 1 char 1:
/ down (step = -1)
^
], inf),
-----------------------------------
ERROR: Command line parse failed
-> nil
and finally, removing all the whitespace (including comments) the code executes the EventStreamPlayer correctly.