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
big concern about chuck envelopes
Post new topic   Reply to topic Moderators: Kassen
Page 1 of 1 [4 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
majutsu



Joined: Jun 18, 2006
Posts: 151
Location: New York
Audio files: 1

PostPosted: Sun Aug 13, 2006 8:22 pm    Post subject: big concern about chuck envelopes Reply with quote  Mark this post and the followings unread

i might be missing something, but i've been playing with chuck today, making synths. I can only see to ugens for envelopes: envelope (a linear ramp) chucK native, and ADSR (the stk import). Is this correct? Here is a list from the wiki regarding the ugens:

standard ChucK unit generators (so far)
dac adc blackhole gain noise impulse step halfrect fullrect zerox delayp sndbuf
phasor sinosc pulseosc sqrosc triosc sawosc netout netin
mix2 pan2
STK unit generators in ChucK (so far)

StkInstrument BandedWG BlowBotl BlowHole Bowed Brass Clarinet Flute Mandolin ModalBar Moog Saxofony Shakers Sitar StifKarp VoicForm FM BeeThree FMVoices HevyMetl PercFlut Rhodey TubeBell Wurley Delay DelayA DelayL Echo Envelope ADSR BiQuad Filter OnePole TwoPole OneZero TwoZero PoleZero JCRev NRev PRCRev Chorus Modulate PitShift SubNoise Blit BlitSaw BlitSquare WvIn WaveLoop WvOut

this is it. am i reading this right? this seems terribly limited? is there something i am missing. While chuck is useful for midi control, on the fly programming etc, it's not a very good modular synth if this is the limit of it's envelopes. real instruments have 20-30 breakpoints per envelope or more. many synths have 6 or 7 breakpoints. supercollider can input arrays for envelopes using env.new. tell me if i am missing something or not.

_________________
All phenomena are atoms in association and dissociation.
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: Sun Aug 13, 2006 8:39 pm    Post subject: Reply with quote  Mark this post and the followings unread

True; the curent set of ugens is too small to be considered a extensive modular synth. There should be more.

However, note that "envelope" is just a ramp and you should be able to repeatedly set "target" and "time" resulting in a multisegment envelope if I read the doc right. Maybe the plan is to chain up a few of them, I didn't try that one yet.

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



Joined: Aug 13, 2006
Posts: 105
Location: Palo Alto, CA

PostPosted: Sun Aug 13, 2006 8:55 pm    Post subject: Reply with quote  Mark this post and the followings unread

Hi!

Kassen is totally right. We need more UGen's in ChucK. Certainly, many more are coming. Discussion on this forum has already prompted us chuck devs to priority-boost higher-level, commonly used things such as LP/BP filters that are more controllable out of the box (instead of having to deal with filter coefficients all the time). A better envelope (or at least better documentation or helper classes in ChucK) seems really good too.

In the meantime, as Kassen pointed out, it's possible to control the Envelope over time to achieve arbitrarily complex envelopes (at least linear ones) in ChucK, given that you can advance time by arbitrarily small increments, and things are sample-precise. The code might be a bit cumbersome depending on your needs, so maybe encapsulation in a class might help.

We will look into new ugens for the next release. ChucK on.
Back to top
View user's profile Send private message Visit poster's website
majutsu



Joined: Jun 18, 2006
Posts: 151
Location: New York
Audio files: 1

PostPosted: Sun Aug 13, 2006 9:11 pm    Post subject: Reply with quote  Mark this post and the followings unread

ge, you rock. very informative answer. i like your work and your sense of humor. i actually posted this question to the list serve to see if someone has already coded a complex envelope for a bell or whatever. i would like to see the hp/lp as you mentioned too. very good stuff!
_________________
All phenomena are atoms in association and dissociation.
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 [4 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