Interface ISpectraVoiceModuleHandle
SpectraVoice synthesizes sound with a complex spectrum. You can place 16 harmonics on the spectrum graph, specifying the position, amplitude, shape and width for each.
public interface ISpectraVoiceModuleHandle : ITypedModuleHandle, IGenericSynthModuleHandle
- Inherited Members
Methods
GetAttack(ValueScalingMode)
Value range: displayed: 0 to 512, real: 0 to 512 Original name: 2 'Attack'
int GetAttack(ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)
Parameters
valueScalingModeValueScalingMode
Returns
- int
GetHFreq(ValueScalingMode)
Original name: 9 'H.freq'
int GetHFreq(ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)
Parameters
valueScalingModeValueScalingMode
Returns
- int
GetHType()
Original name: 12 'H.type'
SpectraVoiceHarmonicType GetHType()
Returns
GetHVolume(ValueScalingMode)
Original name: 10 'H.volume'
int GetHVolume(ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)
Parameters
valueScalingModeValueScalingMode
Returns
- int
GetHWidth(ValueScalingMode)
Original name: 11 'H.width'
int GetHWidth(ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)
Parameters
valueScalingModeValueScalingMode
Returns
- int
GetHarmonic(ValueScalingMode)
Original name: 8 'Harmonic'
int GetHarmonic(ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)
Parameters
valueScalingModeValueScalingMode
Returns
- int
GetMode()
Original name: 5 'Mode'
SpectraVoiceMode GetMode()
Returns
GetPanning(ValueScalingMode)
Value range: displayed: -128 to 128, real: 0 to 256 Original name: 1 'Panning'
int GetPanning(ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)
Parameters
valueScalingModeValueScalingMode
Returns
- int
GetPolyphony(ValueScalingMode)
Original name: 4 'Polyphony'
int GetPolyphony(ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)
Parameters
valueScalingModeValueScalingMode
Returns
- int
GetRelease(ValueScalingMode)
Value range: displayed: 0 to 512, real: 0 to 512 Original name: 3 'Release'
int GetRelease(ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)
Parameters
valueScalingModeValueScalingMode
Returns
- int
GetSpectrumResolution()
Original name: 7 'Spectrum resolution'
SpectraVoiceResolution GetSpectrumResolution()
Returns
GetSustain()
Original name: 6 'Sustain'
Toggle GetSustain()
Returns
GetVolume(ValueScalingMode)
Value range: displayed: 0 to 256, real: 0 to 256 Original name: 0 'Volume'
int GetVolume(ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)
Parameters
valueScalingModeValueScalingMode
Returns
- int
MakeAttackEvent(int)
This is a helper method to automatically handle turning target controller values into column values.
For this controller the input value is mapped from displayed range (0 to 512) to column range (0 to 0x8000). Out of range values are clamped.
PatternEvent MakeAttackEvent(int value)
Parameters
valueint
Returns
MakeHFreqEvent(int)
This is a helper method to automatically handle turning target controller values into column values.
For this controller the input value is taken as is, only clamped to column value range.
PatternEvent MakeHFreqEvent(int value)
Parameters
valueint
Returns
MakeHTypeEvent(SpectraVoiceHarmonicType)
This is a helper method to automatically handle turning target controller values into column values.
For this controller the input value is taken as is, only clamped to column value range.
PatternEvent MakeHTypeEvent(SpectraVoiceHarmonicType value)
Parameters
valueSpectraVoiceHarmonicType
Returns
MakeHVolumeEvent(int)
This is a helper method to automatically handle turning target controller values into column values.
For this controller the input value is taken as is, only clamped to column value range.
PatternEvent MakeHVolumeEvent(int value)
Parameters
valueint
Returns
MakeHWidthEvent(int)
This is a helper method to automatically handle turning target controller values into column values.
For this controller the input value is taken as is, only clamped to column value range.
PatternEvent MakeHWidthEvent(int value)
Parameters
valueint
Returns
MakeHarmonicEvent(int)
This is a helper method to automatically handle turning target controller values into column values.
For this controller the input value is taken as is, only clamped to column value range.
PatternEvent MakeHarmonicEvent(int value)
Parameters
valueint
Returns
MakeModeEvent(SpectraVoiceMode)
This is a helper method to automatically handle turning target controller values into column values.
For this controller the input value is taken as is, only clamped to column value range.
PatternEvent MakeModeEvent(SpectraVoiceMode value)
Parameters
valueSpectraVoiceMode
Returns
MakePanningEvent(int)
This is a helper method to automatically handle turning target controller values into column values.
For this controller the input value is mapped from displayed range (-128 to 128) to column range (0 to 0x8000). Out of range values are clamped.
PatternEvent MakePanningEvent(int value)
Parameters
valueint
Returns
MakePolyphonyEvent(int)
This is a helper method to automatically handle turning target controller values into column values.
For this controller the input value is taken as is, only clamped to column value range.
PatternEvent MakePolyphonyEvent(int value)
Parameters
valueint
Returns
MakeReleaseEvent(int)
This is a helper method to automatically handle turning target controller values into column values.
For this controller the input value is mapped from displayed range (0 to 512) to column range (0 to 0x8000). Out of range values are clamped.
PatternEvent MakeReleaseEvent(int value)
Parameters
valueint
Returns
MakeSpectrumResolutionEvent(SpectraVoiceResolution)
This is a helper method to automatically handle turning target controller values into column values.
For this controller the input value is taken as is, only clamped to column value range.
PatternEvent MakeSpectrumResolutionEvent(SpectraVoiceResolution value)
Parameters
valueSpectraVoiceResolution
Returns
MakeSustainEvent(Toggle)
This is a helper method to automatically handle turning target controller values into column values.
For this controller the input value is taken as is, only clamped to column value range.
PatternEvent MakeSustainEvent(Toggle value)
Parameters
valueToggle
Returns
MakeVolumeEvent(int)
This is a helper method to automatically handle turning target controller values into column values.
For this controller the input value is mapped from displayed range (0 to 256) to column range (0 to 0x8000). Out of range values are clamped.
PatternEvent MakeVolumeEvent(int value)
Parameters
valueint
Returns
SetAttack(int, ValueScalingMode)
Value range: displayed: 0 to 512, real: 0 to 512 Original name: 2 'Attack' Note: equivalent SendEvent(int, PatternEvent) will be used internally, which may introduce latency. It will also be affected by the event timestamp set.
void SetAttack(int value, ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)
Parameters
valueintvalueScalingModeValueScalingMode
SetHFreq(int, ValueScalingMode)
Original name: 9 'H.freq' Note: equivalent SendEvent(int, PatternEvent) will be used internally, which may introduce latency. It will also be affected by the event timestamp set.
void SetHFreq(int value, ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)
Parameters
valueintvalueScalingModeValueScalingMode
SetHType(SpectraVoiceHarmonicType)
Original name: 12 'H.type' Note: equivalent SendEvent(int, PatternEvent) will be used internally, which may introduce latency. It will also be affected by the event timestamp set.
void SetHType(SpectraVoiceHarmonicType value)
Parameters
valueSpectraVoiceHarmonicType
SetHVolume(int, ValueScalingMode)
Original name: 10 'H.volume' Note: equivalent SendEvent(int, PatternEvent) will be used internally, which may introduce latency. It will also be affected by the event timestamp set.
void SetHVolume(int value, ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)
Parameters
valueintvalueScalingModeValueScalingMode
SetHWidth(int, ValueScalingMode)
Original name: 11 'H.width' Note: equivalent SendEvent(int, PatternEvent) will be used internally, which may introduce latency. It will also be affected by the event timestamp set.
void SetHWidth(int value, ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)
Parameters
valueintvalueScalingModeValueScalingMode
SetHarmonic(int, ValueScalingMode)
Original name: 8 'Harmonic' Note: equivalent SendEvent(int, PatternEvent) will be used internally, which may introduce latency. It will also be affected by the event timestamp set.
void SetHarmonic(int value, ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)
Parameters
valueintvalueScalingModeValueScalingMode
SetMode(SpectraVoiceMode)
Original name: 5 'Mode' Note: equivalent SendEvent(int, PatternEvent) will be used internally, which may introduce latency. It will also be affected by the event timestamp set.
void SetMode(SpectraVoiceMode value)
Parameters
valueSpectraVoiceMode
SetPanning(int, ValueScalingMode)
Value range: displayed: -128 to 128, real: 0 to 256 Original name: 1 'Panning' Note: equivalent SendEvent(int, PatternEvent) will be used internally, which may introduce latency. It will also be affected by the event timestamp set.
void SetPanning(int value, ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)
Parameters
valueintvalueScalingModeValueScalingMode
SetPolyphony(int, ValueScalingMode)
Original name: 4 'Polyphony' Note: equivalent SendEvent(int, PatternEvent) will be used internally, which may introduce latency. It will also be affected by the event timestamp set.
void SetPolyphony(int value, ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)
Parameters
valueintvalueScalingModeValueScalingMode
SetRelease(int, ValueScalingMode)
Value range: displayed: 0 to 512, real: 0 to 512 Original name: 3 'Release' Note: equivalent SendEvent(int, PatternEvent) will be used internally, which may introduce latency. It will also be affected by the event timestamp set.
void SetRelease(int value, ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)
Parameters
valueintvalueScalingModeValueScalingMode
SetSpectrumResolution(SpectraVoiceResolution)
Original name: 7 'Spectrum resolution' Note: equivalent SendEvent(int, PatternEvent) will be used internally, which may introduce latency. It will also be affected by the event timestamp set.
void SetSpectrumResolution(SpectraVoiceResolution value)
Parameters
valueSpectraVoiceResolution
SetSustain(Toggle)
Original name: 6 'Sustain' Note: equivalent SendEvent(int, PatternEvent) will be used internally, which may introduce latency. It will also be affected by the event timestamp set.
void SetSustain(Toggle value)
Parameters
valueToggle
SetVolume(int, ValueScalingMode)
Value range: displayed: 0 to 256, real: 0 to 256 Original name: 0 'Volume' Note: equivalent SendEvent(int, PatternEvent) will be used internally, which may introduce latency. It will also be affected by the event timestamp set.
void SetVolume(int value, ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)
Parameters
valueintvalueScalingModeValueScalingMode