- Timestamp:
- Mar 3, 2006, 6:41:24 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:
- 13c3fba
- Parents:
- ec10780
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/aubio/aubioclass.py
rec10780 rc7713b2 25 25 del_cvec(self()) 26 26 def get(self,pos,chan): 27 return self.get_norm(pos,chan) 28 def set(self,val,pos,chan): 29 self.set_norm(val,chan,pos) 30 def get_norm(self,pos,chan): 27 31 return cvec_read_norm(self(),chan,pos) 28 29 """ 30 cvec_write_norm(cvec_t *s, smpl_t data, uint_t channel, uint_t position); 31 cvec_write_phas(cvec_t *s, smpl_t data, uint_t channel, uint_t position); 32 cvec_read_norm (cvec_t *s, uint_t channel, uint_t position); 33 cvec_read_phas (cvec_t *s, uint_t channel, uint_t position); 34 cvec_put_norm_channel(cvec_t *s, smpl_t * data, uint_t channel); 35 cvec_put_phas_channel(cvec_t *s, smpl_t * data, uint_t channel); 36 cvec_get_norm_channel(cvec_t *s, uint_t channel); 37 cvec_get_phas_channel(cvec_t *s, uint_t channel); 38 """ 32 def set_norm(self,val,pos,chan): 33 cvec_write_norm(self(),val,chan,pos) 34 def get_phas(self,pos,chan): 35 return cvec_read_phas(self(),chan,pos) 36 def set_phas(self,val,pos,chan): 37 cvec_write_phas(self(),val,chan,pos) 39 38 40 39 class sndfile:
Note: See TracChangeset
for help on using the changeset viewer.