You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just a heads up / FYI. I am using this to write my first ugens (hurraaay!!) and it's going fairly well, but as a newbie to this I just wanted to let you know that I found the lack of audio/control rate distinction a bit confusing.
If you build and run the example plugin that this template generates, it emits horrible noise if you just set the gain to a fixed value like 0.5 but fine if modulating by audiorate SinOsc.ar(0.1) for example. This to me (as a newbie) was a bit confusing.
I know this would be at the cost of making the default example here more complicated but I would personally have preferred if the audio/control rate stuff was a bit more verbose in the built example :)
// 1. set the calculation function.if (isAudioRateIn(1)) {
// if the gain argument is audio rate
set_calc_function<SimpleGain, &SimpleGain::next_a>();
} else {
// if thene gain argument is control rate (or a scalar).
set_calc_function<SimpleGain, &SimpleGain::next_k>();
};
// Check if "gain" is control rate or audio rateif (isAudioRateIn(1)) {
next_a(1);
} else {
next_k(1);
}
etc
And thanks again for this awesome tool !
best!
The text was updated successfully, but these errors were encountered:
Hi again.
Just a heads up / FYI. I am using this to write my first ugens (hurraaay!!) and it's going fairly well, but as a newbie to this I just wanted to let you know that I found the lack of audio/control rate distinction a bit confusing.
If you build and run the example plugin that this template generates, it emits horrible noise if you just set the gain to a fixed value like
0.5
but fine if modulating by audiorateSinOsc.ar(0.1)
for example. This to me (as a newbie) was a bit confusing.I know this would be at the cost of making the default example here more complicated but I would personally have preferred if the audio/control rate stuff was a bit more verbose in the built example :)
etc
And thanks again for this awesome tool !
best!
The text was updated successfully, but these errors were encountered: