Audio Clip remaining time
Posted: 16 Mar 2018, 18:44
With the duration and position properties of the movie clip node I can calculate the exact remaining time of a movie clip, but since the audio clip node doesn't have a position property (only a duration), I'm looking for a solution to get the exact remaining time of a audio clip.
As a temporary solution I added a Timer node to the scene.
Bind the duration of the audio clip to the Start time property of the Timer node and created a event which triggers both the Timer Start and Audio clip play event simultaneously.
The problem we've is that in certain situations the Timer is elapsed earlier then the Audio clip.
I'm not sure if this has something to do with the enable audio compensation option (which is in our case off) or with the clock mode or sample rate of the sound card (RME fireface in our case) or with something else?
The audio files are most of the time *.mp3 files.
Maybe the animation node is a solution, but we don't know which audio file we've to play back in advance.
Kind regards,
Rogier
As a temporary solution I added a Timer node to the scene.
Bind the duration of the audio clip to the Start time property of the Timer node and created a event which triggers both the Timer Start and Audio clip play event simultaneously.
The problem we've is that in certain situations the Timer is elapsed earlier then the Audio clip.
I'm not sure if this has something to do with the enable audio compensation option (which is in our case off) or with the clock mode or sample rate of the sound card (RME fireface in our case) or with something else?
The audio files are most of the time *.mp3 files.
Maybe the animation node is a solution, but we don't know which audio file we've to play back in advance.
Kind regards,
Rogier