Enum GlobalSystemParameter.Type

Namespace
SpessaSharp.Synthesizer.Engine.Parameters
Assembly
SpessaSharp.dll
public enum GlobalSystemParameter.Type

Fields

AutoAllocateVoices = 3

Enabling this parameter will cause a new voice allocation when the voice cap is hit, rather than stealing existing voices. This is not recommended in real-time environments.

BlackMIDIMode = 12

Forces note killing instead of releasing. Improves performance in black MIDIs.

ChorusGain = 6

The chorus gain. From 0 to any number. 1 is 100% chorus.

ChorusLock = 7

If the synthesizer should prevent editing of the chorus parameters. This effect is modified using MIDI system exclusive messages, so the recommended use case would be setting the chorus parameters then locking it to prevent changes by MIDI files.

DelayGain = 8

The delay gain. From 0 to any number. 1 is 100% delay.

DelayLock = 9

If the synthesizer should prevent editing of the delay parameters. This effect is modified using MIDI system exclusive messages, so the recommended use case would be setting the delay parameters then locking it to prevent changes by MIDI files.

DeviceID = 13

Synthesizer's device ID for system exclusive messages. Set to -1 to accept all.

DrumLock = 11

If the synthesizer should prevent editing of the drum parameters. These params are modified using MIDI system exclusive messages or NRPN, so the recommended use case would be setting the drum parameters then locking it to prevent changes by MIDI files.

EffectsEnabled = 0

If the synthesizer processes the audio effects.

EventsEnabled = 1

If the event system is enabled.

FineTune = 17

The global tuning in cents. Drum channels ignore this value.

Gain = 14

The master gain. From 0 to any number. 1 is 100% volume.

InsertionEffectLock = 10

If the synthesizer should prevent changing the insertion effect type and parameters. This effect is modified using MIDI system exclusive messages, so the recommended use case would be setting the insertion effect type and parameters then locking it to prevent changes by MIDI files.

To lock the channel insertion assign, lock the EfxAssign parameter instead.

InterpolationType = 18

The interpolation type used for sample playback.

KeyShift = 16

The global key shift in semitones. Drum channels ignore this value.

MonophonicRetrigger = 20

Indicates whether the synthesizer is in monophonic retrigger mode. This emulates the behavior of Microsoft GS Wavetable Synth, Where a new note will kill the previous one if it is still playing.

NprnParamLock = 19

If the synthesizer should prevent changing any parameters via NRPN.

Pan = 15

The master pan. From -1 (left) to 1 (right). 0 is center.

This uses the cosine panning law, so the perceived loudness remains constant as the pan changes.

ReverbGain = 4

The reverb gain. From 0 to any number. 1 is 100% reverb.

ReverbLock = 5

If the synthesizer should prevent editing of the reverb parameters. This effect is modified using MIDI system exclusive messages, so the recommended use case would be setting the reverb parameters then locking it to prevent changes by MIDI files.

VoiceCap = 2

The maximum number of voices that can be played at once.

Increasing this value causes memory allocation for more voices.
It is recommended to set it at the beginning, before rendering audio to avoid GC.
Decreasing it does not cause memory usage change, so it's fine to use.