2011-07-02 110 views
0

這是我的工作。我需要轉換爲wave文件

import matplotlib.pyplot as plot 
import numpy as num 

def xr(start, stop, step): 
    while start < stop: 
     yield start 
     start = start + step 

wavef = lambda x: num.sin(x)/x 

t0 = [wavef(x) for x in xr(5.0,200.0,0.1) if x is not 0] 

plot.plot(t0) 
plot.show() 
+2

請詳細說明你到底想要做什麼 –

+0

問題是什麼? – Alexander

回答

相關問題