- Timestamp:
- May 17, 2006, 11:14:33 AM (19 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:
- 7cded32
- Parents:
- e83c895
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/aubio/aubioclass.py
re83c895 r08f6688 117 117 if dval > 0: self.myonset.set(dval,0,0) 118 118 else: self.myonset.set(0.,0,0) 119 isonset, dval = self.pp.do(self.myonset),self.myonset.get(0,0) 119 120 if self.dcthreshold: 120 dval = self.myonset.get(0,0) - self.dcthreshold 121 if dval > 0: self.myonset.set(dval,0,0) 122 else: self.myonset.set(0.,0,0) 123 return self.pp.do(self.myonset),self.myonset.get(0,0) 121 if dval < self.dcthreshold: isonset = 0 122 return isonset, dval 124 123 125 124 class pitchdetection:
Note: See TracChangeset
for help on using the changeset viewer.