Changeset 8d29cfe
- Timestamp:
- Feb 20, 2006, 12:33:18 PM (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:
- 79c04d8
- Parents:
- f72a10d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/aubio/tasks.py
rf72a10d r8d29cfe 1 1 from aubioclass import * 2 from bench.node import bench3 2 4 3 def get_onset_mode(nvalue): … … 202 201 self.derivate = False 203 202 self.localmin = False 203 self.delay = 0. 204 204 self.storefunc = False 205 205 self.bufsize = 512 … … 272 272 self.wassilence = 0 273 273 if self.issilence == -1: 274 return -1, self.frameread274 return self.frameread, -1 275 275 elif self.issilence == 2: 276 return 2, self.frameread276 return self.frameread, 2 277 277 278 278 class taskpitch(task): … … 374 374 else: 375 375 now = self.frameread 376 if self.params.delay != 0.: now -= self.params.delay 376 377 if now < 0 : 377 378 now = 0
Note: See TracChangeset
for help on using the changeset viewer.