Skip to content

Kicks sound doubled at slowed speeds #728

Closed

Description

@thcp

What goes wrong

Below 1x speed, kicks and other sharp hits sound doubled, like a flam. At 0.75x it is clearly audible on kick drums.

It affects anyone practising at a slowed speed with the pitch stage available, which is the normal case on desktop and in the browser.

Why

The time-stretch stage builds its output from 82 ms grains. At 0.75x each grain plays about 70 ms of input but only moves forward about 52 ms, so consecutive grains overlap. Sustained sound hides the overlap. A sharp attack that lands in it is played twice, roughly 50 ms apart.

Constraints

  • Everything goes through one shared tempo stage, including the click, so music, drums and click share one clock. That has to stay true.
  • The pitch stages run their own stretch and are aligned with the unpitched drums sample for sample. A change there would pull pitched lanes away from the drums.
  • Any timing borrowed to avoid a repeat has to be paid back, or the audio drifts away from the playhead, the lyrics and the count-in.
  • An earlier attempt split attacks into a separate path and put a click at every onset, because the two halves could not sum back to the input (see the header of static/vendor/soundtouch-processor.js).

Activity

  1. added
    bugSomething isn't working
    on Sep 30, 2026
  2. added 2 commits that reference this issue on Sep 30, 2026
    8349df4
    8eed12b
  3. self-assigned this
    on Oct 1, 2026
  4. added a commit that references this issue on Oct 2, 2026
    939d66e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions