wave.Wave_read.getnchannels()
  • References/Python/Python/Multimedia

Wave_read.getnchannels() Returns number of audio channels (1 for mono, 2 for stereo).

2025-01-10 15:47:30
wave.Error
  • References/Python/Python/Multimedia

exception wave.Error An error raised when something is impossible because it violates the WAV specification or hits an implementation

2025-01-10 15:47:30
wave.Wave_write.setsampwidth()
  • References/Python/Python/Multimedia

Wave_write.setsampwidth(n) Set the sample width to n bytes.

2025-01-10 15:47:30
ossaudiodev.oss_audio_device.read()
  • References/Python/Python/Multimedia

oss_audio_device.read(size) Read size bytes from the audio input and return them as a Python string. Unlike most Unix

2025-01-10 15:47:30
aifc.aifc.setnchannels()
  • References/Python/Python/Multimedia

aifc.setnchannels(nchannels) Specify the number of channels in the audio file.

2025-01-10 15:47:30
aifc.open()
  • References/Python/Python/Multimedia

aifc.open(file, mode=None) Open an AIFF or AIFF-C file and return an object instance with methods that are described below.

2025-01-10 15:47:30
chunk.Chunk.read()
  • References/Python/Python/Multimedia

read(size=-1) Read at most size bytes from the chunk (less if the read hits the end of the chunk before obtaining size

2025-01-10 15:47:30
audioop.tostereo()
  • References/Python/Python/Multimedia

audioop.tostereo(fragment, width, lfactor, rfactor) Generate a stereo fragment from a mono fragment. Each pair of samples in

2025-01-10 15:47:30
wave.Wave_write.setcomptype()
  • References/Python/Python/Multimedia

Wave_write.setcomptype(type, name) Set the compression type and description. At the moment, only compression type NONE

2025-01-10 15:47:30
ossaudiodev.open()
  • References/Python/Python/Multimedia

ossaudiodev.open(mode) ossaudiodev.open(device, mode) Open an audio device and return an OSS audio device object

2025-01-10 15:47:30