Skip to content

fix: Change Speed seem like effect pitch too #377

@docaohuynh

Description

@docaohuynh

Description

When I change speed audio seem like pitch change too

Steps To Reproduce

Change speed like this

currentSound = await SoLoud.instance
        .loadAsset('assets/audio/tiengviet.mp3');
  }

handle = await SoLoud.instance.play(currentSound!);
SoLoud.instance.setRelativePlaySpeed(handle!, 2);

Expected Behavior

Only change speed, keeping the current pitch

Additional Context

Tested on IOS simulator

I using flutter_soloud 3.4.5

flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.35.7, on macOS 26.1 25B78 darwin-arm64, locale en-VN)
[✓] Android toolchain - develop for Android devices (Android SDK version 36.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 26.1.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2025.2)
[✓] VS Code (version 1.106.3)
[✓] Connected device (4 available)
[✓] Network resources

• No issues found!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions