actionscript-3flashairflash-cs5.5soundchannel

Boosting Audio Above 1 on SoundChannel


I'm dealing with an audio anomalie. I have audio that is mastered quite loud, yet on some systems, it is too quiet. Boosting the audio file anymore causes clipping.

It would be fine, except for the fact that, in my project, a lot of other sounds are in use as well. Lowering the volume of everything to match this would make some stuff impossible to hear. And again, this doesn't happen on all computers, only some.

To compensate, can I boost audio in code? The SoundChannel I'm using is already at 1.0 volume (full), and I know I can't use that property to boost it further. Is there any way to raise the audio further in code?

(I'm using Flash Professional CS5.5, Adobe AIR 3, and ActionScript 3)


Solution

  • After some time, I've concluded that it is apparently not possible to boost sound volume above 1 (that is, to amplify) using Flash's API. While you can set SoundTransform to a number greater than 1, it will coerce to 1 nevertheless.

    If anyone has information to the contrary, you are welcome to post the answer and I'll change which answer I've accepted if you solve the problem.