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

Wave_write.close() Make sure nframes is correct, and close the file if it was opened by wave. This method

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

audioop.minmax(fragment, width) Return a tuple consisting of the minimum and maximum values of all samples in the sound fragment

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

isatty() Returns False.

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