SampleController.playbackSpeed

Controls the playback speed of this particular sample, as a multiplier of its original speed. Setting it to 0.0 is liable to crash.

If unimplemented, the getter will always return 1.0. This is nearly always the case if you compile with -version=without_resampler.

Please note that all members, position, duration, and any others that relate to time will always return original times; that is, as if playbackSpeed == 1.0.

Note that this is going to change the pitch of the sample; it isn't a tempo change.

  1. float playbackSpeed()
  2. void playbackSpeed(float multiplierOfOriginal)
    interface SampleController
    void
    playbackSpeed

Meta

History

Added November 26, 2020 (dub v10.10)