[sc-users] real newbie question

Djého Youn ydjeho at gmail.com
Sun Oct 21 19:46:49 PDT 2007


hi, everyone!

it's been 3 hours that I study SC.
i'm on Intel Mackbook Pro/ OSX 10.4,

in the tutorial, there's this code:

(
    SynthDef("tutorial-args", { arg freq = 440, out = 0;
        Out.ar(out, SinOsc.ar(freq, 0, 0.2));
    }).send(s);
    )
    x = Synth("tutorial-args");                            // no args, so
default values
    y = Synth("tutorial-args", ["freq", 660]);            // change freq
    z = Synth("tutorial-args", ["freq", 880, "out", 1]);

and everytime i try to play this, i get,

• ERROR: Parse error
   in file 'selected text'
   line 6 char 2:
      x• = Synth("tutorial-args");                            // no args, so
default values
      y = Synth("tutorial-args", ["freq", 660]);            // change freq
-----------------------------------
• ERROR: Command line parse failed
nil


I don't understand anything about what's going on...
can somebody please tell me what's wrong???
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.create.ucsb.edu/pipermail/sc-users/attachments/20071021/a3d6c3ce/attachment.htm


More information about the sc-users mailing list