CRIWARE Unity Plugin Manual
Last Updated: 2024-07-12
|
Parameters for initializing CRI Atom More...
Classes | |
class | AndroidLowLatencyStandardVoicePoolConfig |
class | EditorPcmOutputConfig |
class | HcaMxVoicePoolConfig |
class | InGamePreviewConfig |
class | StandardVoicePoolConfig |
Public Types | |
enum | InGamePreviewSwitchMode { , Enable, FollowBuildSetting, Default } |
Parameters for initializing CRI Atom
|
strong |
string acfFileName = "" |
ACF file name
int maxVirtualVoices = 32 |
Maximum number of virtual Voices
int maxVoiceLimitGroups = 32 |
Maximum number of Voice limit groups
int maxCategories = 32 |
Maximum number of categories
int maxAisacs = 8 |
Maximum number of AISACs
int maxBusSends = 8 |
Maximum number of bus sends
int maxSequenceEventsPerFrame = 2 |
Maximum number of sequence events in each frame
int maxBeatSyncCallbacksPerFrame = 1 |
Maximum number of beat-synchronization callbacks in each frame
int maxCueLinkCallbacksPerFrame = 1 |
Maximum number of Cue Link callbacks per frame
StandardVoicePoolConfig standardVoicePoolConfig = new StandardVoicePoolConfig() |
Parameters for creating standard Voice Pool
HcaMxVoicePoolConfig hcaMxVoicePoolConfig = new HcaMxVoicePoolConfig() |
HCA-MX Voice Pool creation parameters
int outputSamplingRate = 0 |
Output sampling rate
bool usesInGamePreview = false |
Whether to use In-Game Preview
InGamePreviewSwitchMode inGamePreviewMode = InGamePreviewSwitchMode.Default |
In-Game Preview settings (effective only when specified in inspector)
InGamePreviewConfig inGamePreviewConfig = new InGamePreviewConfig() |
In-Game Preview parameters
float serverFrequency = 60.0f |
Server frequency
CriAtom.SpeakerMapping speakerMapping |
ASR speaker mapping
int asrOutputChannels = 0 |
The number of ASR output channels
bool useRandomSeedWithTime = true |
Whether to use time(System.DateTime.Now.Ticks) as random seed
int categoriesPerPlayback = 4 |
Number of category references per playback
int maxFaders = 4 |
Maximum number of faders
int maxBuses = 8 |
Maximum number of buses
float maxPitch = 2400f |
Maximum pitch change
int maxParameterBlocks = 1024 |
Maximum number of parameter blocks
CriAtomEx.SoundRendererType soundRendererType = CriAtomEx.SoundRendererType.Native |
Whether to use VR sound output mode
bool keepPlayingSoundOnPause = true |
Whether to pause the audio output when paused on a StandAlone platform or in the editor
bool enableSonicSync = true |
Whether to Enable SonicSYNC (excluding Android, iOS and Switch)
EditorPcmOutputConfig editorPcmOutputConfig = new EditorPcmOutputConfig() |
[Editor] Parameters related to the User PCM Output Mode
int pcBufferingTime = 0 |
[PC] Output buffering time
bool useMicrosoftSpatialSound = true |
[PC] Microsoft Spatial Sound enable flag
bool iosEnableSonicSync = true |
[iOS] Enables SonicSYNC mode
int iosBufferingTime = 50 |
[iOS] Output buffering time (milliseconds)
bool iosOverrideIPodMusic = false |
[iOS] Whether to override iPod playback
bool androidEnableSonicSync = true |
[Android] Enables SonicSYNC Mode
int androidBufferingTime = 133 |
[Android] ASR (normal playback) output buffering time
int androidStartBufferingTime = 100 |
[Android] NSR (Low Delay Playback) Playback Start Buffering Time
AndroidLowLatencyStandardVoicePoolConfig androidLowLatencyStandardVoicePoolConfig = new AndroidLowLatencyStandardVoicePoolConfig() |
[Android] Parameters for creating low latency playback Voice Pool
bool androidUsesAndroidFastMixer = true |
[Android] Whether to use the Fast Mixer of Android to reduce the output delay during audio playback. Affects the output delay of ASR/NSR and the result of delay estimation function
bool androidForceToUseAsrForDefaultPlayback = true |
[Android] Force CriAtomSource to use ASR for playback when low lantency playback is enabled
bool androidUsesAAudio = false |
[Android] Beta: Enable AAudio or not
int androidStreamType = 0 |
[Android] Stream type setting