Answered
0
0

Hi,

I´m having a little trouble solving this. Basically, I want to play the same sound in the same event but withouth the sound cutting itself.

Everytime you play an event the sound starts over cutting it´s tail, is it possible to prevent this? So you can still hear the previous tail?

Thanks in advance for any help.

Best,
JC

  • Joseph Harvey
    There are several ways of going about this, but which one is best for you will depend on the other requirements of your event. What do you need the event to do?
  • João Costa
    Hey, I just need it to repeat, nothing fancy. Imagine that you have a bunch of objects hitting each other, I want to trigger the same sound on every collision but I don't want the sound to cut itself, I always want to hear the sound from beginning to end. I can´t figure out how to this in Fmod Studio
  • You must to post comments
Great Answer
2
0

It sounds like you have a commonly-occurring game event that triggers a sound event to play. If that is the case, then the answer is simple: You should create and play a separate event instance for every occurrence of the game event that triggers the sound. Note that this does not require you to create more than one event in FMOD Studio.

Information on creating and handling multiple instances of a single event can be found in our programmer’s API documentation. You might want to start with the topic “Studio::EventDescription::createInstance.”

  • João Costa
    OK thanks. So the only way is to do it in code. It would be cool if there was a way of doing this in Fmod in the future :)
  • Guy Somberg
    João, it sounds as though you want the ability to preview a sound playing on top of itself from inside of FMOD Studio, is that correct? So you just want to hear what it'll be like if this sound plays in rapid succession. Joseph, could you add some sort of "trigger new instance" playback mode to the Studio tool or something similar in order to support this?
  • Joseph Harvey
    @JoãoCosta You should be able to work around the auditioning limitation by creating a temporary event for auditioning purposes, and populating it with one or more sound modules that reference the event you want to audition; This will allow you to trigger multiple instances of the nested event by repeatedly triggering and untriggering the event reference sound modules. Don't forget to delete the temporary auditioning event once you're done.
  • Joseph Harvey
    @GuySomberg Thanks for the suggestion. I'll reccomend we add some ability to easily audition multiple instances of a single event at our next UI planning meeting.
  • João Costa
    @GuySomberg Exactly. But the problem is that if you trigger the same event multiple times in rapid succesion and the previous instance hasn´t finished playing the sound cuts itself. I don´t want that to happen. "Studio::EventDescription::createInstance." seems to do the trick, but it would be good to have a "trigger new instance" playback mode like you suggested :)
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.