Searched refs:wave_file (Results 1 – 1 of 1) sorted by relevance
38 def extract_wav_frames(wave_file): argument46 num_frames = wave_file.getnframes()47 sample_width = wave_file.getsampwidth()56 frames = list(struct.unpack(fmt % num_frames * wave_file.getnchannels(),57 wave_file.readframes(num_frames)))