Caution
You're reading an old version of this documentation. If you want up-to-date information, please have a look at 0.9.1.
Utilities¶
Array operations¶
|
Slice a data array into (overlapping) frames. |
|
Pad an array to a target length along a target axis. |
|
Fix the length an array |
|
Fix a list of frames to lie within [x_min, x_max] |
|
Generate a slice array from an index array. |
|
Robustly compute a soft-mask operation. |
|
Stack one or more arrays along a target axis. |
|
Synchronous aggregation of a multi-dimensional array between boundaries |
|
Sort an array along its rows or columns. |
|
Normalize an array along a chosen axis. |
|
Shear a matrix by a given factor. |
|
Return a row-sparse matrix approximating the input |
|
Convert an integer buffer to floating point values. |
|
Compute the tiny-value corresponding to an input's data type. |
Matching¶
|
Match one set of time intervals to another. |
|
Match one set of events to another. |
Miscellaneous¶
|
Find local maxima in an array |
|
Find local minima in an array |
|
Uses a flexible heuristic to pick peaks in a signal. |
|
Non-negative least squares. |
|
Estimate the gradient of a function over a uniformly sampled, periodic domain. |
|
Find the real numpy dtype corresponding to a complex dtype. |
|
Find the complex numpy dtype corresponding to a real dtype. |
Input validation¶
|
Determine whether a variable contains valid audio data. |
|
Ensure that an input value is integer-typed. |
|
Ensure that an array is a valid representation of time intervals: |
File operations¶
|
Retrieve the example recording identified by 'key'. |
|
Display licensing and metadata information for the given example recording. |
List the available audio recordings included with librosa. |
|
|
Get a sorted list of (audio) files in a directory or directory sub-tree. |
Deprecated¶
Get the path to an included audio example file. |