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
Machine.add
Post new topic   Reply to topic Moderators: Kassen
Page 1 of 1 [2 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
Sidewinder



Joined: Mar 27, 2018
Posts: 1
Location: Cork

PostPosted: Thu Mar 29, 2018 3:11 am    Post subject: Machine.add
Subject description: How to use
Reply with quote  Mark this post and the followings unread

Hi all,

I'm a complete novice and trying to learn how to use machine.add


Say for example I had have two chuck files saved to my desktop and I want to run one, stop it. Run a second and stop it.

I'm getting "no such file or directory" when I am trying this.

Or even run the two listed below concurrently



// Connect sin oscillator a to D/A converter sound card
SinOsc a => dac;

//sets frequency of a to 300Hz
300 => a.freq;

// Allow 1 second to pass
1::second => now;



// Connect Sqr oscillator a to D/A converter sound card
SqrOsc b => dac;

//sets frequency of a to 400Hz
400 => b.freq;

// Set Gain to .5 which means half
0.1 => b.gain;

// Allow 1 second to pass
1::second => now;
Back to top
View user's profile Send private message
flies



Joined: May 20, 2008
Posts: 33
Location: NJ

PostPosted: Sun Apr 08, 2018 7:58 am    Post subject: Reply with quote  Mark this post and the followings unread

I would guess that the reason you're getting a file not found error is that the "working directory" for chuck isn't what you thought it was. If you provide an "absolute address" for your file, that may solve your problem.

Are you running from miniAudicle? If so, you can find and set the working directory in the text field found by edit->preferences->misc .
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 [2 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