History

python/lib/gen_pyobject.py: add block_size for source

Paul Brossier committed 13 years ago

Commit ab7b1b71 parent 9615b031 file · +3 −1Browse files

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

Unified · Split

python/lib/gen_pyobject.py+3−1
@@ -99,7 +99,7 @@ defaultsizes = { · 98 unmodified lines
99 'beattracking': ['self->hop_size'],99 'beattracking': ['self->hop_size'],
100 'tempo': ['1'],100 'tempo': ['1'],
101 'peakpicker': ['1'],101 'peakpicker': ['1'],
102 'source': ['self->hop_size', '1'],102 'source': ['self->block_size', '1'],
103}103}
104 104
105# default value for variables105# default value for variables
@@ -115,6 +115,8 @@ aubiodefvalue = { · 9 unmodified lines
115 'buf_size': 'Py_default_vector_length', 115 'buf_size': 'Py_default_vector_length',
116 # and here too116 # and here too
117 'hop_size': 'Py_default_vector_length / 2', 117 'hop_size': 'Py_default_vector_length / 2',
118 # add block_size, synonim of hop_size
119 'block_size': 'Py_default_vector_length / 2',
118 # these should be alright120 # these should be alright
119 'samplerate': 'Py_aubio_default_samplerate', 121 'samplerate': 'Py_aubio_default_samplerate',
120 # now for the non obvious ones122 # now for the non obvious ones

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