FirstModulAR 0.1.0
Loading...
Searching...
No Matches
FMAR.Audio.MicrophoneCapturer Class Reference

Captures audio data from the microphone, processes it, and stores it in a circular buffer. Also provides methods to retrieve the captured audio data. More...

Inheritance diagram for FMAR.Audio.MicrophoneCapturer:

Classes

class  CircularBuffer
 Circular buffer data structure for storing audio samples. More...
 

Public Member Functions

float[] GetFloatCache (int frameSize)
 Gets all floats from the circular buffer, returning an array with a size that's a multiple of frameSize.
 

Properties

int SampleRate [get]
 

Detailed Description

Captures audio data from the microphone, processes it, and stores it in a circular buffer. Also provides methods to retrieve the captured audio data.

Member Function Documentation

◆ GetFloatCache()

float[] FMAR.Audio.MicrophoneCapturer.GetFloatCache ( int frameSize)
inline

Gets all floats from the circular buffer, returning an array with a size that's a multiple of frameSize.

Parameters
frameSizeThe size of each frame.
Returns
An array of floats with a size that's a multiple of frameSize.

Property Documentation

◆ SampleRate

int FMAR.Audio.MicrophoneCapturer.SampleRate
get

The documentation for this class was generated from the following file: