CRIWARE Unity Plugin Manual
Last Updated: 2024-07-12
|
Wave Voice池 更多...
类 | |
struct | Config |
Wave Voice池初始化配置 更多... | |
Public 类型 | |
enum | VoicePoolId { StandardMemory = StandardMemoryAsrVoicePoolId, StandardStreaming = StandardStreamingAsrVoicePoolId, StandardMemory = StandardMemoryNsrVoicePoolId, StandardStreaming = StandardStreamingNsrVoicePoolId, HcaMxMemory = 4, HcaMxStreaming = 5, LowLatencyMemory = StandardMemoryNsrVoicePoolId, LowLatencyStreaming = StandardStreamingNsrVoicePoolId } |
用于存取在插件内部创建的Voice池的ID 更多... | |
enum | PitchShifterMode : int |
移调器DSP的动作模式 更多... | |
Public 成员函数 | |
CriAtomExWaveVoicePool (Config config) | |
Wave 可播放Voice池的创建 更多... | |
CriAtomExWaveVoicePool (int numVoices, int maxChannels, int maxSamplingRate, bool streamingFlag, uint identifier=0) | |
创建Wave Voice池 更多... | |
UsedVoicesInfo | GetNumUsedVoices () |
获取Voice池的Voice使用情况 更多... | |
override void | Dispose () |
丢弃Voice池 更多... | |
void | AttachDspTimeStretch () |
添加时间拉伸DSP 更多... | |
void | AttachDspPitchShifter (PitchShifterMode mode=PitchShifterMode.Music, int windosSize=1024, int overlapTimes=4) |
添加移调器DSP 更多... | |
void | DetachDsp () |
切断DSP 更多... | |
静态 Public 成员函数 | |
static void | SetDefaultConfigForWaveVoicePool (ref Config config) |
设置用于创建Wave Voice池的配置结构体的预设值 | |
static UsedVoicesInfo | GetNumUsedVoices (VoicePoolId voicePoolId) |
获取Voice池的Voice使用情况 更多... | |
属性 | |
uint | identifier [get] |
Voice池标识符 更多... | |
Wave Voice池
|
stronginherited |
用于存取在插件内部创建的Voice池的ID
|
stronginherited |
移调器DSP的动作模式
|
inline |
Wave 可播放Voice池的创建
config | Wave Voice池初始化配置 |
|
inline |
创建Wave Voice池
numVoices | Voice数 |
maxChannels | 最大声道数 |
maxSamplingRate | 最大采样率 |
streamingFlag | 串流播放标记 |
identifier | Voice池标识符 |
|
inlinestaticinherited |
获取Voice池的Voice使用情况
voicePoolId | Voice池的ID |
|
inlineinherited |
获取Voice池的Voice使用情况
|
inlineinherited |
丢弃Voice池
|
inlineinherited |
添加时间拉伸DSP
|
inlineinherited |
添加移调器DSP
mode | 移调模式 |
windosSize | 窗口大小 |
overlapTimes | 重叠次数 |
|
inlineinherited |
切断DSP
|
getinherited |
Voice池标识符