Jump to content

Tracker: Reset of SoundSource playback position possible?


photo

Recommended Posts

Здравствуйте!

 

I have a question regarding tracker tracks for SoundSource playback:

 

Lets give this example:

 

ERosmvt.png

 

 

 

its this (audio by that soundsource) in motion:

 

https://www.youtube.com/watch?v=vGcjWhsYZKs

 

So i have a 11,880s playing sound. If i don't setup the keyframes in the exact distance to match that time, then my Portcullis sound starts to be async with the movement.

 

Is there a way to tell in the tracker to "reset" the playback "time" or "position" of a SoundSource to 0s ? 

 

Same behaviour is if you click play and pause in the Node itself... but is there a "stop" instead of a Pause? 

 

Thank you for your time!

Link to comment

Привет, Паскаль!

 

We don't have parameters like soundsource.time or so out of the box. You can extend the tracker and add such stuff in the script, probably by writing an editor plugin and feeding editor Tracker instance with your custom parameters with Tracker::loadParameters function.

 

You can find our default parameters in core/systems/tracker/parameters folder. Just follow the same structure and hopefully you'll achieve what you want. :)

Link to comment
×
×
  • Create New...