Transitions latency when changing parameter


#1

I’m having an issue where my transition doesn’t happen immidiately when the parameter is changed, as you can see in the screen recording here. in happens around 100-200 ms later, which is quite annoying. This is also the case when using the event in Unity.

Link to screen recording: https://youtu.be/aPhcU53j0s8

Any idea what’s going on here?

Thank you


Event trigger latency
#2

I’m not aware of any issue that would cause a scheduling delay when triggering a transition region, and I can’t see anything in that video that would suggest a cause. Are all the transition regions create affected in this way, or just some of them? If only some transition regions exhibit this behavior, are you able to send us a copy of an affected project so that we can examine the affected events in detail?

Also, does the issue occur on all machines, or only some?


#3

Hi Joseph,

Yes, this happens on all machines, and with several events. I have prepared a project with the problem - whereto should I send it?

Best regards,
Nikolaj


#4

We’ve identified the cause of this issue, and are currently working on a fix, which will be included in an upcoming release of FMOD Studio. Given that we’ve identified the cause of the bug, it’s no longer necessary for you to send us a copy of your project. Thank you for helping us out.

We’ve also discovered this issue does not affect transition timelines with source regions, so you may be able to work around the issue in some cases by adding a short source region to the transition timeline, then removing the resulting fade-in curves from the instrument(s) inside the transition timeline and maximizing the fade-out curves on the transition timeline’s source region.

If that workaround doesn’t work for you, and you’re not able to wait for a new FMOD Studio version that includes the fix, you should be able to avoid the bug by using FMOD Studio versions 1.10.09 and earlier. The bug was introduced in version 1.10.10, so earlier versions are not affected.


#5

That sounds good. I’m not sure I understand the workaround, and do not know what “lead-in regions” are - I couldn’t find much info. on thay Could you explain it or maybe send a screen shot :slight_smile: Thank you


#6

I’m not sure I understand the workaround, and do not know what “lead-in regions” are - I couldn’t find much info.

Whoops! I wrote “lead-in regions” when I meant “source regions.” I’ve corrected my post.

If you look at a transition timeline when it is expanded, you’ll see a dashed grey line at the left edge of the transition timeline. If you click and drag this dashed line to the right, you’ll add a “source region” to the transition timeline. When the playback position enters the transition timeline, it will continue playing content from the main timeline until the playback position leaves the source region. Of course, this behavior may not be desirable in all transition timelines, so this workaround may not work in all situations.


#7

Hm, I¨m still getting delays when adding source regions. This is how I’ve done it:


#8

Great to hear it’s a bug and you guys a working on a fix. I discovered the exact same problem and couldn’t make sense out of it, as everything was working fine before. Even when loading older projects I now get a small delay. When working with music and quantization intervals I’ve got the feeling, that the delay is somewhat based on the chosen time signature. But I can also be mistaken.

I will just sit tight and wait for the next release. Any idea about when this version will be available?


#9

Any idea about when this version will be available?

Unfortunately, company policy prohibits me from discussing the release dates of future versions before they’re officially announced.


#10

Totally understandable Joseph. I have beta release in May, so really keeping my fingers crossed for a fix before then :slight_smile:


#11

I’m also getting a latency when pressing play on certain events. I cannot figure out why. It’s not very long, but still noticeable in a gamplay situation. Here’s a video showing it. Notice that the sound does not play immidiately after the play button is pressed: https://youtu.be/9KtKCHo4zns


#12

I’m also getting a latency when pressing play on certain events… Notice that the sound does not play immidiately after the play button is pressed: https://youtu.be/9KtKCHo4zns

What compression format are your audio files in? If they’re anything other than uncompressed .wav files, FMOD Studio has to decompress them prior to playing an event, and so will delay the start of the event until they’re ready. If it didn’t do this, instruments at and near the start of the event would be silent until a short few moments after the timeline started advancing.