mirror of
https://github.com/vsariola/sointu.git
synced 2025-05-28 03:10:24 -04:00
make ParamHintString show range [-1,1] for send.amount
This commit is contained in:
parent
607e5b5da0
commit
98fedd0ed2
2
patch.go
2
patch.go
@ -168,6 +168,8 @@ func (p Patch) ParamHintString(instrIndex, unitIndex int, param string) string {
|
|||||||
}
|
}
|
||||||
case "send":
|
case "send":
|
||||||
switch param {
|
switch param {
|
||||||
|
case "amount":
|
||||||
|
return fmt.Sprintf("%.2f", float32(value)/64-1)
|
||||||
case "voice":
|
case "voice":
|
||||||
if value == 0 {
|
if value == 0 {
|
||||||
return "auto"
|
return "auto"
|
||||||
|
Loading…
Reference in New Issue
Block a user