This commit is contained in:
5684185+vsariola@users.noreply.github.com
2025-06-27 15:40:28 +03:00
parent 0182d004b1
commit 285f33c261
5 changed files with 74 additions and 24 deletions

View File

@ -181,6 +181,9 @@ func (m *Model) deriveParams(unit *sointu.Unit) []Parameter {
if unit.Type == "oscillator" && unit.Parameters["type"] != sointu.Sample && (up.Name == "samplestart" || up.Name == "loopstart" || up.Name == "looplength") {
continue // don't show the sample related params unless necessary
}
if unit.Type == "send" && up.Name == "port" {
continue
}
ret = append(ret, Parameter{m: m, unit: unit, up: &unitType[i], vtable: &namedParameter{}})
}
if unit.Type == "oscillator" && unit.Parameters["type"] == sointu.Sample {