audiojs / audio

Class for high-level audio manipulations [NOT MAINTAINED]
MIT License
240 stars 9 forks source link

Fade in/out usability #28

Closed dy closed 7 years ago

dy commented 7 years ago

Turns out that linear fading does not sound great. Seems that fist - some output devices have built-in limiter/compressor, second - loudness perception is not linear.

Should we tune fade so it not to be mathematically linear? audio-gain includes tangential mode of setting volume, should we do the same here? It thinks to me that having natural fade by default is preferable, and if one needs math fade one should use audio.process or audio.fill

dy commented 7 years ago

See https://github.com/audiojs/audio-gain/issues/10 for ref. We use decibels volume control