4 ms·
Stopped reading at: "Something like the DynamicsCompressorNode is practically a joke: basic features from a real compressor are basically missing, and the behav
by kowdermeister 9y ago
Stopped reading at: "Something like the DynamicsCompressorNode is practically a joke: basic features from a real compressor are basically missing, and the behavior that is there is underspecified such that I can’t even trust it to sound correct between browsers. "
Then if you look into it:
dictionary DynamicsCompressorOptions : AudioNodeOptions {
float attack = 0.003;
float knee = 30;
float ratio = 12;
float release = 0.25;
float threshold = -24;
Which are indeed the basics that you need and totally enough for most use cases.
Check out a vintage compressor that has a dozen implementation as VST plugins:
http://media.uaudio.com/assetlibrary/t/e/teletronix_la2a_carousel_1_1.jpg http://media.uaudio.com/assetlibrary/t/e/teletronix_la2a_car...
- bsder 9y ago> Which are indeed the basics that you need and totally enough for most use cases. However, I can take your "simple" compressor and swap it out of my audio chain for a more complex one if I need to. I can't do that for the Web Audio API. That's really what everybody is complaining about. The problem is that if your use case only covers 95% and I use 10 pieces, I am practically guaranteed to have a mismatch for multiple pieces--and I can't escape.
- sdeep27 9y agoIf you have 95% coverage, and you have 10 separate random pieces, you actually have a 40% chance of failure.
- TFortunato 9y agoI can't tell if your being pedantic because you agree with the parent, or because you missed their point entirely
- Jasper_ 9y agoWhere's the sidechain input?
- graphememes 9y agoJust the BASICS. Like before we knew anything about Audio
- kowdermeister 9y agoYou can access the reduction property and connect it a gain node of anouther source. https://developer.mozilla.org/en-US/docs/Web/API/DynamicsCompressorNode/reduction https://developer.mozilla.org/en-US/docs/Web/API/DynamicsCom...
- Jasper_ 9y agoThat's using the output of the compressor to drive another node. A sidechain compressor has two inputs.
- kowdermeister 9y agoI know what sidechain compression is, yes, you need to code a little bit more :)
- quadrangle 9y agoRegardless of the other valid reply to this question, the implication that sidechain is a fundamentally basic thing for a compressor is questionable. Sidechains are extremely useful for many cases, but there's clearly tons of applications of compressors that don't use sidechains. It's not like a sidechainless compressor is unusable.
- whipoodle 9y agoStill, the cross-browser thing seems quite bad.
- coldtea 9y agoThe LA2A is as basic as they come. And it's more used for its character and coloring than for its flexibility.