Changeset a9e27e4 for python


Ignore:
Timestamp:
Oct 6, 2009, 5:04:45 PM (15 years ago)
Author:
Paul Brossier <piem@piem.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:
19f1dc9
Parents:
b07ff1e
Message:

python/aubio/task/onset.py: isonset > 0., not == 1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/aubio/task/onset.py

    rb07ff1e ra9e27e4  
    3535                        else: self.ovalist.append(0)
    3636                        self.ovalist.pop(0)
    37                 if (isonset == 1):
     37                if (isonset > 0.):
    3838                        if self.params.localmin:
    3939                                # find local minima before peak
Note: See TracChangeset for help on using the changeset viewer.