Searched refs:wave_file (Results 1 – 1 of 1) sorted by relevance
716 def extract_wav_frames(wave_file): argument723 num_frames = wave_file.getnframes()724 sample_width = wave_file.getsampwidth()733 return list(struct.unpack(fmt % num_frames * wave_file.getnchannels(),734 wave_file.readframes(num_frames)))