dbgain now using 'gain' to allow positive gain, clamped dbgain value below +10dB + corrected documentation

This commit is contained in:
JulienH2000
2023-09-06 22:38:54 +02:00
parent 98e77540e9
commit d486f7a976
2 changed files with 6 additions and 6 deletions

View File

@ -136,11 +136,11 @@ There is a special method to choose the _orbit_ that your sound is going to use:
Simple controls over the amplitude (volume) of a given sound.
| Method | Alias | Description |
|----------|-------|-----------------------------------------------------------------------------------|
| gain | | Volume of the synth/sample (exponential) |
| velocity | vel | Velocity (amplitude) from <ic>0</ic> to <ic>1</ic>. Multipled with gain |
| dbgain | db | Attenuation in dB from <ic>-inf</ic> to <ic>0</ic> (acts as a sound mixer fader) |
| Method | Alias | Description |
|----------|-------|------------------------------------------------------------------------------------|
| gain | | Volume of the synth/sample (exponential) |
| velocity | vel | Velocity (amplitude) from <ic>0</ic> to <ic>1</ic>. Multipled with gain |
| dbgain | db | Attenuation in dB from <ic>-inf</ic> to <ic>+10</ic> (acts as a sound mixer fader) |
${makeExample(
"Velocity manipulated by a counter",