Playback of multiple offset audio files with playback speed and seek capabilities #1198
Replies: 2 comments
-
The code kind of works, I just need to understand how to provide the samples to the Maybe I have to create a Ofc, no seek functionality yet. EDITI was able to sort of implement a seek functionality and buffer fill, but the issue is that the mixer is clearing its input automatically after the length of the audio is reached, even if I seek its audio sources to 00:00. The Right now the only way to access the
For example, here when seeking the source audio files, I need to know start/length and trim/offsets of each file separately:
It would be nice if the buffer was auto-fill. Why do I need to manually do this?
Then when seeking or during playback, I need to call the FillBuffer();
|
Beta Was this translation helpful? Give feedback.
-
I now have a working code, but I'm not sure if it's the best way to do it.
This method must be called on seek:
The fill buffer is always called on each playback tick, but only refills the buffer if necessary.
On my playback tick, the
|
Beta Was this translation helpful? Give feedback.
-
I have an editor in which the user can insert audio files.
The audio files can have different lengths and be inserted at distinct positions in time.
Initialization:
This code is a working in progress, I'm still not sure if it will work:
I need to combine the audio tracks based on their start, playback speed and length and be able to seek to a specific position in time.
Is there any solution for this?
Beta Was this translation helpful? Give feedback.
All reactions