AS3 - Sounds Playing Too Loud
- Started
- Last post
- 6 Responses
- acrossthesea
For all the as3 devs...
I'm using SoundManager and loading in sounds linked from my library. Everything works swimmingly 90% of the time. 10% of the time, when I trigger the sounds with soundManager.playSound("click", .4), they are all way too loud and it sounds distorted. I'm tracing out the volume I'm sending the playSound and it's always as expected. I can't seem to cause this issue, it just happens ~10% of the time. Any ideas?
SoundManager for reference:
http://evolve.reintroducing.com/…
- CyBrain0
I'm not sure if this applies anymore, but mp3s with variable bit rate can play disortedly in Flash. Either way, I suspect your audio files and not your Flash setup.
- acrossthesea0
Not sure why it works 90% of the time though.
- acescence0
if it's way distorted, maybe it's playing multiple instances simultaneously?
- Traces in the play function don't show that it's being called more than intendedacrossthesea
- thanks for the suggestion thoughacrossthesea
- Ancillary0
No, this is a known issue in Flash, it only happens 90% of the time, it happens when you publish. I think it might be what CyBrian said. Just export again until sounds are okay
- acrossthesea0
Weird, it seems that if I try to play a sound while I'm in middle of a big load, it will screw up the sounds from that point on.
- It struggles playing the sound while the swf is doing some heavy lifting, then it's distorted from then onacrossthesea
- CyBrain0
I would try re-compressing your sounds from raw files. See if that does anything. And don't use variable bit rate for mp3s.