History

python/demos/demo_source_simple.py: fix indentation

Paul Brossier committed 10 years ago

Commit 30e080c1 parent 31c60101 file · +3 −3Browse files

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

Unified · Split

python/demos/demo_source_simple.py+3−3
@@ -7,9 +7,9 @@ s = aubio.source(sys.argv[1], samplerate, hop_size) · 6 unmodified lines
77 total_frames = 0
88
99 while True: # reading loop
10− samples, read = s()
11− total_frames += read
12− if read < hop_size: break # end of file reached
10+ samples, read = s()
11+ total_frames += read
12+ if read < hop_size: break # end of file reached
1313
1414 fmt_string = "read {:d} frames at {:d}Hz from {:s}"
1515 print (fmt_string.format(total_frames, s.samplerate, sys.argv[1]))

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