class Haematite::SynthesizerSettings
- Haematite::SynthesizerSettings
- Reference
- Object
Overview
This class specifies the settings to use when creating a Synthesizer
instance.
Defined in:
haematite/synthesizer-settings.crConstructors
-
.new(*, sampleRate : Int32 = DEFAULT_SAMPLE_RATE, blockSize : Int32 = DEFAULT_BLOCK_SIZE)
Creates a new set of
SynthesizerSettings
.
Instance Method Summary
-
#blockSize=(val : Int32)
Sets the size of rendered audio blocks, in bytes, in the settings.
-
#chanFilterMode : FilterMode
The type of lowpass filter to use on a channel.
-
#chanFilterMode=(chanFilterMode : FilterMode)
The type of lowpass filter to use on a channel.
-
#chorusInterpolation : RemiAudio::Interpolate::Mode
The interpolation mode to use for the chorus.
-
#chorusInterpolation=(chorusInterpolation : RemiAudio::Interpolate::Mode)
The interpolation mode to use for the chorus.
-
#chorusSend : UInt8
Overrides the initial chorus level on all channels.
-
#chorusSend=(chorusSend : UInt8)
Overrides the initial chorus level on all channels.
-
#dup : SynthesizerSettings
Creates a copy of this instance.
-
#enableChorus : Bool
When true, the chorus effect will be mixed into the output audio.
-
#enableChorus=(enableChorus : Bool)
When true, the chorus effect will be mixed into the output audio.
-
#enablePresetRemapping : Bool
When enabled, presets that are not found are re-mapped to a preset with the same number in the default bank (0).
-
#enablePresetRemapping=(enablePresetRemapping : Bool)
When enabled, presets that are not found are re-mapped to a preset with the same number in the default bank (0).
-
#enableReverb : Bool
When true, the reverb effect will be mixed into the output audio.
-
#enableReverb=(enableReverb : Bool)
When true, the reverb effect will be mixed into the output audio.
-
#enableSoftClipping : Bool
When true, soft clipping will be applied to the output of the synthesizer.
-
#enableSoftClipping=(enableSoftClipping : Bool)
When true, soft clipping will be applied to the output of the synthesizer.
-
#enableStereoEnhancer : Bool
When true, the stereo enhancer effect will be applied to the output audio.
-
#enableStereoEnhancer=(enableStereoEnhancer : Bool)
When true, the stereo enhancer effect will be applied to the output audio.
-
#instrumentChorus : Int16 | Nil
Overrides the chorus level on all instruments/presets by setting the appropriate generator parameter.
-
#instrumentChorus=(val : Int16 | Nil)
Overrides the chorus level on all instruments/presets by setting the appropriate generator parameter.
-
#instrumentReverb : Int16 | Nil
Overrides the reverb level on all instruments/presets by setting the appropriate generator parameter.
-
#instrumentReverb=(val : Int16 | Nil)
Overrides the reverb level on all instruments/presets by setting the appropriate generator parameter.
-
#mainVolume : Float64
The volume of the synthesizer.
- #mainVolume=(val : Float64)
-
#maximumPolyphony : Int32
The maximum number of concurrently playing voices.
-
#maximumPolyphony=(val : Int32)
Sets the maximum number of concurrently playing voices in the settings.
-
#reverbMode : ReverbMode
The type of reverb to use.
-
#reverbMode=(reverbMode : ReverbMode)
The type of reverb to use.
-
#reverbSend : UInt8
Overrides the initial reverb level on all channels.
-
#reverbSend=(reverbSend : UInt8)
Overrides the initial reverb level on all channels.
-
#sampleRate : Int32
The output sample rate.
-
#sampleRate=(val : Int32)
Sets the output sample rate in the settings.
-
#stereoEnhancement : Float64
The amount of stereo enhancement to apply when the stereo enhancer effect is enabled.
- #stereoEnhancement=(val : Float64)
-
#voiceFilterMode : FilterMode
The type of lowpass filter to use for voices.
-
#voiceFilterMode=(voiceFilterMode : FilterMode)
The type of lowpass filter to use for voices.
Constructor Detail
Instance Method Detail
The interpolation mode to use for the chorus.
The interpolation mode to use for the chorus.
Overrides the initial chorus level on all channels. Later MIDI events may still change the chorus. This does not affect the reverb settings for the instruments themselves.
Overrides the initial chorus level on all channels. Later MIDI events may still change the chorus. This does not affect the reverb settings for the instruments themselves.
When true, the chorus effect will be mixed into the output audio.
When enabled, presets that are not found are re-mapped to a preset with the same number in the default bank (0).
This is mainly intended for MIDI files that use non-standard bank numbers for General MIDI instruments. For example, the Roland JV-1010 uses bank 10371 for General MIDI patches.
When enabled, presets that are not found are re-mapped to a preset with the same number in the default bank (0).
This is mainly intended for MIDI files that use non-standard bank numbers for General MIDI instruments. For example, the Roland JV-1010 uses bank 10371 for General MIDI patches.
When true, the reverb effect will be mixed into the output audio.
When true, soft clipping will be applied to the output of the synthesizer.
When true, soft clipping will be applied to the output of the synthesizer.
When true, the stereo enhancer effect will be applied to the output audio.
When true, the stereo enhancer effect will be applied to the output audio.
Overrides the chorus level on all instruments/presets by setting the appropriate generator parameter.
Overrides the chorus level on all instruments/presets by setting the appropriate generator parameter.
Overrides the reverb level on all instruments/presets by setting the appropriate generator parameter.
Overrides the reverb level on all instruments/presets by setting the appropriate generator parameter.
Sets the maximum number of concurrently playing voices in the settings.
Overrides the initial reverb level on all channels. Later MIDI events may still change the reverb. This does not affect the reverb settings for the instruments themselves.
Overrides the initial reverb level on all channels. Later MIDI events may still change the reverb. This does not affect the reverb settings for the instruments themselves.
The amount of stereo enhancement to apply when the stereo enhancer effect is enabled.