Changeset cfa46b9 for python/ext
- Timestamp:
- Apr 25, 2016, 6:05:02 PM (9 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:
- 07867cd
- Parents:
- 6e765ed
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/ext/py-source.c
r6e765ed rcfa46b9 9 9 uint_t channels; 10 10 uint_t hop_size; 11 uint_t duration; 11 12 fvec_t *read_to; 12 13 fmat_t *mread_to; … … 147 148 self->channels = aubio_source_get_channels ( self->o ); 148 149 } 150 self->duration = aubio_source_get_duration ( self->o ); 149 151 150 152 self->read_to = new_fvec(self->hop_size); … … 227 229 {"hop_size", T_INT, offsetof (Py_source, hop_size), READONLY, 228 230 "number of consecutive frames that will be read at each do or do_multi call"}, 231 {"duration", T_INT, offsetof (Py_source, duration), READONLY, 232 "total number of frames in the source (estimated)"}, 229 233 { NULL } // sentinel 230 234 };
Note: See TracChangeset
for help on using the changeset viewer.