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
3939
4040 # open source file
4141 _source = source(source_file, samplerate, hopsize)
42− samplerate = source.get_samplerate()
42+ samplerate = _source.samplerate
4343
4444 total_frames = 0
4545 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