History

added puredata aubiopitch~ added puredata aubiopitch~

Paul Brossier committed 20 years ago

Commit 660c1d81 parent d9101a55 files · +135 −2Browse files

Showing the changes to python (1 of 5 files). Show all

Unified · Split

python/aubio/gnuplot.py+2−0
@@ -180,6 +180,8 @@ def plot_pitch(filename, pitch, samplerate=44100., hopsize=512, outplot=None): · 179 unmodified lines
180180 d = []
181181 maxpitch = 100
182182 for i in range(len(pitch)):
183+ #if len(pitch[i]) == 0: pitch[i] = [0.];
184+
183185 downtime = (hopsize/samplerate)*numarray.arange(len(pitch[i]))
184186 d.append(Gnuplot.Data(downtime,pitch[i],with='lines',
185187 title=('%d' % i)))

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t