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

oss_audio_device.obuffree() Returns the number of samples that could be queued into the hardware buffer to be played without

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

aifc.getcomptype() Return a bytes array of length 4 describing the type of compression used in the audio file. For AIFF files

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

aifc.readframes(nframes) Read and return the next nframes frames from the audio file. The returned data is a string

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

Wave_read.tell() Return current file pointer position.

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

Wave_write.writeframesraw(data) Write audio frames, without correcting nframes.

2025-01-10 15:47:30