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

property channels

Returns the number of channels.

Return type

int

getChannels() → int

Returns the number of channels.

static getClassType() → TypeHandle
Return type

TypeHandle

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

getOptions() → list
getRate() → int

Returns the sample rate.

property options

Returns the nth microphone option.

Return type

Sequence[PointerTo_MicrophoneAudio]

property rate

Returns the sample rate.

Return type

int