Author |
Message |
laurak
Joined: May 15, 2007 Posts: 4 Location: cambridge
|
Posted: Tue May 15, 2007 12:05 pm Post subject:
problems getting started with chuck |
 |
|
im using it on mac osx, and all i seem to get is permission denied.
this is what i have so far:
Last login: Tue May 15 19:53:46 on ttyp1
Welcome to Darwin!
laura-tolsons-computer:~ lauratolson$ /Users/lauratolson/Documents/uni\ work/Computing\ for\ audio/chuck-1.2.0.8-exe/bin/chuck
[chuck]: no input files... (try --help)
laura-tolsons-computer:~ lauratolson$ %>make osx-intel
-bash: fg: %: no such job
laura-tolsons-computer:~ lauratolson$ (use'./chuck' if chuck is not in your path)
-bash: use./chuck: No such file or directory
laura-tolsons-computer:~ lauratolson$ /Users/lauratolson/Documents/uni\ work/Computing\ for\ audio/chuck-1.2.0.8-exe/bin/chucKtest.rtf
-bash: /Users/lauratolson/Documents/uni work/Computing for audio/chuck-1.2.0.8-exe/bin/chucKtest.rtf: Permission denied
laura-tolsons-computer:~ lauratolson$
~Laura~ |
|
Back to top
|
|
 |
Dr. Spankenstein
Joined: Mar 03, 2007 Posts: 136 Location: Cambridge
Audio files: 1
|
Posted: Tue May 15, 2007 2:50 pm Post subject:
|
 |
|
Hi Laura
Open up the terminal window and login if necessary
Type this:
cd /Users/lauratolson/Documents/uni\ work/Computing\ for\ audio/chuck-1.2.0.8-exe/bin/
Now open a text editor and copy n paste this:
Blit s => dac; while(10::ms=>now) Math.fabs(Math.tan(now/samp))*10 => s.freq;
Now save the document but not as an RTF (TEST.ck) in the same path as the above folder. In fact if I remember correctly it should be any option apart from an rtf.
Go back to the terminal window and type
chuck TEST.ck
If you get some sound then all is good, if not let me know.
If you're still stuck then phone me tommorow as I'm off to bed now.
Rhys (If you hadnt guessed by now)
PS. Thats off the top of my head and I'm sleepy n dont have my mac with me. |
|
Back to top
|
|
 |
laurak
Joined: May 15, 2007 Posts: 4 Location: cambridge
|
Posted: Wed May 16, 2007 9:36 am Post subject:
|
 |
|
ok well i can only save as word format, RTH, HTML or word XML format and it doesnt seem to like RTH,HTML or word XML im guessing it wont like word since i dont have word.
and all the terminal is saying is no such file or directory
and command not found.
do you think its gonna be easier to do this on the pc laptop?
~Laura~ |
|
Back to top
|
|
 |
laurak
Joined: May 15, 2007 Posts: 4 Location: cambridge
|
Posted: Wed May 16, 2007 9:41 am Post subject:
|
 |
|
ok so i realised one problem is because you have the file type so like i forgot to put .xml or .doc tried that and now im getting
-bash: syntax error near unexpected token `TEST.ck'
~Laura~ |
|
Back to top
|
|
 |
Kassen
Janitor


Joined: Jul 06, 2004 Posts: 7678 Location: The Hague, NL
G2 patch files: 3
|
Posted: Wed May 16, 2007 9:50 am Post subject:
|
 |
|
This seems to be a very special kind of problem on a computer that's either Linux or OSX?
If file-extention is the issue; I don't think ChucK cares about it. You can save your code as test.txt and run "chuck test.txt" so I imagine you could run "chuck test.doc" as well *as long as there is only chuck code in the actual file*.
Another thing is that everything would be way easier if you could copy (cp) the executable to /usr/bin/ but if you have limited priviliges then that might be a issue because that's a dir for which you'll need root-level access. _________________ Kassen |
|
Back to top
|
|
 |
laurak
Joined: May 15, 2007 Posts: 4 Location: cambridge
|
Posted: Wed May 16, 2007 10:15 am Post subject:
|
 |
|
hmmm thanx, im gonna try it on my pc laptop as that runs on windows xp.
~Laura~ |
|
Back to top
|
|
 |
blue hell
Site Admin

Joined: Apr 03, 2004 Posts: 24391 Location: The Netherlands, Enschede
Audio files: 296
G2 patch files: 320
|
Posted: Wed May 16, 2007 2:06 pm Post subject:
|
 |
|
To me this sounds like the text editor used is not a text editor but a word processor ... when it saves something as a word document it'll probably do that in some word format as well, meaning a lot of extra markup info gets packed into the file. RTF, the same, XML the same, etc. Using some basic text editor should solve that.
But maybe I read it wrong ... _________________ Jan
also .. could someone please turn down the thermostat a bit.
 |
|
Back to top
|
|
 |
disablek
Joined: May 11, 2007 Posts: 10 Location: disablekville
|
Posted: Thu May 17, 2007 7:58 pm Post subject:
|
 |
|
jrjrjrjrjr
 |
|
Back to top
|
|
 |
|