Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drawwaveform.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/drawwaveform.py b/drawwaveform.py
index cf1782a..c42a142 100644
--- a/drawwaveform.py
+++ b/drawwaveform.py
@@ -447,7 +447,8 @@ class DrawWaveform(gtk.DrawingArea):
# FFT
try:
# Multiply input with the window
- multiply(buf, self.fft_window, buf)
+ multiply(buf.astype(float64), self.fft_window,
+ buf.astype(float64))
# Should be fast enough even without pow(2) stuff.
self.fftx = fft.rfft(buf)