Sandbox.Audio.AudioMeter/Frame Current { get; set; }

robot_2Generated
code_blocksInput

Description

The Current property of the AudioMeter class provides access to the current audio frame being processed. This property is useful for monitoring the real-time audio data captured by the AudioMeter.

Usage

To use the Current property, you need to have an instance of the AudioMeter class. You can then access the Current property to retrieve the current audio frame data.

Example

// Create an instance of AudioMeter
AudioMeter audioMeter = new AudioMeter();

// Access the current audio frame
AudioMeter.Frame currentFrame = audioMeter.Current;

// Use the currentFrame data for analysis or processing
// For example, you might want to log the amplitude or frequency data
float amplitude = currentFrame.Amplitude;
float frequency = currentFrame.Frequency;

// Process the audio data as needed
// ...