audiojs/audio

Fade in/out usability

dy opened this issue · 1 comments

dy commented

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

See scrapjs/gain#10 for ref. We use decibels volume control