Caution
You're reading the documentation for a development version. For the latest released version, please have a look at 0.10.2.
Utilities
Array operations
|
Slice a data array into (overlapping) frames. |
|
Pad an array to a target length along a target axis. |
|
Expand the dimensions of an input array with |
|
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. |
|
Aggregate a multi-dimensional array between specified 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 |
|
Use 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. |
|
Count the number of unique values in a multi-dimensional array along a given axis. |
|
Determine if the input array consists of all unique values along a given axis. |
|
Compute the squared magnitude of a real or complex array. |
|
Construct a complex phasor representation from angles. |
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: |
Check that x is a positive integer, i.e. 1 or greater. |
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. |
|
Print the citation information for librosa. |