Skip to content

Sample cutoff decay level docs/validations incorrect? #784

Open
@ethancrawford

Description

@ethancrawford

I noticed that the docstring for the sample cutoff decay level parameter doesn't match the validations it has. (See https://github.com/samaaron/sonic-pi/blob/master/app/server/sonicpi/lib/sonicpi/synths/synthinfo.rb#L2852-L2853)

For the tb303 synth, the cutoff decay level is between 0 and 1, and the validations there appear to match. (See https://github.com/samaaron/sonic-pi/blob/master/app/server/sonicpi/lib/sonicpi/synths/synthinfo.rb#L1501-L1502)

Also, I wasn't sure whether you wanted both the tb303 and sample cutoff decay values to refer to a MIDI value, or one to be 0 - 1 and the other 0 - 130 still... otherwise I would change this myself.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions