diff --git a/sointu.go b/sointu.go index 0a4068c..5caa589 100644 --- a/sointu.go +++ b/sointu.go @@ -253,9 +253,9 @@ var UnitTypes = map[string]([]UnitParameter){ {Name: "type", MinValue: int(Sine), MaxValue: int(Sample), CanSet: true, CanModulate: false}, {Name: "lfo", MinValue: 0, MaxValue: 1, CanSet: true, CanModulate: false}, {Name: "unison", MinValue: 0, MaxValue: 3, CanSet: true, CanModulate: false}, - {Name: "samplestart", MinValue: 0, MaxValue: 3440659, CanSet: true, CanModulate: false}, + {Name: "samplestart", MinValue: 0, MaxValue: 1720329, CanSet: true, CanModulate: false}, {Name: "loopstart", MinValue: 0, MaxValue: 65535, CanSet: true, CanModulate: false}, - {Name: "looplength", MinValue: 0, MaxValue: 65535, CanSet: true, CanModulate: false}}, + {Name: "looplength", MinValue: 1, MaxValue: 65535, CanSet: true, CanModulate: false}}, "loadval": []UnitParameter{ {Name: "stereo", MinValue: 0, MaxValue: 1, CanSet: true, CanModulate: false}, {Name: "value", MinValue: 0, MaxValue: 128, CanSet: true, CanModulate: true}},