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 GalleryGallery 
 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
StkInstrument
Post new topic   Reply to topic Moderators: Kassen
Page 1 of 1 [6 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
Frostburn



Joined: Dec 12, 2007
Posts: 211
Location: Finland
Audio files: 7

PostPosted: Tue Mar 11, 2008 1:55 pm    Post subject: StkInstrument
Subject description: what gives?
Reply with quote  Mark this post and the followings unread

Consider the following code example:
Code:
BandedWG bandedwg => dac;
1 => bandedwg.preset;
220.0 => bandedwg.freq;
1.0 => bandedwg.noteOn;

second => now;
<<<"noteOff","!">>>;
1.0 => bandedwg.noteOff;

second => now;
<<<"noteOff",",please.">>>;
0.0 => bandedwg.noteOff;

second => now;
<<<"stopBowing","!">>>;
1.0 => bandedwg.stopBowing;

second => now;
<<<"stopBowing",",pretty please.">>>;
0.0 => bandedwg.stopBowing;

second => now;
<<<"Please stop!","Pretty please with a sugar on top.">>>;
for(0 => int stfu; stfu < 1337; stfu++){
        Std.rand2f(0.0,pi) => bandedwg.noteOff;
        Std.rand2f(0.0,2008) => bandedwg.stopBowing;
}
second => now;
<<<"...alright...","Kill it.">>>;
bandedwg =< dac;

second => now;
<<<"Phew","!">>>;
bandedwg => dac;

second => now;
<<<"aaaAAaaGh","!">>>;

At least on my end it simply won't shut up.

Clearly a bug but is there a work around?

_________________
To boldly go where no man has bothered to go before.
Back to top
View user's profile Send private message
Kassen
Janitor
Janitor


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

PostPosted: Tue Mar 11, 2008 2:34 pm    Post subject: Reply with quote  Mark this post and the followings unread

Oh, Frost, you just need a gentle touch, a kind word. Reverse psychology always gets them.

;¬)

Code:
BandedWG bandedwg => dac;
1 => bandedwg.preset;
220.0 => bandedwg.freq;
1.0 => bandedwg.noteOn;

second => now;
<<<"Hey, cutie, come here often?">>>;
0 => bandedwg.noteOn;
second => now;


It's still a bug, though. I bet it's again something involving envelopes.

_________________
while(!machine.crash() ) <<<"all is well">>>;
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Frostburn



Joined: Dec 12, 2007
Posts: 211
Location: Finland
Audio files: 7

PostPosted: Tue Mar 11, 2008 2:58 pm    Post subject: Reply with quote  Mark this post and the followings unread

Thanks Kassen... These beasts surely have peculiar temperament.
It's still a bit unsatisfactory though because the sound ends so abruptly... oh well.
Should we go on a bug hunt through all the StkInstruments or does the development team already know?

_________________
To boldly go where no man has bothered to go before.
Back to top
View user's profile Send private message
Kassen
Janitor
Janitor


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

PostPosted: Tue Mar 11, 2008 3:14 pm    Post subject: Reply with quote  Mark this post and the followings unread

I honestly have no idea. It's clearly part of a larger problem because we've seen more like this.... Can't remember if this already up on the WiKi.

I don't like the abrupt endings of some of the ST instruments either, especially a waveguide shouldn't need to end like that. With waveguides a gentle decay at controllable rate is basically free by just turning down the feedback to a smaller or larger degree.

At least this is a clear bug to report, if there are yet more I'm sure we'll run into them but I wouldn't run out it's a single module they all share that's the offending part; the behavior is the same. Let's report this and also request more gradual note-off options for STK Ugens?

_________________
while(!machine.crash() ) <<<"all is well">>>;
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Frostburn



Joined: Dec 12, 2007
Posts: 211
Location: Finland
Audio files: 7

PostPosted: Tue Mar 11, 2008 3:48 pm    Post subject: Reply with quote  Mark this post and the followings unread

When I played with the Shakers today I got really strange behaviour. After setting the preset the first noteOn went ok but the second one sounded completely different and the third one just broke down... I think it had something to do with the energy values or something...
Kassen wrote:
At least this is a clear bug to report, if there are yet more I'm sure we'll run into them but I wouldn't run out it's a single module they all share that's the offending part; the behavior is the same. Let's report this and also request more gradual note-off options for STK Ugens?

Maybe there should be a new page in the wiki just for Stk bugs and feature requests.

_________________
To boldly go where no man has bothered to go before.
Back to top
View user's profile Send private message
Inventor



Joined: Oct 13, 2007
Posts: 1162
Location: Florida, USA
Audio files: 50

PostPosted: Tue Mar 11, 2008 5:47 pm    Post subject: Reply with quote  Mark this post and the followings unread

I had the same trouble with Flute and Saxophony (which I guess you would expect.

Oh, and Frostburn, a loop variable called "stfu"? You're too funny!
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 [6 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

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, 2004, 2005, 2006 and 2007 by electro-music.com