Showing the changes to python (1 of 1 file). Show all
Unified · Split
| @@ -31,8 +31,7 @@ def slice_source_at_stamps(source_file, timestamps, timestamps_end = None, · 30 unmodified lines | ||
| 31 | 31 | |
| 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 |
| 38 | 37 | s = source(source_file, samplerate, hopsize) |