Python Effects Types
The records the effects and editing functions return or take: separation on Python Effects API and Python Feature Extraction API, trimming on Python Dynamics and Repair API and Python Metering and Signal Helpers API, note and percussive editing on Python Note Editing API, transcription on Python Analysis API, and the voice changer on Python Streaming API. Analysis records are on Python Analysis Types.
Separation results
hpss returns an HpssResult: harmonic and percussive are length samples each at sample_rate Hz, and residual is what neither component claimed, None unless with_residual=True.
decompose returns a DecomposeResult with a component matrix w of shape (n_features, n_components) and an activation matrix h of shape (n_components, n_frames), both float32. decompose_stems adds components, one 1-D float32 signal per component the length of the input, and sample_rate; its w is (n_bins, n_components). decompose_stems_linked takes a multi-channel input: each component is a (num_channels, n) array with channel ch at row ch, and w comes from the channel-averaged plane.
# Harmonic-percussive source separation result.
@dataclass(frozen=True, slots=True, eq=False)
class HpssResult:
harmonic: npt.NDArray[np.float32]
percussive: npt.NDArray[np.float32]
length: int
sample_rate: int
residual: npt.NDArray[np.float32] | None = None
# Result of :func:`decompose`.
@dataclass(frozen=True, slots=True, eq=False)
class DecomposeResult:
w: np.ndarray
h: np.ndarray
# Result of :func:`decompose_stems`.
@dataclass(frozen=True, slots=True, eq=False)
class DecomposeStemsResult:
components: list[np.ndarray]
w: np.ndarray
h: np.ndarray
sample_rate: int
# Result of :func:`decompose_stems_linked`.
@dataclass(frozen=True, slots=True, eq=False)
class DecomposeStemsLinkedResult:
components: list[np.ndarray]
w: np.ndarray
h: np.ndarray
sample_rate: intNormalize and trim results
normalize_stereo measures the level across both channels and applies one gain to both, which keeps the stereo balance intact; a pair that is already silent comes back untouched. length is the length of each channel in samples.
trim_silence returns a TrimResult: audio is a float32 array, and start_sample and end_sample bound it in the input as [start_sample, end_sample).
The repair trimmers (mastering_repair_trim_silence, mastering_repair_trim_silence_stereo and mastering_repair_detect_trim_range) use ranges and reports:
TrimRangeis one half-open sample range in input-buffer coordinates;first == last_exclusiveis an empty range, which is what a channel carrying nothing reports.TrimReport.rangeis the kept range, padding included, withremoved_head_samplesandremoved_tail_samplescounting what was dropped on each side. A pass that kept nothing reports the range(length, length), which counts the whole buffer as removed head and leavesremoved_tail_samplesat 0; the two still sum to the input length.TrimSilenceResult.samplesisreport.range.last_exclusive - report.range.firstsamples long. A pass that kept nothing returns an emptysamples, a success rather than a refusal.TrimSilenceStereoResult.lengthis the output length, not the input length that other stereo repair results echo, because trimming shortens the pair.report.rangeis the union applied to both channels;left_rangeandright_rangeare the per-channel scans it was formed from, so you can see which channel decided each edge. When neither channel carries signal both lists are empty andlengthis 0.
# A normalized channel pair.
@dataclass(frozen=True, slots=True, eq=False)
class NormalizeStereoResult:
left: npt.NDArray[np.float32]
right: npt.NDArray[np.float32]
length: int
# Audio kept by :func:`trim_silence` and the span it came from.
@dataclass(frozen=True, slots=True, eq=False)
class TrimResult:
audio: npt.NDArray[np.float32]
start_sample: int
end_sample: int
# One half-open sample range, in input-buffer coordinates.
@dataclass(frozen=True, slots=True)
class TrimRange:
first: int
last_exclusive: int
# What a trim pass kept and what it dropped.
@dataclass(frozen=True, slots=True)
class TrimReport:
range: TrimRange
removed_head_samples: int
removed_tail_samples: int
# A trimmed mono buffer and the range it was cut to.
@dataclass(frozen=True, slots=True, eq=False)
class TrimSilenceResult:
samples: NDArray[np.float32]
report: TrimReport
# A trimmed stereo pair, the range both channels were cut to, and the two per-channel scans that range is the union of.
@dataclass(frozen=True, slots=True, eq=False)
class TrimSilenceStereoResult:
left: npt.NDArray[np.float32]
right: npt.NDArray[np.float32]
length: int
report: TrimReport
left_range: TrimRange
right_range: TrimRangesplit_silence_common_with_report returns the shared non-silent intervals and a SilenceCommonReport that says why they came out so. intervals is an int64 array of shape (n_intervals, 2) of [start_sample, end_sample) rows.
One interval covering everything is the answer to three different situations that the interval list does not separate: no take has a quiet moment at all, the takes each have one but not in the same place, or top_db was set too loose to see the quiet they do have. Read silence_ceiling_db, the largest top_db at which every signal still shows silence, against the top_db you passed:
- Near 0, a take is sounding continuously and no threshold helps.
- Below
top_db, the threshold was too loose to see the quiet these takes have, and one under the reported ceiling finds it. - At or above
top_dbwith a single interval, every take shows silence at this setting and they do not share any of it: the alignment case.
max_signal_intervals and min_signal_intervals count what the most and least fragmented signal produced alone, before the union merged anything. They measure shape rather than cause: a take that sounds once and stops counts 1, exactly as a take with no silence does, so use the ceiling to tell those apart and these to see whether any take has an interior gap (2 or more) and whether the takes differ in how broken up they are.
# Intervals from :func:`split_silence_common_with_report` and why they came out so.
@dataclass(frozen=True, slots=True, eq=False)
class SplitSilenceCommonWithReportResult:
intervals: npt.NDArray[np.int64]
report: SilenceCommonReport
# Why :func:`split_silence_common_with_report` found the gaps it did.
@dataclass(frozen=True, slots=True)
class SilenceCommonReport:
silence_ceiling_db: float | None
max_signal_intervals: int
min_signal_intervals: intPitch correction and transcription
auto_tune returns an AutoTuneResult: samples is the corrected audio, the length of the input, and key is the key it was tuned to, either the detected one (with the model's own confidence, see Key) or the one the call named (confidence 1).
transcribe returns a TranscribeResult ready to hand to a MIDI clip. events are note-on and note-off pairs, the records Project.set_midi_events takes, in canonical PPQ order with a note-off before a note-on that shares its tick; there are two events per note, so len(events) is 2 * note_count. tempo_bpm is the tempo the PPQ coordinates were built on: the requested value when one was given, the detected one otherwise. tuning_cents is the tuning the note numbers were measured against, in cents from concert A440: the measured value under reference_hz="auto", otherwise the one reference_hz amounts to (reference_hz_to_tuning).
# Result of :func:`auto_tune`.
@dataclass(frozen=True, slots=True, eq=False)
class AutoTuneResult:
samples: npt.NDArray[np.float32]
key: Key
# What one transcription found, ready to hand to a MIDI clip.
@dataclasses.dataclass(frozen=True)
class TranscribeResult:
events: list[ProjectMidiEvent] = dataclasses.field(default_factory=list)
note_count: int = 0
tempo_bpm: float = 0.0
tuning_cents: float = 0.0Note editing
extract_notes returns NoteObject records, each carrying a pending NoteEdit that render_notes applies. Sample bounds are half-open into the source audio; frame bounds are half-open into your own F0 track, so the note's pitch curve is f0_hz[frame_start:frame_end], which the note does not repeat. amplitude is one RMS value per F0 frame, already sliced to the note. It is left out of ==, which compares the span, the metrics and the edit.
A returned NoteObject carries its span in samples, and every field is filled by the library. render_notes reads onset_sample, offset_sample and edit, plus the frame bounds and median_hz when a curve edit needs them, so you can hand back exactly what extract_notes produced. A span found some other way is a NoteObjectInput, whose bounds are stated in samples (onset_sample, offset_sample) or in seconds (onset_sec, offset_sec, rounded to the nearest sample at the call's sample rate), one spelling per bound. Neither has a default, and a call given a note with neither bound rejects it, because a default of 0 would be a zero-length span that renders the edit as nothing. split_note and merge_notes identify a note by its frame bounds alone and take a NoteSetEntry; a returned NoteObject is accepted there too. median_hz is None when the span carries no usable pitch, median_cents is cents above the extractor's reference_hz, and f0_stability is in [0, 1], 1 being perfectly steady.
The default NoteEdit is the identity, so a note carrying it is left untouched. Mutate the fields in place to schedule work. Within one note render_notes applies the edits in a fixed order: pitch curve, time stretch, pitch shift, formant warp, amplitude envelope, gain.
| Field | Effect |
|---|---|
time_offset_samples | Moves the note along the timeline; negative moves it earlier. 0 is the identity. NoteEditInput also takes time_offset_sec, rounded to the nearest sample; set one, not both |
pitch_semitones | Transposes the note; duration is unchanged |
gain_db | Level change over the note's span |
time_stretch_ratio | Duration ratio: above 1 lengthens, below 1 shortens, pitch preserved. The opposite sense of time_stretch's speed_ratio, which is a speed |
muted | True silences the span; the other fields then do not apply |
formant_semitones | Moves the spectral envelope on top of what pitch_semitones did to it. 0 runs no warp at all. A pitch shift drags the formants with it, so holding them still is -pitch_semitones. Saturates near -10.3 and +8.7 semitones rather than being rejected |
vibrato_depth_change | Scales the vibrato measured over the note as a change: 0 keeps it, -1 flattens it, +1 doubles it. It acts on the note's own pitch curve, so render_notes rejects a note carrying it unless f0_hz is passed too |
drift_change | The same for the slow drift around the note's centre pitch; the two curves are split at vibrato_cutoff_hz |
amplitude_envelope | float32 linear gain points over the note's span, on top of gain_db; empty is no envelope. It is stretched over whatever length the note renders at, so it survives a time stretch, and one entry is a constant gain |
edit = libsonare.NoteEditInput(gain_db=-3.0)
edit.amplitude_envelope = np.array([1.0, 0.0], dtype=np.float32)
edit.vibrato_depth_change = -1.0 # flatten this note's vibratodecompose_note_pitch returns a PitchDecompositionResult: drift_cents[i] + vibrato_cents[i] is the note's own pitch at frame i, in cents above center_hz, to within float rounding, so the three parts reconstruct the curve. The drift filter is zero phase, so neither curve is shifted in time against the audio. Frames whose F0 is unusable carry no measurement; the curve is held at the nearest usable neighbor across them, so both curves have an entry everywhere. center_hz is None when the note carries no usable pitch, and then both curves are empty.
note_targets_from_smf reads a reference melody as NoteTarget records and assign_note_targets writes each note's pitch_semitones from the target it overlaps. Target times are seconds from the start of the audio the notes were extracted from, so a reference written against a different take has to be offset first. Nothing in a NoteTarget has a default. A span not longer than start_sec overlaps nothing and is never assigned. target_midi is a MIDI number; fractional values are meaningful for a reference measured off audio. AssignNoteTargetsResult.notes carries the edited notes and assigned_count how many got a target.
targets = [libsonare.NoteTarget(0.0, 0.5, 60.0),
libsonare.NoteTarget(0.5, 1.0, 67.0)]# One editable note returned by :func:`extract_notes`.
@dataclasses.dataclass(frozen=True)
class NoteObject:
onset_sample: int
offset_sample: int
frame_start: int
frame_end: int
median_hz: float | None
median_cents: float
f0_stability: float
amplitude: NDArray[np.float32] = dataclasses.field(compare=False)
edit: NoteEdit = dataclasses.field(default_factory=NoteEdit)
# A pending, non-destructive change to one :class:`NoteObject`.
@dataclasses.dataclass
class NoteEdit:
time_offset_samples: int = 0
pitch_semitones: float = 0.0
gain_db: float = 0.0
time_stretch_ratio: float = 1.0
muted: bool = False
formant_semitones: float = 0.0
vibrato_depth_change: float = 0.0
drift_change: float = 0.0
amplitude_envelope: NDArray[np.float32] = dataclasses.field(default_factory=lambda: np.empty(0, dtype=np.float32), compare=False)
# One note's pitch curve split into a centre, a slow drift and a vibrato.
@dataclasses.dataclass(frozen=True)
class PitchDecompositionResult:
center_hz: float | None = None
drift_cents: NDArray[np.float32] = dataclasses.field(default_factory=lambda: np.empty(0, dtype=np.float32), compare=False)
vibrato_cents: NDArray[np.float32] = dataclasses.field(default_factory=lambda: np.empty(0, dtype=np.float32), compare=False)
# One note of a reference melody.
@dataclasses.dataclass(frozen=True)
class NoteTarget:
start_sec: float
end_sec: float
target_midi: float
# Result of :func:`assign_note_targets`.
@dataclasses.dataclass(frozen=True, slots=True)
class AssignNoteTargetsResult:
notes: tuple[NoteObject, ...]
assigned_count: int# A note a host hands to :func:`render_notes` for a span it found itself.
@dataclasses.dataclass(frozen=True, kw_only=True)
class NoteObjectInput:
onset_sample: int | None = None
onset_sec: float | None = None
offset_sample: int | None = None
offset_sec: float | None = None
frame_start: int | None = None
frame_end: int | None = None
median_hz: float | None = None
edit: NoteEdit | NoteEditInput = dataclasses.field(default_factory=NoteEditInput)
# A note edit a host builds, for :class:`NoteObjectInput` and :class:`NoteSetEntry`.
@dataclasses.dataclass(kw_only=True)
class NoteEditInput:
time_offset_samples: int | None = None
time_offset_sec: float | None = None
pitch_semitones: float = 0.0
gain_db: float = 0.0
time_stretch_ratio: float = 1.0
muted: bool = False
formant_semitones: float = 0.0
vibrato_depth_change: float = 0.0
drift_change: float = 0.0
amplitude_envelope: Sequence[float] | NDArray[np.float32] = dataclasses.field(default_factory=lambda: np.empty(0, dtype=np.float32), compare=False)
# One note of the set :func:`split_note` and :func:`merge_notes` re-derive.
@dataclasses.dataclass(frozen=True, kw_only=True)
class NoteSetEntry:
frame_start: int
frame_end: int
edit: NoteEdit | NoteEditInput = dataclasses.field(default_factory=NoteEditInput)Percussive events
extract_percussive_events returns PercussiveEvent records that render_percussive_events edits. A struck sound has no steady pitch, so an event carries no pitch and is never associated with a NoteObject; the two models come from separate calls and do not refer to each other. A returned event carries its span in samples; a span found some other way is a PercussiveEventInput, whose bounds follow the same rules as a NoteObjectInput: samples or seconds, one spelling per bound, neither defaulted.
onset_sampleis backtracked to the start of the transient rather than left where peak-picking landed.offset_sampleis the next onset, ormax_event_mswhere none follows.strengthis the detector strength at the onset on the onset envelope's own scale; it orders events against each other and has no absolute meaning.peak_amplitudeis the peak absolute sample of the percussive component over the span, linear; it is the signaledit.gain_dbscales.percussive_ratiois the share of the span's energy the separation assigned to percussion, in[0, 1], 0 when the span is silent. It describes the span, not the onset that opened it: an isolated hit sits near 1, but a real hit under a loud sustain sits near 0, so it is not a test for whether a hit is there.
PercussiveEventEdit has only time and amplitude axes. Its default is the identity edit. time_offset_samples (or time_offset_sec on a PercussiveEventEditInput) moves the hit and truncates rather than wraps a shift past either end of the audio. gain_db scales the percussive component of the span. muted silences that component alone, so whatever was sustaining under the hit keeps sounding.
events[0].edit.gain_db = -6.0
events[1].edit.time_offset_samples = -441 # 20 ms earlier at 22050 Hz# One editable percussive event returned by :func:`extract_percussive_events`.
@dataclasses.dataclass(frozen=True)
class PercussiveEvent:
onset_sample: int
offset_sample: int
strength: float
peak_amplitude: float
percussive_ratio: float | None
edit: PercussiveEventEdit = dataclasses.field(default_factory=PercussiveEventEdit)
# A pending, non-destructive change to one :class:`PercussiveEvent`.
@dataclasses.dataclass
class PercussiveEventEdit:
time_offset_samples: int = 0
gain_db: float = 0.0
muted: bool = False# A hand-built span for :func:`render_percussive_events`.
@dataclasses.dataclass(frozen=True, kw_only=True)
class PercussiveEventInput:
onset_sample: int | None = None
onset_sec: float | None = None
offset_sample: int | None = None
offset_sec: float | None = None
edit: PercussiveEventEdit | PercussiveEventEditInput = dataclasses.field(default_factory=PercussiveEventEditInput)
# A hand-built :class:`PercussiveEventEdit`, whose offset may be given in seconds.
@dataclasses.dataclass(kw_only=True)
class PercussiveEventEditInput:
time_offset_samples: int | None = None
time_offset_sec: float | None = None
gain_db: float = 0.0
muted: bool = FalseSpectral region edits
SpectralRegionOp is one time-by-frequency rectangle for spectral_edit. mode is "gain", "attenuate", "mute" or "heal"; gain_db applies to "gain" and "attenuate" and is ignored by the other two. Each time bound is given in samples (start_sample, end_sample) or in seconds (start_sec, end_sec, rounded to the nearest sample at the call's sample_rate), one spelling per bound; giving both is refused. An omitted start is 0, an omitted end (None) spans to the end of the signal, a bound past the end reads as the end and a negative bound is refused. low_hz is clamped to [0, nyquist]; high_hz must be finite and greater than 0, and None or a value at or above Nyquist means Nyquist.
# One time x frequency rectangle edit op for :func:`spectral_edit`.
@dataclasses.dataclass
class SpectralRegionOp:
start_sample: int | None = None
end_sample: int | None = None
low_hz: float = 0.0
high_hz: float | None = None
gain_db: float = 0.0
mode: SpectralEditMode = 'gain'
start_sec: float | None = None
end_sec: float | None = NoneRealtime voice changer configuration
RealtimeVoiceChangerConfig is a flat mirror of the C struct, in its field order. Every default is seeded from the built-in neutralMonitor preset, so a default-constructed instance is a usable neutral voice rather than a bypassed-gate, flat-EQ one. An out-of-range entry is refused by RealtimeVoiceChanger.set_config with a SonareValueError, and at creation with a coded SonareError (INVALID_FORMAT, the creation document being a JSON entry point). realtime_voice_changer_preset_config returns the config of a built-in preset.
The enum-valued fields take the spellings listed below; an unknown spelling raises SonareValueError. harmony_steps holds exactly three scale-degree offsets. The gate, compressor and limiter *_attack_ms and *_release_ms times are one time constant: about 63% of the way at the set time. Fields marked "fixed at creation" cannot change through set_config.
| Stage | Fields and accepted values |
|---|---|
| Level | input_gain_db [-24, 24]; output_gain_db [-36, 12]; wet_mix [0, 1], 1 fully processed |
| Retune | retune_pitch_semitones finite in [-24, 24]; retune_mix [0, 1]; retune_grain_size_samples None derives it from the sample rate, an explicit grain is a multiple of 4 in [4, 8192] and 0 is refused (the grain in use is resolved at prepare) |
| Formant | formant_factor [0.55, 1.65], 1 leaves the formants alone; formant_amount [0, 1]; formant_body, formant_brightness, formant_nasal [-1, 1]; formant_mode "relative" (default) or "absolute", fixed at creation |
| EQ | eq_high_pass_hz [20, 300]; eq_body_db, eq_presence_db, eq_air_db [-12, 12] |
| Gate | gate_threshold_db [-90, -12]; gate_range_db [0, 80] |
| Compressor | compressor_threshold_db [-60, 0]; compressor_ratio [1, 20]; compressor_makeup_gain_db [-12, 12] |
| De-esser | deesser_frequency_hz [3000, 12000]; deesser_threshold_db [-60, -6]; deesser_ratio [1, 20]; deesser_range_db [0, 24] |
| Space | reverb_mix [0, 0.45], shared by every variation; reverb_time_ms [40, 1800]; reverb_damping [0, 1]; reverb_seed 32-bit signed; reverb_variation "reverb", "echo", "tempoDelay" or "dubEcho"; reverb_variation_delay_ms [1, 3000]; reverb_variation_feedback [0, 0.95]; reverb_variation_tempo_bpm [30, 300]; reverb_variation_division "quarter", "eighth", "dottedEighth" or "sixteenth" |
| Limiter | limiter_ceiling_db [-12, -1]; limiter_enable_isp_limiter enables the 4x-oversampled inter-sample-peak (true-peak) limiter, whose ceiling is limiter_isp_ceiling_dbtp |
| Voice engine | voice_engine "grain" (f0-less SOLA retune) or "psola" (tracks f0), fixed at creation; voice_engine_f0_min_hz [50, 200], sets the psola latency, fixed at creation |
| Pitch correction | pitch_correction_mode "off", "auto" (scale snap) or "robot" (one pitch class); pitch_correction_amount [0, 1]; pitch_correction_speed_ms [0, 400]; pitch_correction_key_root 0 = C to 11 = B, unused for a chromatic scale; pitch_correction_scale "major", "naturalMinor" or "chromatic"; pitch_correction_robot_octave [-1, 1] |
| Harmony | harmony_voices [0, 3]; harmony_steps each in [-7, 7], 0 is unison; harmony_level, harmony_lead_level [0, 1]; harmony_detune_cents [0, 30]; harmony_delay_ms [0, 40] |
| Vocoder | vocoder_enabled; vocoder_bands [8, 32], fixed at creation; vocoder_attack_ms [0.5, 50]; vocoder_release_ms [2, 300]; vocoder_sibilance [0, 1]; vocoder_carrier_source "internal" or "external"; vocoder_carrier_wave "saw", "pulse" or "ensemble"; vocoder_ensemble_detune_cents [0, 30]; vocoder_level [0, 1] |
| Character | character_type "none", "megaphone", "radio", "bbdChorus" or "strobo"; character_amount [0, 1]; character_tone [-1, 1] |
| MIDI | midi_release "hold" keeps the last note after every held note is released, "input" follows the input |
Absolute formant mode uses formant_factor to set the shift relative to the input and ignores formant_amount. With voice_engine="grain", it adds an analysis frame of latency and refuses configurations whose computed warp is unreachable. The default PSOLA engine adds no mode-dependent latency. set_config cannot change formant_mode. See Realtime Voice Changer for the stages.
# Flat mirror of :class:`SonareRealtimeVoiceChangerConfig`.
@dataclasses.dataclass(frozen=True)
class RealtimeVoiceChangerConfig:
input_gain_db: float = dataclasses.field(default_factory=_neutral_default('input_gain_db'))
output_gain_db: float = dataclasses.field(default_factory=_neutral_default('output_gain_db'))
wet_mix: float = dataclasses.field(default_factory=_neutral_default('wet_mix'))
retune_pitch_semitones: float = dataclasses.field(default_factory=_neutral_default('retune_pitch_semitones'))
retune_mix: float = dataclasses.field(default_factory=_neutral_default('retune_mix'))
retune_grain_size_samples: int | None = dataclasses.field(default_factory=_neutral_default('retune_grain_size_samples'))
formant_factor: float = dataclasses.field(default_factory=_neutral_default('formant_factor'))
formant_amount: float = dataclasses.field(default_factory=_neutral_default('formant_amount'))
formant_body: float = dataclasses.field(default_factory=_neutral_default('formant_body'))
formant_brightness: float = dataclasses.field(default_factory=_neutral_default('formant_brightness'))
formant_nasal: float = dataclasses.field(default_factory=_neutral_default('formant_nasal'))
formant_mode: FormantMode = dataclasses.field(default_factory=_neutral_default('formant_mode'))
eq_high_pass_hz: float = dataclasses.field(default_factory=_neutral_default('eq_high_pass_hz'))
eq_body_db: float = dataclasses.field(default_factory=_neutral_default('eq_body_db'))
eq_presence_db: float = dataclasses.field(default_factory=_neutral_default('eq_presence_db'))
eq_air_db: float = dataclasses.field(default_factory=_neutral_default('eq_air_db'))
gate_threshold_db: float = dataclasses.field(default_factory=_neutral_default('gate_threshold_db'))
gate_attack_ms: float = dataclasses.field(default_factory=_neutral_default('gate_attack_ms'))
gate_release_ms: float = dataclasses.field(default_factory=_neutral_default('gate_release_ms'))
gate_range_db: float = dataclasses.field(default_factory=_neutral_default('gate_range_db'))
compressor_threshold_db: float = dataclasses.field(default_factory=_neutral_default('compressor_threshold_db'))
compressor_ratio: float = dataclasses.field(default_factory=_neutral_default('compressor_ratio'))
compressor_attack_ms: float = dataclasses.field(default_factory=_neutral_default('compressor_attack_ms'))
compressor_release_ms: float = dataclasses.field(default_factory=_neutral_default('compressor_release_ms'))
compressor_makeup_gain_db: float = dataclasses.field(default_factory=_neutral_default('compressor_makeup_gain_db'))
deesser_frequency_hz: float = dataclasses.field(default_factory=_neutral_default('deesser_frequency_hz'))
deesser_threshold_db: float = dataclasses.field(default_factory=_neutral_default('deesser_threshold_db'))
deesser_ratio: float = dataclasses.field(default_factory=_neutral_default('deesser_ratio'))
deesser_range_db: float = dataclasses.field(default_factory=_neutral_default('deesser_range_db'))
reverb_mix: float = dataclasses.field(default_factory=_neutral_default('reverb_mix'))
reverb_time_ms: float = dataclasses.field(default_factory=_neutral_default('reverb_time_ms'))
reverb_damping: float = dataclasses.field(default_factory=_neutral_default('reverb_damping'))
reverb_seed: int = dataclasses.field(default_factory=_neutral_default('reverb_seed'))
limiter_ceiling_db: float = dataclasses.field(default_factory=_neutral_default('limiter_ceiling_db'))
limiter_release_ms: float = dataclasses.field(default_factory=_neutral_default('limiter_release_ms'))
limiter_enable_isp_limiter: bool = dataclasses.field(default_factory=_neutral_default('limiter_enable_isp_limiter'))
limiter_isp_ceiling_dbtp: float = dataclasses.field(default_factory=_neutral_default('limiter_isp_ceiling_dbtp'))
voice_engine: VoiceEngine = dataclasses.field(default_factory=_neutral_default('voice_engine'))
voice_engine_f0_min_hz: float = dataclasses.field(default_factory=_neutral_default('voice_engine_f0_min_hz'))
pitch_correction_mode: PitchCorrectionMode = dataclasses.field(default_factory=_neutral_default('pitch_correction_mode'))
pitch_correction_amount: float = dataclasses.field(default_factory=_neutral_default('pitch_correction_amount'))
pitch_correction_speed_ms: float = dataclasses.field(default_factory=_neutral_default('pitch_correction_speed_ms'))
pitch_correction_key_root: int = dataclasses.field(default_factory=_neutral_default('pitch_correction_key_root'))
pitch_correction_scale: ScaleKind = dataclasses.field(default_factory=_neutral_default('pitch_correction_scale'))
pitch_correction_robot_octave: int = dataclasses.field(default_factory=_neutral_default('pitch_correction_robot_octave'))
harmony_voices: int = dataclasses.field(default_factory=_neutral_default('harmony_voices'))
harmony_steps: tuple[int, int, int] = dataclasses.field(default_factory=_neutral_default('harmony_steps'))
harmony_level: float = dataclasses.field(default_factory=_neutral_default('harmony_level'))
harmony_lead_level: float = dataclasses.field(default_factory=_neutral_default('harmony_lead_level'))
harmony_detune_cents: float = dataclasses.field(default_factory=_neutral_default('harmony_detune_cents'))
harmony_delay_ms: float = dataclasses.field(default_factory=_neutral_default('harmony_delay_ms'))
vocoder_enabled: bool = dataclasses.field(default_factory=_neutral_default('vocoder_enabled'))
vocoder_bands: int = dataclasses.field(default_factory=_neutral_default('vocoder_bands'))
vocoder_attack_ms: float = dataclasses.field(default_factory=_neutral_default('vocoder_attack_ms'))
vocoder_release_ms: float = dataclasses.field(default_factory=_neutral_default('vocoder_release_ms'))
vocoder_sibilance: float = dataclasses.field(default_factory=_neutral_default('vocoder_sibilance'))
vocoder_carrier_source: VocoderCarrierSource = dataclasses.field(default_factory=_neutral_default('vocoder_carrier_source'))
vocoder_carrier_wave: VocoderCarrierWave = dataclasses.field(default_factory=_neutral_default('vocoder_carrier_wave'))
vocoder_ensemble_detune_cents: float = dataclasses.field(default_factory=_neutral_default('vocoder_ensemble_detune_cents'))
vocoder_level: float = dataclasses.field(default_factory=_neutral_default('vocoder_level'))
character_type: CharacterType = dataclasses.field(default_factory=_neutral_default('character_type'))
character_amount: float = dataclasses.field(default_factory=_neutral_default('character_amount'))
character_tone: float = dataclasses.field(default_factory=_neutral_default('character_tone'))
reverb_variation: ReverbVariation = dataclasses.field(default_factory=_neutral_default('reverb_variation'))
reverb_variation_delay_ms: float = dataclasses.field(default_factory=_neutral_default('reverb_variation_delay_ms'))
reverb_variation_feedback: float = dataclasses.field(default_factory=_neutral_default('reverb_variation_feedback'))
reverb_variation_tempo_bpm: float = dataclasses.field(default_factory=_neutral_default('reverb_variation_tempo_bpm'))
reverb_variation_division: NoteDivision = dataclasses.field(default_factory=_neutral_default('reverb_variation_division'))
midi_release: MidiRelease = dataclasses.field(default_factory=_neutral_default('midi_release'))