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
noob needs help with ChucK
Post new topic   Reply to topic Moderators: Kassen
Page 1 of 1 [17 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
toad008



Joined: Sep 01, 2007
Posts: 28
Location: maryland/usa

PostPosted: Wed Apr 01, 2009 9:11 pm    Post subject: noob needs help with ChucK
Subject description: using command line ver of chuck i cannot produce a sound
Reply with quote  Mark this post and the followings unread

Question
i type in my command line (windows 2000 command.com)..

chuck machine.ck

i get this error message:

[mo.ck]: no such file or directory
[wind.ck]: no such file or directory
[chuck](VM):cannot remove:no shred with id 0...
[mo.ck]: no such file or directory
[wind.ck]: no such file or directory
[chuck](VM):cannot remove:no shred with id 0...'
[mo.ck]: no such file or directory
[wind.ck]: no such file or directory
[chuck](VM):cannot remove:no shred with id 0...
[mo.ck]: no such file or directory
[wind.ck]: no such file or directory
[chuck](VM):cannot remove:no shred with id 0...

over and over

help! thanks
-toad008
Back to top
View user's profile Send private message Visit poster's website
Kassen
Janitor
Janitor


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

PostPosted: Thu Apr 02, 2009 4:18 am    Post subject: Reply with quote  Mark this post and the followings unread

Welcome on board!

It would seem that "machine.ck" would contain some files that you either don't have or maybe misplaced a bit. To me it looks like the real problem is with these files and for now I'm not inclined to believe you really do have a problem with ChucK's audio.

Have you tried running some other files besides this "machine.ck"?

_________________
Kassen
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Inventor
Stream Operator


Joined: Oct 13, 2007
Posts: 5978
Location: San Antonio, Tx, USA
Audio files: 258

PostPosted: Thu Apr 02, 2009 9:25 am    Post subject: Reply with quote  Mark this post and the followings unread

BTW,

I would like to welcome toad to the ChucKist community. Toad has visited the electro-music.com chatroom a few times and he enjoyed a practice ChucK Show, plus seems like a top notch guy! Welcome to the ChucK community, toad!

_________________
"Let's make noise for peace." - Kijjaz
Back to top
View user's profile Send private message Send e-mail
kijjaz



Joined: Sep 20, 2004
Posts: 765
Location: bangkok, thailand
Audio files: 4

PostPosted: Thu Apr 02, 2009 11:33 am    Post subject: Reply with quote  Mark this post and the followings unread

toad: welcome also, last time i didn't have a chance to chat with you on IRC.. was hurrying out from home. let's share more soon. Razz
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
telstarmagikistferrari



Joined: Jun 16, 2008
Posts: 276
Location: Indianapolis, Indiana
Audio files: 43

PostPosted: Thu Apr 02, 2009 12:27 pm    Post subject: Reply with quote  Mark this post and the followings unread

toad:

stay encouraged, once you start chucking you'll be as addicted as me.
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
toad008



Joined: Sep 01, 2007
Posts: 28
Location: maryland/usa

PostPosted: Fri Apr 03, 2009 3:16 pm    Post subject: trying out betelgeuze and problem
Subject description: help
Reply with quote  Mark this post and the followings unread

i type in:

chuck betelgeuze_133.ck

and the result is:
[betelgeuze_133.ck]:line(1).char(1): illegal token
[betelgeuze_133.ck]:line(1).char(2): illegal token
[betelgeuze_133.ck]:line(1).char(4): illegal token
[betelgeuze_133.ck]:line(1).char(5): syntax error

??? thanks-toad008
Back to top
View user's profile Send private message Visit poster's website
Kassen
Janitor
Janitor


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

PostPosted: Fri Apr 03, 2009 3:38 pm    Post subject: Reply with quote  Mark this post and the followings unread

Toad, why not try some of the things in the /examples/ directory? Those should work and are meant to start out with. try adding the various "otf" ones in the root of that directory to the VM, that should get you started.
_________________
Kassen
Back to top
View user's profile Send private message Send e-mail Visit poster's website
toad008



Joined: Sep 01, 2007
Posts: 28
Location: maryland/usa

PostPosted: Fri Apr 03, 2009 10:05 pm    Post subject: Reply with quote  Mark this post and the followings unread

i tried the examples and nothing seems to work
when i try the windows version of chuck(miniaudicle) i open a ck file and click on start virtual machine..
everything freezes and i have to close program

thanks everyone for welcoming me to chuck and thanks to inventor for getting me into Chuck
-toadie008
Back to top
View user's profile Send private message Visit poster's website
telstarmagikistferrari



Joined: Jun 16, 2008
Posts: 276
Location: Indianapolis, Indiana
Audio files: 43

PostPosted: Fri Apr 03, 2009 10:11 pm    Post subject: Reply with quote  Mark this post and the followings unread

what version of windows are you running? any other apps open using your sound card (non-asio)..

you might try running in XP emulation mode unless of course you're using XP. sometimes switching up little things like that magically (crazily) work in windows.
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
toad008



Joined: Sep 01, 2007
Posts: 28
Location: maryland/usa

PostPosted: Fri Apr 03, 2009 10:41 pm    Post subject: Reply with quote  Mark this post and the followings unread

thanks for the suggestions..
im using windows 2000
and i use jetaudio for mp3 playing (which is closed when i try chuck)

i'll try chuck on my vista laptop and get back
sage
Back to top
View user's profile Send private message Visit poster's website
Kassen
Janitor
Janitor


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

PostPosted: Sat Apr 04, 2009 8:13 am    Post subject: Reply with quote  Mark this post and the followings unread

Ok, let's bring out the diagnostic guns. We can get into the "verbose" mode (meaning we allow ChucK to report on any and all things that are going on in excruciating detail) but lets start with this;

type; "chuck --probe" into your commandline window, copy the result and post it for us to have a look at. That might reveal something interesting.

Sadly I can't comment in any depth on 2000 and Vista as I never used those OS's, I've been using XP, Windows-wise. I do feel ChucK should run on both but I think they have been yielding more issues than XP. What is so hard for Windows about a simple commmandline program and some soundcard drivers or why those would differ from version to version we may never know. Complaining doesn't seem to help....

_________________
Kassen
Back to top
View user's profile Send private message Send e-mail Visit poster's website
toad008



Joined: Sep 01, 2007
Posts: 28
Location: maryland/usa

PostPosted: Sat Apr 04, 2009 1:35 pm    Post subject: Reply with quote  Mark this post and the followings unread

thanks for the help man
what do i type on the C:\> to transfer the output of "chuck --probe"

i tried :

chuck --probe > example.txt
Back to top
View user's profile Send private message Visit poster's website
Blue Hell
Site Admin


Joined: Apr 03, 2004
Posts: 20589
Location: The Netherlands, Enschede
Audio files: 148
G2 patch files: 318

PostPosted: Sat Apr 04, 2009 1:51 pm    Post subject: Reply with quote  Mark this post and the followings unread

Hi toad, see you found your way to the forum Smile

toad008 wrote:
what do i type on the C:\> to transfer the output of "chuck --probe"

i tried :

chuck --probe > example.txt


When the program output is not on stdout but on stderr you'd need :

chuck --probe 2> example.txt

Or so I think, see http://www.robvanderwode.com/redirection.php for some more info, or google "windows command line redirection".

_________________
Jan
Back to top
View user's profile Send private message Visit poster's website
toad008



Joined: Sep 01, 2007
Posts: 28
Location: maryland/usa

PostPosted: Sat Apr 04, 2009 3:11 pm    Post subject: Reply with quote  Mark this post and the followings unread

when i type that and afterwards

type example.txt

its output is a bunch of empty text

Sad

sage
Back to top
View user's profile Send private message Visit poster's website
Kassen
Janitor
Janitor


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

PostPosted: Sun Apr 05, 2009 3:29 am    Post subject: Reply with quote  Mark this post and the followings unread

Well, call me primitive, but what I tend to do is simply use my mouse to highlight the text, right-click and select "copy".
_________________
Kassen
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Inventor
Stream Operator


Joined: Oct 13, 2007
Posts: 5978
Location: San Antonio, Tx, USA
Audio files: 258

PostPosted: Sun Apr 05, 2009 3:44 am    Post subject: Reply with quote  Mark this post and the followings unread

Hang in there, toad, we welcome you to the ChucKist fold and we'll help you out however we can. Just be patient and persevere!
_________________
"Let's make noise for peace." - Kijjaz
Back to top
View user's profile Send private message Send e-mail
Kassen
Janitor
Janitor


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

PostPosted: Sun Apr 05, 2009 4:05 am    Post subject: Reply with quote  Mark this post and the followings unread

Inventor wrote:
Hang in there, toad,

_________________
Kassen
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic Moderators: Kassen
Page 1 of 1 [17 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