Spoken Language Processing in Python Chapter1
Spoken Language Processing in Python Chapter1
Daniel Bourke
Machine Learning Engineer/YouTube
Creator
Dealing with audio les in Python
Different kinds all of audio les
mp3
wav
m4a
ac
import wave
b'\xfd\xff\xfb\xff\xf8\xff\xf8\xff\xf7\...
Daniel Bourke
Machine Learning Engineer/YouTube
Creator
Converting bytes to integers
Can't use bytes
import numpy as np
array([ -3, -5, -8, -8, -9, -13, -8, -10, -9, -11], dtype=int16)
48,000
array([ 1., 2., 3., 4., 5., 6., 7., 8., 9., 10.])
Daniel Bourke
Machine Learning Engineer/YouTube
Creator
Adding another sound wave
New audio le: good_afternoon.wav