katyo / aubio-rs

Rust bindings for Aubio library
36 stars 6 forks source link

Add methods for filterbank_mel.c to FilterBank #23

Closed davebrent closed 2 years ago

davebrent commented 2 years ago

This adds aubio_filterbank_set_triangle_bands and aubio_filterbank_set_mel_coeffs_slaney to the FilterBank object, in the same way they are exposed in Aubio's Python API.

The values for check-size are taken from the Python documentation: https://aubio.org/manual/latest/py_spectral.html

katyo commented 2 years ago

@davebrent I fixed CI. Could you rebase this PR to current master?

davebrent commented 2 years ago

@davebrent I fixed CI. Could you rebase this PR to current master?

Done, sorry for the delay!

katyo commented 2 years ago

@davebrent I was so busy last weeks. Sorry for delay.