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

Limiter example? #20

Closed
msonnabaum opened this issue Dec 13, 2011 · 1 comment
Closed

Limiter example? #20

msonnabaum opened this issue Dec 13, 2011 · 1 comment

Comments

@msonnabaum
Copy link

I've played around with the Limiter, but can't seem to get it to do much. I'd be great to have an example of it's proper usage.

@oampo oampo closed this as completed in 1ad1788 Dec 14, 2011
@oampo
Copy link
Owner

oampo commented Dec 14, 2011

Sorry about this - there was a frankly stupendous amount of fail in the Limiter code which should now be fixed. Usage should be pretty simple, and the defaults are fairly good as a standard - something like this should work fine now:

   var audiolet = new Audiolet();
   var synth = new MyVeryLoudSynth(audiolet);
   var threshold = 0.95, attack = 0.01, release = 0.4; // Default values, attack and release times given in seconds.
   var limiter = new Limiter(audiolet, threshold, attack, release);
   synth.connect(limiter);
   limiter.connect(audiolet.output);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants