panda3d.core.MicrophoneAudio

from panda3d.core import MicrophoneAudio
class MicrophoneAudio

Bases: MovieAudio

Class MicrophoneAudio provides the means to read raw audio samples from a microphone.

Inheritance diagram

Inheritance diagram of MicrophoneAudio

static getNumOptions() → int

Returns the number of microphone options. An “option” consists of a device plus a set of configuration parameters. For example, “Soundblaster Audigy Line in at 44,100 samples/sec” would be an option.

static getOption(n: int) → MicrophoneAudio

Returns the nth microphone option.

Return type

MicrophoneAudio

getChannels() → int

Returns the number of channels.

getRate() → int

Returns the sample rate.

static getClassType() → TypeHandle
Return type

TypeHandle

getOptions() → list
property options

Returns the nth microphone option.

Return type

Sequence[PointerTo_MicrophoneAudio]

property channels

Returns the number of channels.

Return type

int

property rate

Returns the sample rate.

Return type

int