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

oss_audio_device.close() Explicitly close the audio device. When you are done writing to or reading from an audio device, you

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

sndhdr.whathdr(filename) Determines the type of sound data stored in a file based on the file header. The name of the file is

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

oss_audio_device.channels(nchannels) Set the number of output channels to nchannels. A value of 1 indicates monophonic

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

colorsys.yiq_to_rgb(y, i, q) Convert the color from YIQ coordinates to RGB coordinates.

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

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

2025-01-10 15:47:30