PitchModifier(StripModifier)
base classes — bpy_struct, StripModifier
- class bpy.types.PitchModifier(StripModifier)
Shift Audio Pitch
- cents
A cent is one one-hundredth of a semi-tone. (in [-100, 100], default 0)
- Type:
int
- mode
Mode of the pitch shift (default
'SEMITONES')SEMITONESSemitones – Shift pitch using semitones and cents.RATIORatio – Shift pitch using a direct ratio.
- Type:
Literal[‘SEMITONES’, ‘RATIO’]
- preserve_formant
Whether to preserve the vocal formants when shifting the pitch. (default False)
- Type:
bool
- quality
Quality of the pitch shifting (default
'HIGH')HIGHHigh – Prioritize high-quality pitch processing.FASTFast – Prioritize speed over audio quality.CONSISTENTConsistent – Prioritize consistency for dynamic pitch changes.
- Type:
Literal[‘HIGH’, ‘FAST’, ‘CONSISTENT’]
- ratio
Factor by which the audio pitch is scaled. (in [0.5, 2], default 0.0)
- Type:
float
- semitones
Number of semitones to shift the pitch. (in [-12, 12], default 0)
- Type:
int
- classmethod bl_rna_get_subclass(id, default=None, /)
- Parameters:
id (str) – The RNA type identifier.
- Returns:
The RNA type or default when not found.
- Return type:
- classmethod bl_rna_get_subclass_py(id, default=None, /)
- Parameters:
id (str) – The RNA type identifier.
- Returns:
The class or default when not found.
- Return type:
type