Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

wav file to array python

from scipy.io import wavfile
#To read your file ('filename.wav'), simply do

output = wavfile.read('filename.wav')
#This will output a tuple (which I named 'output'):

#output[0], the sampling rate
#output[1], the sample array you want to analyze
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #wav #file #array #python
ADD COMMENT
Topic
Name
8+3 =