Skip to content

Commit

Permalink
naming
Browse files Browse the repository at this point in the history
  • Loading branch information
iljarotar committed Jan 21, 2025
1 parent de23478 commit f104404
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion module/envelope.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,5 +153,5 @@ func (e *Envelope) limitParams() {
e.BPM.Val = utils.Limit(e.BPM.Val, bpmLimits.min, bpmLimits.max)
e.BPM.ModAmp = utils.Limit(e.BPM.ModAmp, bpmLimits.min, bpmLimits.max)

e.Delay = utils.Limit(e.Delay, timeLimits.min, timeLimits.max)
e.Delay = utils.Limit(e.Delay, delayLimits.min, delayLimits.max)
}
2 changes: 1 addition & 1 deletion module/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ var (
panLimits limits = limits{min: -1, max: 1}
phaseLimits limits = limits{min: -1, max: 1}
pitchLimits limits = limits{min: 400, max: 500}
timeLimits limits = limits{min: 0, max: 3600}
delayLimits limits = limits{min: 0, max: 3600}
transposeLimits limits = limits{min: -24, max: 24}
)

Expand Down

0 comments on commit f104404

Please sign in to comment.