- Timestamp:
- Jun 14, 2005, 1:07:08 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:
- 1397c6e
- Parents:
- 0ce9acc3
- Location:
- python/aubio
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
python/aubio/aubioclass.py
r0ce9acc3 rb31f262 77 77 self.myfft = cvec(bufsize,channels) 78 78 self.pv = pvoc(bufsize,hopsize,channels) 79 if mode in [complexdomain,hfc,phase,energy,specdiff] : 80 self.myod = onsetdetection(mode,bufsize,channels) 81 self.myonset = fvec(1,channels) 82 else: 79 if mode in ['dual'] : 83 80 self.myod = onsetdetection(hfc,bufsize,channels) 84 81 self.myod2 = onsetdetection(complexdomain,bufsize,channels) 85 82 self.myonset = fvec(1,channels) 86 83 self.myonset2 = fvec(1,channels) 84 else: 85 self.myod = onsetdetection(mode,bufsize,channels) 86 self.myonset = fvec(1,channels) 87 87 self.mode = mode 88 88 self.pp = peakpick(float(threshold)) -
python/aubio/gnuplot.py
r0ce9acc3 rb31f262 151 151 from aubio.onsetcompare import onset_roc 152 152 153 if len(onsets) == 0: onsets = [0.]; 154 153 155 # onset detection function 154 156 downtime = (hopsize/samplerate)*numarray.arange(len(ofunc))
Note: See TracChangeset
for help on using the changeset viewer.