Find the Best Demos and Examples

Check out this quick tour to find the best demos and examples for you, and to see how the Felgo SDK can help you to develop your next app or game!

Forums

OverviewFelgo 2 Support (Qt 5) › Poor SoundEffectVPlay performance

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #8970

    Caeser

    I can’t seem to get some sound effects to play, such as those that occur frequently, like firing a gun. Sometimes the sound goes mute for over 5 seconds before it plays again. Is there a work around for this?

    #8971

    Alex
    Felgo Team

    Hi,

    there is a bug in Qt’s SoundEffect Item that we are using internally, we hope it get’s fixed with the next Qt version. Meanwhile please try the workaround I suggested in my last post at this thread.

    Cheers,
    Alex

    #8982

    Caeser

    Thank you Alex!

     

    However, I’m still using the SoundEffect element. I did notice that most of these errors were caused by:

    – firing a sound twice at the same exact time. for example, if the play() function is called from two different elements at the same time.

    – having an audio file less than 1 second long.

    Editing some of my sounds (using Audacity) to 1 second or over, and assigning different sound elements for individual callers solved many of my sound problems.

    I’m not sure if this will work for anyone else but it’s work a mention.

Viewing 3 posts - 1 through 3 (of 3 total)

RSS feed for this thread

You must be logged in to reply to this topic.