add compressor + postgain

This commit is contained in:
Felix Roos 2023-10-08 00:30:12 +02:00
parent daf965f119
commit 130ad4451b
3 changed files with 30 additions and 2 deletions

View file

@ -86,6 +86,7 @@ const generic_params = [
*
*/
['gain'],
['postgain'],
/**
* Like {@link gain}, but linear.
*
@ -1051,6 +1052,11 @@ const generic_params = [
*
*/
['shape'],
[['compressor', 'compressorRatio', 'compressorKnee', 'compressorAttack', 'compressorRelease']],
['compressorKnee'],
['compressorRatio'],
['compressorAttack'],
['compressorRelease'],
/**
* Changes the speed of sample playback, i.e. a cheap way of changing pitch.
*