MicrophoneAudio

from panda3d.core import MicrophoneAudio
class MicrophoneAudio

Bases:

Bases: MovieAudio

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

Inheritance diagram

Inheritance diagram of MicrophoneAudio

property channels int

Returns the number of channels.

getChannels() int

Returns the number of channels.

static getClassType() 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.

getOptions() list
getRate() int

Returns the sample rate.

property options Sequence[PointerTo_MicrophoneAudio]

Returns the nth microphone option.

property rate int

Returns the sample rate.