Changeset 6fbee46 for python/lib
- Timestamp:
- Jan 12, 2014, 8:09:45 AM (11 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:
- 35a44e9
- Parents:
- 4320679
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/lib/aubio/slicing.py
r4320679 r6fbee46 32 32 def new_sink_name(source_base_name, timestamp, samplerate): 33 33 timestamp_seconds = timestamp / float(samplerate) 34 #print source_base_name + '_%02.3f' % (timestamp_seconds) + '.wav' 35 return source_base_name + '_%02.3f' % (timestamp_seconds) + '.wav' 34 return source_base_name + "_%011.6f" % timestamp_seconds + '.wav' 36 35 37 36 # reopen source file
Note: See TracChangeset
for help on using the changeset viewer.