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.

Type:

int in [-100, 100], default 0

mode

Mode of the pitch shift

  • SEMITONES Semitones – Shift pitch using semitones and cents.

  • RATIO Ratio – Shift pitch using a direct ratio.

Type:

enum in ['SEMITONES', 'RATIO'], default "'SEMITONES'"

preserve_formant

Whether to preserve the vocal formants when shifting the pitch.

Type:

boolean, default False

quality

Quality of the pitch shifting

  • HIGH High – Prioritize high-quality pitch processing.

  • FAST Fast – Prioritize speed over audio quality.

  • CONSISTENT Consistent – Prioritize consistency for dynamic pitch changes.

Type:

enum in ['HIGH', 'FAST', 'CONSISTENT'], default "'HIGH'"

ratio

Factor by which the audio pitch is scaled.

Type:

float in [0.5, 2], default 0.0

semitones

Number of semitones to shift the pitch.

Type:

int in [-12, 12], default 0

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:

bpy.types.Struct subclass

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

Inherited Properties

Inherited Functions