Changeset 8d1323b for python/aubio/task


Ignore:
Timestamp:
Apr 14, 2010, 5:36:49 PM (14 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:
0efce0d
Parents:
16bd78a
Message:

python/aubio: more changes for mono

Location:
python/aubio/task
Files:
3 edited

Legend:

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

    r16bd78a r8d1323b  
    1010                self.opick = onsetpick(self.params.bufsize,
    1111                        self.params.hopsize,
    12                         self.channels,
    1312                        self.myvec,
    1413                        self.params.threshold,
  • python/aubio/task/pitch.py

    r16bd78a r8d1323b  
    1616                        bufsize=self.params.bufsize,
    1717                        hopsize=self.params.hopsize,
    18                         channels=self.channels,
    1918                        samplerate=self.srate,
    2019                        omode=self.params.omode,
  • python/aubio/task/task.py

    r16bd78a r8d1323b  
    1717                self.filei     = sndfile(self.input)
    1818                self.srate     = self.filei.samplerate()
    19                 self.channels  = self.filei.channels()
    2019                self.params.step = float(self.params.hopsize)/float(self.srate)
    21                 self.myvec     = fvec(self.params.hopsize,self.channels)
     20                self.myvec     = fvec(self.params.hopsize)
    2221                self.output    = output
    2322
Note: See TracChangeset for help on using the changeset viewer.