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

__init__(*args, **kwargs)
channels
getChannels()

C++ Interface: get_channels(MicrophoneAudio self)

/**
  • Returns the number of channels.

*/

getClassType()

C++ Interface: get_class_type()

getNumOptions()

C++ Interface: get_num_options()

/**
  • 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.

*/

getOption()

C++ Interface: get_option(int n)

/**
  • Returns the nth microphone option.

*/

getOptions()
getRate()

C++ Interface: get_rate(MicrophoneAudio self)

/**
  • Returns the sample rate.

*/

get_channels()

C++ Interface: get_channels(MicrophoneAudio self)

/**
  • Returns the number of channels.

*/

get_class_type()

C++ Interface: get_class_type()

get_num_options()

C++ Interface: get_num_options()

/**
  • 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.

*/

get_option()

C++ Interface: get_option(int n)

/**
  • Returns the nth microphone option.

*/

get_options()
get_rate()

C++ Interface: get_rate(MicrophoneAudio self)

/**
  • Returns the sample rate.

*/

options = <MicrophoneAudio.options[0] of <NULL>>
rate