Skip to main content

AS3 - Sounds Playing Too Loud 66 Responses

Last post: 2 years, 7 months ago | Thread started: Oct 6, 10, 12:31 p.m.

RespondNew TopicDisable Images

  • 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/…

    Oct 6, 10, 12:31 p.m. – Permalink
  • CyBrain

    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.

    next note >add note

    You must be logged in to add a note. Login now or register for an account.

    Cancel
    Dog-earOct 6, 10, 1:15 p.m. – Permalink
  • acrossthesea

    Not sure why it works 90% of the time though.

    + add note

    You must be logged in to add a note. Login now or register for an account.

    Cancel
    Dog-earOct 6, 10, 1:28 p.m. – Permalink
  • acescence

    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 intendedacrossthesea1/2
      thanks for the suggestion thoughacrossthesea2/2
    next note >+ add note

    You must be logged in to add a note. Login now or register for an account.

    Cancel
    Dog-earOct 6, 10, 1:52 p.m. – Permalink
  • Ancillary

    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

    next note >+ add note

    You must be logged in to add a note. Login now or register for an account.

    Cancel
    Dog-earOct 6, 10, 4:04 p.m. – Permalink
  • acrossthesea

    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
    + add note

    You must be logged in to add a note. Login now or register for an account.

    Cancel
    Dog-earOct 6, 10, 5:17 p.m. – Permalink
  • CyBrain

    I would try re-compressing your sounds from raw files. See if that does anything. And don't use variable bit rate for mp3s.

    next note >add note

    You must be logged in to add a note. Login now or register for an account.

    Cancel
    Dog-earOct 6, 10, 5:44 p.m. – Permalink

Login or Register to respond to this

Skip to main content