VoiceConversionPreset enum Null safety

预设的变声效果选项。

Constants

Bass → const VoiceConversionPreset

低沉。为避免音频失真,请确保仅对男声设置该效果。

@JsonValue(50398208)
const VoiceConversionPreset(4)
Neutral → const VoiceConversionPreset

中性。为避免音频失真,请确保仅对女声设置该效果。

@JsonValue(50397440)
const VoiceConversionPreset(1)
Off → const VoiceConversionPreset

原声,即关闭变声效果。

@JsonValue(0)
const VoiceConversionPreset(0)
Solid → const VoiceConversionPreset

稳重。为避免音频失真,请确保仅对男声设置该效果。

@JsonValue(50397952)
const VoiceConversionPreset(3)
Sweet → const VoiceConversionPreset

甜美。为避免音频失真,请确保仅对女声设置该效果。

@JsonValue(50397696)
const VoiceConversionPreset(2)
values → const List<VoiceConversionPreset>

A constant List of the values in this enum, in order of their declaration.

const List<VoiceConversionPreset>

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited