Changeset 53fbd58
- Timestamp:
- Mar 23, 2017, 2:57:14 PM (8 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, sampler
- Children:
- 6288806
- Parents:
- 8e2f36a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/lib/aubio/cmd.py
r8e2f36a r53fbd58 167 167 168 168 def samples2seconds(n_frames, samplerate): 169 return "%f\t" % (n_frames / float( a_source.samplerate))169 return "%f\t" % (n_frames / float(samplerate)) 170 170 171 171 def samples2milliseconds(n_frames, samplerate): 172 return "%f\t" % (1000. * n_frames / float( a_source.samplerate))172 return "%f\t" % (1000. * n_frames / float(samplerate)) 173 173 174 174 def samples2samples(n_frames, samplerate):
Note: See TracChangeset
for help on using the changeset viewer.