![]() |
CRIWARE Unity Plugin Manual
Last Updated: 2025-05-08
|
Sound output data analysis module (for each player/source/bus) More...
Classes | |
| struct | Config |
| Sound output data analysis module config structure More... | |
Public Member Functions | |
| delegate void | PcmCaptureCallback (float[] dataL, float[] dataR, int numChannels, int numData) |
| Waveform acquisition callback More... | |
| CriAtomExOutputAnalyzer (Config config) | |
| Creates a sound output data analysis module More... | |
| override void | Dispose () |
| Discards the output data analysis module More... | |
| bool | AttachExPlayer (CriAtomExPlayer player) |
| Attaching the AtomExPlayer More... | |
| void | DetachExPlayer () |
| Detaches the AtomExPlayer More... | |
| bool | AttachDspBus (string busName) |
| Attaching the DSP bus More... | |
| void | DetachDspBus () |
| Detaches the DSP bus More... | |
| float | GetRms (int channel) |
| Gets the RMS level of sound output being attached More... | |
| void | GetSpectrumLevels (ref float[] levels) |
| Gets the spectrum analysis result More... | |
| void | GetPcmData (ref float[] data, int ch) |
| Gets the waveform data of the sound output being attached More... | |
| void | SetPcmCaptureCallback (PcmCaptureCallback callback) |
| Registers the waveform data acquisition callback More... | |
| void | ExecutePcmCaptureCallback () |
| Calls the waveform data acquisition callback More... | |
| void | ExecutePcmCaptureCallback (PcmCaptureCallback callback) |
Public Attributes | |
| const int | MaximumSpectrumBands = 512 |
| Maximum number of spectrum analyzer bands More... | |
Sound output data analysis module (for each player/source/bus)
|
inline |
Creates a sound output data analysis module
| delegate void PcmCaptureCallback | ( | float[] | dataL, |
| float[] | dataR, | ||
| int | numChannels, | ||
| int | numData | ||
| ) |
Waveform acquisition callback
|
inline |
Discards the output data analysis module
|
inline |
Attaching the AtomExPlayer
|
inline |
Detaches the AtomExPlayer
|
inline |
Attaching the DSP bus
|
inline |
Detaches the DSP bus
|
inline |
Gets the RMS level of sound output being attached
| channel | Channel number |
|
inline |
Gets the spectrum analysis result
| levels | Analysis result (amplitude of each band) |
|
inline |
Gets the waveform data of the sound output being attached
| data | Output data |
| ch | Channel |
|
inline |
Registers the waveform data acquisition callback
|
inline |
Calls the waveform data acquisition callback
|
inline |
| const int MaximumSpectrumBands = 512 |
Maximum number of spectrum analyzer bands