[chuck-users] chuck-users Digest, Vol 47, Issue 24

gary hiebner gary at soundbase.co.za
Sat Jun 27 09:52:35 EDT 2009


Thanks Kas, And Andrew.
I have an understanding of the Terminal. So that is not my problem. My
problem is that when I try run chuck from the Terminal, I don't get
anything, even when I try run a file ( >chuck foo.ck).

But when I run the file in miniAudicle, it runs fine.

When I am in the Treminal, and I type >Chuck (Thanks for spotting the > kas,
was putting it there to represent the prompt). I dont get
the [chuck]: no input files.... message.

It just goes to another prompt, so I don't know if it is working correctly
in the Terminal

eg I get this:

matchbox$ chuck
matchbox$

If I log in under sudo, it does the same thing:

sh-3.2# chuck
sh-3.2#

Then if I try run the foo.ck file, I don't get anything, but when I run it
in  miniAudilce, it runs fine.

On the Mac, you can drag the file into the Terminal, and it gives the
correct location to run the ck file, so I know it is pointing to the right
path.

p.s. here is the link to the Ge Wang vid I saw on the Apple site. Nice
video. Really inspired me to try this application out

http://www.apple.com/pro/profiles/slork/

Looks like they are using the
Terminal. I like it how they are using the trackpad and motion sensors
on the Macbook, to generate different sounds. I just got a Macbook Pro
3 days ago, and am rwally excited about trying the motion sensors and
trackpad with Chuck.

2009/6/27 <chuck-users-request at lists.cs.princeton.edu>

> Send chuck-users mailing list submissions to
>        chuck-users at lists.cs.princeton.edu
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
> or, via email, send a message with subject or body 'help' to
>        chuck-users-request at lists.cs.princeton.edu
>
> You can reach the person managing the list at
>        chuck-users-owner at lists.cs.princeton.edu
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of chuck-users digest..."
>
> Today's Topics:
>
>   1. Trying to get start with Chuck on MAC - USING TERMINAL
>      (gary hiebner)
>   2. Re: Trying to get start with Chuck on MAC - USING TERMINAL
>      (Andrew Turley)
>   3. Re: Trying to get start with Chuck on MAC - USING TERMINAL
>      (Kassen)
>   4. Re: Trying to get start with Chuck on MAC - USING TERMINAL
>      (Hans Aberg)
>   5. Re: Trying to get start with Chuck on MAC - USING TERMINAL
>      (Kassen)
>
>
> ---------- Forwarded message ----------
> From: gary hiebner <soundbasestudios at gmail.com>
> To: chuck-users at lists.cs.princeton.edu
> Date: Sat, 27 Jun 2009 06:05:13 +0200
> Subject: [chuck-users] Trying to get start with Chuck on MAC - USING
> TERMINAL
> Hi Everyone,
> I am new to Chuck. I saw Ge's video on the Apple website and am very
> interested in getting into Chuck as an audio tool for live performance. I
> seem to be having a problem getting it to run. I have tried going through
> the start up manual as it says, but keep getting the same error.
>
> I have added chuck to my usr/bin/
>
> When I check through the /usr/bin I can see chuck there, so it has been
> added successfully.
>
> Then I type the >chuck in Terminal
>
> I don't get the [chuck]: no input files.... message
>
> i tried typing the command:
>
>
> > chuck // connect sine oscillator to D/A convertor (sound card)
>
>
> But just get the following error message:
>
>
> -bash: syntax error near unexpected token `('
>
> Is there something else I am not doing correctly?
>
> I have tried in miniAudicle, and everything works fine there,
>
> But would like to get this working from the Terminal.
>
> Thanks in advance for any assistance,
>
> Regards,
>
> --
> Gary Hiebner
> SoundBase Productions
> cell: 082 877 6239
> www.soundbase.co.za
>
> This message contains privileged and confidential information intended only
> for the person or legal entity to which it is addressed. Any review,
> re-transmission, copy or other use of, or taking of any action in reliance
> upon this information by persons or entities other than the intended
> recipient, is prohibited. If you received this message in error, please
> delete the material from any computer. Although all outgoing messages are
> scanned using Anti-virus Software, we can not accept responsibility for any
> harm or damage attributable to the distribution of electronic mail from our
> servers.
>
>
>
>
> ---------- Forwarded message ----------
> From: Andrew Turley <aturley at acm.org>
> To: ChucK Users Mailing List <chuck-users at lists.cs.princeton.edu>
> Date: Fri, 26 Jun 2009 23:08:08 -0700
> Subject: Re: [chuck-users] Trying to get start with Chuck on MAC - USING
> TERMINAL
> Gary,
>
> Congratulations on taking the dive into ChucK. From what I can tell,
> it looks like you're close to having things up and running. The
> problem is that you are trying to run ChucK without any input file.
> The command line version of ChucK needs you to specify the actual file
> that you want to execute. You can either create this file, or use one
> of the files that came with the ChucK installation. For example, if
> you had a file called sounds.ck, then you would run it by going to the
> directory that contained the file and typing the following at the
> command prompt:
>
> chuck sounds.ck
>
> For more information about using the Unix command line, you might want
> to take a look at this article:
>
> http://db.tidbits.com/article/7003
>
> I'm not sure which video you saw, but you might have been watching Ge
> use Audicle. Audicle provides a graphical interface to chuck. You can
> download it here:
>
> http://audicle.cs.princeton.edu/
>
> Good luck, and let me know if this helps.
>
> andy
>
> 2009/6/26 gary hiebner <soundbasestudios at gmail.com>:
> > Hi Everyone,
> > I am new to Chuck. I saw Ge's video on the Apple website and am very
> > interested in getting into Chuck as an audio tool for live performance. I
> > seem to be having a problem getting it to run. I have tried going through
> > the start up manual as it says, but keep getting the same error.
> > I have added chuck to my usr/bin/
> > When I check through the /usr/bin I can see chuck there, so it has been
> > added successfully.
> > Then I type the >chuck in Terminal
> > I don't get the [chuck]: no input files.... message
> > i tried typing the command:
> >
> >> chuck // connect sine oscillator to D/A convertor (sound card)
> >
> > But just get the following error message:
> >
> > -bash: syntax error near unexpected token `('
> > Is there something else I am not doing correctly?
> > I have tried in miniAudicle, and everything works fine there,
> > But would like to get this working from the Terminal.
> > Thanks in advance for any assistance,
> > Regards,
> > --
> > Gary Hiebner
> > SoundBase Productions
> > cell: 082 877 6239
> > www.soundbase.co.za
> >
> > This message contains privileged and confidential information intended
> only
> > for the person or legal entity to which it is addressed. Any review,
> > re-transmission, copy or other use of, or taking of any action in
> reliance
> > upon this information by persons or entities other than the intended
> > recipient, is prohibited. If you received this message in error, please
> > delete the material from any computer. Although all outgoing messages are
> > scanned using Anti-virus Software, we can not accept responsibility for
> any
> > harm or damage attributable to the distribution of electronic mail from
> our
> > servers.
> >
> >
> >
> > _______________________________________________
> > chuck-users mailing list
> > chuck-users at lists.cs.princeton.edu
> > https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
> >
> >
>
>
>
> ---------- Forwarded message ----------
> From: Kassen <signal.automatique at gmail.com>
> To: ChucK Users Mailing List <chuck-users at lists.cs.princeton.edu>
> Date: Sat, 27 Jun 2009 13:19:22 +0200
> Subject: Re: [chuck-users] Trying to get start with Chuck on MAC - USING
> TERMINAL
>
> gary hiebner ;
>
> I have tried in miniAudicle, and everything works fine there,
>>
>
> To add to Andrew's explanation; if it works for you in the miniAudicle then
> you are almost there. The thing to realise is that the mini uses one or a
> few windows to contain the ChucK code. We sometimes call these "editing
> buffers". These buffers contain code and they are analogous to files. Where
> we would tell the mini to run the code in one of these buffers we tell plain
> ChucK to run the code that is in a file that was previously saved.
>
> Code goes into files. These files then get send to ChucK. We don't
> (typically) send the code straight into ChucK though we may use a editor
> like the Mini to take care of the link for us. The process behind the scenes
> is the same, the Mini just makes it more convenient. There is one downside
> to these buffers that "pretend to be files"; if you would crash the Mini
> because you crash ChucK then you also lose all unsaved buffers while you
> won't crash plain ChucK in a way that makes you lose your files on your
> drive (at least I never heard of this happening)-
>
> I hope this clarifies, don't hesitate to ask more; both ChucK and a
> terminal can look a bit intimidating at first, especially if you are trying
> to get to grips with both at the same time.
>
> Yours,
> Kas.
>
>
> ---------- Forwarded message ----------
> From: Hans Aberg <haberg at math.su.se>
> To: gary hiebner <soundbasestudios at gmail.com>
> Date: Sat, 27 Jun 2009 14:37:07 +0200
> Subject: Re: [chuck-users] Trying to get start with Chuck on MAC - USING
> TERMINAL
> On 27 Jun 2009, at 06:05, gary hiebner wrote:
>
>  I am new to Chuck. I saw Ge's video on the Apple website and am very
>> interested in getting into Chuck as an audio tool for live performance. I
>> seem to be having a problem getting it to run. I have tried going through
>> the start up manual as it says, but keep getting the same error.
>>
>> I have added chuck to my usr/bin/
>>
>> When I check through the /usr/bin I can see chuck there, so it has been
>> added successfully.
>>
>> Then I type the >chuck in Terminal
>>
>> I don't get the [chuck]: no input files.... message
>>
>
> If you installed the miniAudicle documentation in the folder
> /Applications/, then you can run an example by
>  chuck /Applications/miniAudicle\ documentation/examples/basic/foo.ck
> (If you type it, you can <tab> to get file name completions.)
>
>  Hans
>
>
>
>
>
>
> ---------- Forwarded message ----------
> From: Kassen <signal.automatique at gmail.com>
> To: ChucK Users Mailing List <chuck-users at lists.cs.princeton.edu>
> Date: Sat, 27 Jun 2009 15:28:36 +0200
> Subject: Re: [chuck-users] Trying to get start with Chuck on MAC - USING
> TERMINAL
>
> gary hiebner;
>
> Then I type the >chuck in Terminal
>>
>
> I just noticed this and the "greater than" symbol in it. At the risk of
> stating the obvious; you wouldn't type that symbol, just the command "chuck"
> (without quotes). The symbol ">" is sometimes used to represent the prompt,
> probably because that's how a typical dos/windows setup represents it
> (preceded by the name of the dir we are in), I don't see it in my terminal
> on Linux and I don't think Mac uses it. Let's have a exageratedly detailed
> look at me running chuck in that way, copied straight from my BASH terminal;
>
> ghost at baido:~$ chuck
> [chuck]: no input files... (try --help)
>
>
> In the first line we see "ghost", that's my login.
> "baido" refers to the name of the computer (I'm a R-type fan, you see).
> The "@" means I'm loged in on this computer (that's no big news but I might
> use the same login on multiple systems)
> The "~" is a shorthand for my home dir so in this case that refers to
> "/home/ghost/"
> The "$" means I'm a ordinary user and not root. If I were root it would
> instead be a "#".
>
> Then we see a space after which we see "chuck", the "chuck" bit is the only
> thing I typed myself. The space just separates what the computer put there
> from what I wrote.
>
> On the second line we see ChucK's responce, it's basically saying "yes, I'm
> here but you're not giving me anything to do, type help if you'd like to
> know how to talk to me".
>
> Maybe that helps? If not it might be nice to copy the exact error you are
> getting because if ChucK is in /usr/bin/ it really should work.
>
> Yours,
> Kas.
>
> _______________________________________________
> chuck-users mailing list
> chuck-users at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
>
>


-- 
Gary Hiebner
SoundBase Productions
cell: 082 877 6239
www.soundbase.co.za

This message contains privileged and confidential information intended only
for the person or legal entity to which it is addressed. Any review,
re-transmission, copy or other use of, or taking of any action in reliance
upon this information by persons or entities other than the intended
recipient, is prohibited. If you received this message in error, please
delete the material from any computer. Although all outgoing messages are
scanned using Anti-virus Software, we can not accept responsibility for any
harm or damage attributable to the distribution of electronic mail from our
servers.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20090627/a871c94b/attachment.htm>


More information about the chuck-users mailing list