Changeset 61680aa


Ignore:
Timestamp:
Dec 14, 2005, 2:42:45 PM (19 years ago)
Author:
Paul Brossier <piem@altern.org>
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:
7473074
Parents:
4b1e7e7
Message:

correct default bufsize, fix function level import
correct default bufsize, fix function level import

Location:
python
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • python/aubio/onsetcompare.py

    r4b1e7e7 r61680aa  
    7373
    7474def notes_roc (la, lb, eps):
    75     from numarray import *
     75    from numarray import transpose, add, resize
    7676    """ creates a matrix of size len(la)*len(lb) then look for hit and miss
    7777    in it within eps tolerance windows """
     
    7979    m = len(la)
    8080    n = len(lb)
    81     x =           resize(la[:,0],(n,m))
    82     y = transpose(resize(lb[:,0],(m,n)))
     81    x =           resize(la[:][0],(n,m))
     82    y = transpose(resize(lb[:][0],(m,n)))
    8383    teps =  (abs(x-y) <= eps[0])
    84     x =           resize(la[:,1],(n,m))
    85     y = transpose(resize(lb[:,1],(m,n)))
     84    x =           resize(la[:][1],(n,m))
     85    y = transpose(resize(lb[:][1],(m,n)))
    8686    tpitc = (abs(x-y) <= eps[1])
    8787    res = teps * tpitc
  • python/aubiocut

    r4b1e7e7 r61680aa  
    2222        parser.add_option("-B","--bufsize",
    2323                          action="store", dest="bufsize", default=512,
    24                           help="buffer size [default=1024]")
     24                          help="buffer size [default=512]")
    2525        parser.add_option("-H","--hopsize",
    2626                          action="store", dest="hopsize", default=256,
Note: See TracChangeset for help on using the changeset viewer.