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.

get_channels() int

Returns the number of channels.

static get_class_type() TypeHandle
static get_num_options() 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 get_option(n: int) MicrophoneAudio

Returns the nth microphone option.

get_options() list
get_rate() int

Returns the sample rate.

property options Sequence[PointerTo_MicrophoneAudio]

Returns the nth microphone option.

property rate int

Returns the sample rate.