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.Wave_read.getcompname()
  • References/Python/Python/Multimedia

Wave_read.getcompname() Human-readable version of getcomptype(). Usually 'not compressed' parallels

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
wave.openfp()
  • References/Python/Python/Multimedia

wave.openfp(file, mode) A synonym for open(), maintained for backwards compatibility.

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
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
ossaudiodev.oss_mixer_device.close()
  • References/Python/Python/Multimedia

oss_mixer_device.close() This method closes the open mixer device file. Any further attempts to use the mixer after this file

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

imghdr.what(filename, h=None) Tests the image data contained in the file named by filename, and returns a string describing

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

Wave_write.setframerate(n) Set the frame rate to n.

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

audioop.ulaw2lin(fragment, width) Convert sound fragments in u-LAW encoding to linearly encoded sound fragments. u-LAW encoding

2025-01-10 15:47:30