Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow => from a UGen into a field/parameter #110

heuermh opened this issue Jan 16, 2018 · 0 comments


None yet
1 participant
Copy link

commented Jan 16, 2018

A common use case in digital synthesis is to use an oscillator as an LFO for a parameter. The built in UGen oscillators provide some of such functionality via the sync(int) method, allowing input to sync to frequency or to phase.

If however a user would like to use an LFO to modulate the gain of a UGen or to modulate any other parameter (e.g. BlowBotl vibratoFreq or Delay delay) they either need to spork a method at sample rate

extend Chugen

or use a higher level construct such as Module

It would be much nicer from a user's point of view if they could do the following

SinOsc sin => dac;
440.0 => sin.freq;

SinOsc lfo;
1.0 => lfo.freq;

// modulate sin osc gain with LFO
lfo => sin.gain;

1::minute => now;

Migrated from spencersalazar/chuck#35

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.