mirror of
https://github.com/vsariola/sointu.git
synced 2025-07-17 20:44:29 -04:00
feat: add ability to import 4klang patches and instruments
This commit is contained in:
parent
c06ac6ea5e
commit
248ba483c6
12
patch.go
12
patch.go
@ -192,6 +192,18 @@ func (p Patch) ParamHintString(instrIndex, unitIndex int, param string) string {
|
||||
}
|
||||
return fmt.Sprintf(portList[value])
|
||||
}
|
||||
case "delay":
|
||||
switch param {
|
||||
case "notetracking":
|
||||
switch value {
|
||||
case 0:
|
||||
return "fixed"
|
||||
case 1:
|
||||
return "tracks pitch"
|
||||
case 2:
|
||||
return "tracks BPM"
|
||||
}
|
||||
}
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
Reference in New Issue
Block a user