mirror of
https://github.com/vsariola/sointu.git
synced 2026-02-26 10:03:16 -05:00
drafting
This commit is contained in:
parent
f88986dc64
commit
02a9d9747f
@ -71,6 +71,16 @@ func (v *spectrumChannels) SetValue(value int) bool {
|
||||
func (v *spectrumChannels) Range() RangeInclusive {
|
||||
return RangeInclusive{0, int(NumSpecChnModes) - 1}
|
||||
}
|
||||
func (v *spectrumChannels) StringOf(value int) string {
|
||||
switch SpecChnMode(value) {
|
||||
case SpecChnModeSum:
|
||||
return "Sum"
|
||||
case SpecChnModeSeparate:
|
||||
return "Separate"
|
||||
default:
|
||||
return "Unknown"
|
||||
}
|
||||
}
|
||||
|
||||
type SpecChnMode int
|
||||
|
||||
|
||||
Reference in New Issue
Block a user