Skip to content

[Bug]: transport.getPosition() lag when PitchShifter plugin is on the chain #270

@HavanaMan

Description

@HavanaMan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions