Microphone
A Microphone object provides audio input by recording sounds.
Constructor
lovr.audio.newMicrophone | Create a new Microphone. |
Methods
Microphone:getBitDepth | Get the bit depth of the Microphone. |
Microphone:getChannelCount | Get the number of channels recorded by the Microphone. |
Microphone:getData | Get a new SoundData with recorded audio. |
Microphone:getName | Get the name of the Microphone. |
Microphone:isRecording | Get whether the Microphone is recording. |
Microphone:getSampleCount | Get the number of recorded audio samples. |
Microphone:getSampleRate | Get the sample rate of the Microphone. |
Microphone:startRecording | Start recording. |
Microphone:stopRecording | Stop recording. |
See also
lovr.audio.getMicrophoneNames
SoundData
lovr.audio