Skip to content
This repository was archived by the owner on Jun 19, 2025. It is now read-only.
This repository was archived by the owner on Jun 19, 2025. It is now read-only.

undegradeBy doesn't work as expected #1342

Description

@jqueraltmo

Using undegradeBy(0) in a pattern like $:s("bd*4").undegradeBy(0) should result in no sound being played, since no events should be "undegraded." However, the output is the same as $:s("bd*4").degradeBy(0), which plays all events as expected. This suggests that undegradeBy(0) is not behaving correctly.

The issue also occurs with other probability values. For example, s("bd*4").undegradeBy(0.2) appears to play "bd" approximately 80% of the time, which is the opposite of what the name suggests.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions