features: onsets, spectral-flux and other audio features¶
maelzel.snd.features Module¶
Functions¶
|
convert amp (0, 1) to dB |
|
Construct a bpf representing the centroid of the given audio over time |
|
Iterate over data in chunks of chunksize. |
|
convert dB to amplitude (0, 1) |
|
Returns a selection array where a value of 1 marks an onset as relevant |
|
For each onset find its corresponding offset |
|
Returns the number of channels represented by the given array |
|
Detect onsets |
|
Detect onsets in samples |
|
Given a list of times offsets, play these as ticks |
|
Plot the results of onsets detection |
|
Return a bpf representing the rms of this sample as a function of time |