History

python/lib/aubio/slicing.py: fix samplerate

Paul Brossier committed 10 years ago

Commit 1b62ee91 parent 0b64f151 file · +1 −1Browse files

Showing the changes to python (1 of 1 file). Show all

Unified · Split

python/lib/aubio/slicing.py+1−1
@@ -39,7 +39,7 @@ def slice_source_at_stamps(source_file, timestamps, timestamps_end=None, · 38 unmodified lines
39 39
40 # open source file40 # open source file
41 _source = source(source_file, samplerate, hopsize)41 _source = source(source_file, samplerate, hopsize)
42 samplerate = source.get_samplerate()42 samplerate = _source.samplerate
43 43
44 total_frames = 044 total_frames = 0
45 slices = []45 slices = []

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t