March 2019
Intermediate to advanced
642 pages
22h 54m
English
Let's see how to transform audio signals into the frequency domain:
import numpy as np from scipy.io import wavfile import matplotlib.pyplot as plt
# Read the input file
sampling_freq, audio = wavfile.read('input_freq.wav')
# Normalize the values audio = audio / (2.**15)
# Extract length len_audio = len(audio)
Read now
Unlock full access