Skip to content

Commit

Permalink
explain use of scipy over wave libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
mchua committed Feb 19, 2014
1 parent 93bda07 commit c1f416c
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions sigproc-outline.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,15 @@ def makegraph(data, filename):
# http://docs.scipy.org/doc/scipy/reference/io.html
import scipy

# later on, I will show you how to use the wave library
# and why you don't want to (during break)
# for people working through this line by line
# you'll also need to...
from scipy.io.wavfile import read

# Random Coolness Note:
# Python does have a built in 'wave' library
# so why are we using scipy?
# See wavlibraryexample.py for the eqiuvalent implementation
# using the built-in wave library.

# how to import it...
def getwavdata(file):
Expand Down

0 comments on commit c1f416c

Please sign in to comment.