[Bug]: transport.getPosition() lag when PitchShifter plugin is on the chain
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 15/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- cpp
- Domain
- audio-video-rtc
Research direction
The report gives symptoms only: transport.getPosition() and the timeline playhead jump on pause once a PitchShifter is in the chain, even when the plugin is bypassed. Start by reproducing it in Waveform13 or a minimal app with the plugin added to one track, then read how the transport position is derived and how plugin latency is accounted for in the playback graph. It is done when the playhead tracks smoothly with the PitchShifter added, enabled and bypassed, on both Linux and Windows.
Written by the indexing model from the issue text.
Description
Detailed steps on how to reproduce the bug
Good morning,
if I add a PitchShifter plugin to one track the timeline bar when I hit pause it jump.
This happen also if the plugin is switched off.
This is also visible inside Waveform13.
Thanks
Luca
What is the expected behaviour?
Playhead move fluently all across the timeline.
Unit test to reproduce the error?
/*
Copy this code in to your application, replacing the test cases in the runTest function.
Then call runTest() from somewhere in your application.
*/
class TestClassName : public juce::UnitTest
{
public:
TestClassName()
: juce::UnitTest ("TestClass", "tracktion_engine")
{
}
void runTest() override
{
// Group tests in to sections with beginTest
beginTest ("Test section");
{
expect (1 == 1); // Test an expression for true
expectEquals (1, 1); // Test two values are equal
expectNotEquals (1, 1); // Test two values are not equal: FAILS
}
}
};
// Creates an instance of the test so you can run it
static TestClassName testClassName;
// Call this from your applications
inline void runTest()
{
juce::UnitTestRunner runner;
runner.runTests ({ &testClassName });
}
Operating systems
Linux, Windows
What versions of the operating systems?
Windows 11 - Raspberry OS
Architectures
x86_64, ARM
Stacktrace
Plug-in formats (if applicable)
Standalone
Plug-in host applications (DAWs) (if applicable)
No response
Testing on the develop branch
The bug is present on the develop branch
Code of Conduct
- I agree to follow the Code of Conduct
- Dominant language
- C++
- Stars
- 1.5k
- Forks
- 222
- Avg merge
- 15h 44m
- Merged PRs (30d)
- 33
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Tracktion/tracktion_engine
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Tracktion/tracktion_engine#475 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
Tracktion/tracktion_engine#476 · 5 comments ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 22/100
Tracktion/tracktion_engine#474 ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
Tracktion/tracktion_engine#473 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 56/100
Tracktion/tracktion_engine#460 ·
Maintainers usually reply within 1 day
All issues in Tracktion/tracktion_engine
Similar issues
-
P2: A timed rotation maneuver does nothing on a ship that had an earlier timed lateral maneuverOpen
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
scp-fs2open/fs2open.github.com#7914 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
eclipse-score/inc_someip_gateway#356 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
HarperFast/rocksdb-js#945 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day