electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Articles  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links  |  Store
Forum with support of Syndicator RSS
 FAQFAQ   CalendarCalendar   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   LinksLinks
 RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in  Chat RoomChat Room 
 Forum index » DIY Hardware and Software » ChucK programming language
difference between terminal/command line and midi audicle
Post new topic   Reply to topic Moderators: Kassen
Page 1 of 1 [3 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
Tyrone_Mackintosh



Joined: Jan 21, 2010
Posts: 10
Location: Wellington

PostPosted: Fri Feb 05, 2010 1:15 pm    Post subject: difference between terminal/command line and midi audicle
Subject description: having problems opening up chucK files in terminal
Reply with quote  Mark this post and the followings unread

Hey, Tyrone!

Tyrone_Mackintosh wrote:
for instant when i type in " chucK --springsessiondrumtrack.cK " it dosent open this file(which is situated on my desktop)??any suggestions would be aprreciated.


Ah, yes, I see. First of all, the syntax to add a file called "foo.ck" is;

chuck + foo.ck

the "--" thing is used to set comandline flags (like "--loop") that tell the VM how to behave, not for adding files. Secondly; to successfully add a file chuck has to know where to find it. The easiest way to do that is to call chuck from the directory the file is in. for that you would first use the "cd" (Change Directory) command to end up in that dir, then call chuck.

Instead of keeping files on the desktop I'd make a "chuck" directory with sub-dirs for all my projects, cd into the relevant sub-dir and call chuck from that.

Hope that helps.

As a side-note; if you could please post questions like this to the forum where the answer might benefit more people. If something is confusing to you then it will likely be to others as well. There is no shame in not knowing your way around a command-line. Many younger artists, musicians today grew up without ever having to use one and now have to learn their way around it while also getting to grips with ChucK. This is often confusing and new so all questions there are good questions.

Take care,
Kas.
Back to top
View user's profile Send private message
Kassen
Janitor
Janitor


Joined: Jul 06, 2004
Posts: 7678
Location: The Hague, NL
G2 patch files: 3

PostPosted: Fri Feb 05, 2010 4:31 pm    Post subject: Reply with quote  Mark this post and the followings unread

What can I say? Smile
_________________
Kassen
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Tyrone_Mackintosh



Joined: Jan 21, 2010
Posts: 10
Location: Wellington

PostPosted: Tue Feb 09, 2010 1:04 am    Post subject: Reply with quote  Mark this post and the followings unread

thankyou, that fixed the problem!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Moderators: Kassen
Page 1 of 1 [3 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
 Forum index » DIY Hardware and Software » ChucK programming language
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
e-m mkii

Please support our site. If you click through and buy from
our affiliate partners, we earn a small commission.


Forum with support of Syndicator RSS
Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2003 through 2009 by electro-music.com - Conditions Of Use