Skip to content

Commit

Permalink
fix silent output bug seanwood#2 for low latency notebook for Python < 3
Browse files Browse the repository at this point in the history
  • Loading branch information
seanwood committed Aug 3, 2017
1 parent dc4bfb6 commit 143c785
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion gccNMF/wavfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def wavread(filePath):
return samples_float32.T, sampleRate

def wavwrite(samples_float32, filePath, sampleRate):
samples_pcm = float2pcm(samples_float32)
samples_pcm = float2pcm( samples_float32.astype(np.float32) )
wavfile.write( filePath, sampleRate, samples_pcm.T )

"""
Expand Down
14 changes: 7 additions & 7 deletions notebooks/lowLatencySpeechEnhancement.ipynb

Large diffs are not rendered by default.

0 comments on commit 143c785

Please sign in to comment.