electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links
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
How's about this little dude?
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
sir honey



Joined: Aug 04, 2006
Posts: 36
Location: NY

PostPosted: Sun Feb 04, 2007 4:08 pm    Post subject: How's about this little dude?
Subject description: help
Reply with quote  Mark this post and the followings unread

Hi again,

appreciated the help with the last question.

Now I've got some of my own code going, and I want to send the length of a sample (in seconds) to a dur (dur T).

How come this line of code cannot accomplish this simple task?

Code:

sam.length()::second => dur T;

Thanks again,

jack
Back to top
View user's profile Send private message
spencer



Joined: Aug 16, 2006
Posts: 53
Location: northern california

PostPosted: Sun Feb 04, 2007 5:38 pm    Post subject: Reply with quote  Mark this post and the followings unread

howdy,
sam.length() returns a dur already. So the ::second is what is causing the error. Removing it should make that line work.

spencer
Back to top
View user's profile Send private message
sir honey



Joined: Aug 04, 2006
Posts: 36
Location: NY

PostPosted: Sun Feb 04, 2007 6:44 pm    Post subject: Reply with quote  Mark this post and the followings unread

Thanks again, Spencer,

and quite timely with the responses, I must say.

best,

jack
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


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