- Timestamp:
- Sep 26, 2009, 6:34:28 AM (15 years ago)
- Branches:
- feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
- Children:
- 9a91031
- Parents:
- 342e3807
- Location:
- python
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
python/aubio/onsetcompare.py
r342e3807 re7a7794 107 107 108 108 def notes_roc (la, lb, eps): 109 from num array import transpose, add, resize109 from numpy import transpose, add, resize 110 110 """ creates a matrix of size len(la)*len(lb) then look for hit and miss 111 111 in it within eps tolerance windows """ -
python/aubio/plot/notes.py
r342e3807 re7a7794 43 43 44 44 def plotnote_withends(la,plot_title=None) : 45 import numarray45 from numpy import array 46 46 import Gnuplot, Gnuplot.funcutils 47 47 d=[] 48 x_widths = numarray.array(la[:,1]-la[:,0])/2.48 x_widths = array(la[:,1]-la[:,0])/2. 49 49 d.append(Gnuplot.Data( 50 50 la[:,0]+x_widths, # x centers … … 58 58 def plotnote_withoutends(la,plot_title=None) : 59 59 """ bug: fails drawing last note """ 60 import numarray60 from numpy import array 61 61 import Gnuplot, Gnuplot.funcutils 62 62 d=[] 63 x_widths = numarray.array(la[1:,0]-la[:-1,0])/2;63 x_widths = array(la[1:,0]-la[:-1,0])/2; 64 64 d.append(Gnuplot.Data( 65 65 la[:-1,0]+x_widths, # x centers -
python/aubiodiffs-onset
r342e3807 re7a7794 4 4 5 5 print aubio.__LICENSE__ for the terms of use 6 7 or see LICENSE.txt in the numarray installation directory.8 6 """ 9 7 __LICENSE__ = """\ -
python/aubiofilter-notes
r342e3807 re7a7794 79 79 from aubio import notefilter,txtfile,gnuplot 80 80 """ load midi and raw data """ 81 from num array import array81 from numpy import array 82 82 notelist = array(txtfile.read_datafile(input)) 83 83 """ filter it out """ -
python/aubionotes
r342e3807 re7a7794 5 5 import aubio.aubioclass 6 6 import aubio.median 7 #from numarray import around8 7 from math import floor 9 8 hopsize = 512 -
python/aubioplot-notes
r342e3807 re7a7794 19 19 from aubio.txtfile import read_datafile 20 20 from aubio.gnuplot import plotnote,plotnote_do 21 from num array import array21 from numpy import array 22 22 filein,fileout = parse_args(sysargs) 23 23 #print 'checking', fileerr, 'against', fileorg -
python/aubioweb.py
r342e3807 re7a7794 12 12 vorbis-tools (oggenc) 13 13 python-gnuplot 14 python-num array14 python-numpy 15 15 16 16 Try the command line tools in aubio/python to test your installation.
Note: See TracChangeset
for help on using the changeset viewer.