Loop playback and host synchronization #249
Replies: 3 comments 4 replies
|
To be clear, I want to achieve the following synchronization.
And looping around a single clip is not what I'm seeking for. My plugin plays a pattern which contains multiple audio clips. |
0 replies
|
Hi everyone, I was wondering if anyone had a chance to look at this discussion? I'm still looking for some input on this matter and would greatly appreciate any thoughts or suggestions. Thank you in advance! |
3 replies
|
If you look at what ExternalPlayheadSynchroniser does, it just makes the tracktion engine time match that of the host DAW. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Thank you for releasing such a wonderful library. I am making good use of it.
I am trying to create a sequencer plugin, but I am encountering some issues. I'm not sure if it's a bug or an intentional design, so I decided to post here in the discussion first.
Plugin I want to create
I want to make the functionality of the StepSequencerDemo available as a DAW plugin. In other words, I want to loop-play the Edit while synchronizing with the host's playback position.
What I tried
I set it up to synchronize with the host using ExternalPlayheadSynchroniser, similar to
EngineInPluginDemo.h. At the same time, I set up the loop as follows:te::BeatRange loopBeatRange {{}, te::BeatDuration::fromBeats(4)}; te::TimeRange loopTimeRange = edit->tempoSequence.toTime(loopBeatRange); edit->getTransport().setLoopRange(loopTimeRange); edit->getTransport().looping = true;The behavior I expect is that, regardless of the host's playback position, the first measure (4 beats) of the Edit will loop-play. However, when I tested it with Ableton Live and Reaper, only the first 4 beats of the Edit played, and then noise occurred.
Questions
All reactions