electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Articles  |  Radio
 |  Media  |  Forum  |  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 
Live streaming at radio.electro-music.com

  host / artist show at your time
<on air> faux pas quartet and friends Music From Last Thursday
Please visit the chat
 Forum index » DIY Hardware and Software » ChucK programming language
Newbie question about how to interpret the manual
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
TGV



Joined: Jul 03, 2009
Posts: 23
Location: Utrecht, The Netherlands

PostPosted: Fri Jul 03, 2009 10:01 am    Post subject: Newbie question about how to interpret the manual
Subject description: Or: what is control1 when there isn't one?
Reply with quote  Mark this post and the followings unread

Hi,

I've recently found out about ChucK and want to revive one of my old algorithmic music generators in it. The simplest example has a few organ tones doing a sort of random-ish walk in parallel, imitating Pärt's "Pari Intervallo" (for the interested: http://www.youtube.com/watch?v=k0h4uUqe8Tk, it's a very simple but interesting piece).

The idea is simple, but I want to be able to control the sound of the different voices and I cannot get my head around the definitions in the ChucK manual. I tried to start with the BeeThree module, which should have a control1 and control2 read/write method, being a subclass of FM, that should alter something in the relation of the FM operators. However, if I try

Code:
BeeThree b3;

220 => b3.freq;
1.0 => b3.control1;

I get the error: class 'BeeThree' has no member 'control1'

Why is that? What am I doing wrong?

Thanks in advance
Back to top
View user's profile Send private message
mrcold



Joined: Jun 18, 2009
Posts: 157
Location: USA
Audio files: 24

PostPosted: Fri Jul 03, 2009 11:20 am    Post subject: Reply with quote  Mark this post and the followings unread

try
b3.controlOne;

( http://chuck.cs.princeton.edu/doc/program/ugen_full.html#BeeThree )

scroll up to see 'FM' and its parameters.

i've not tested it.. so it may not work Smile
Back to top
View user's profile Send private message
TGV



Joined: Jul 03, 2009
Posts: 23
Location: Utrecht, The Netherlands

PostPosted: Fri Jul 03, 2009 11:50 am    Post subject: Reply with quote  Mark this post and the followings unread

OMG!!!1!!!!

That was dumb. How many times must I have overlooked this...

Thanks!
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
Niio2

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