Showing the changes to python (1 of 1 file). Show all
Unified · Split
| @@ -39,7 +39,7 @@ def slice_source_at_stamps(source_file, timestamps, timestamps_end=None, · 38 unmodified lines | ||
| 39 | 39 | |
| 40 | 40 | # open source file |
| 41 | 41 | _source = source(source_file, samplerate, hopsize) |
| 42 | − samplerate = source.get_samplerate() | |
| 42 | + samplerate = _source.samplerate | |
| 43 | 43 | |
| 44 | 44 | total_frames = 0 |
| 45 | 45 | slices = [] |