roc-streaming / roc-toolkit

Real-time audio streaming over the network.
https://roc-streaming.org
Mozilla Public License 2.0
1.04k stars 207 forks source link

Implement moving percentile algorithm #751

Closed gavv closed 1 month ago

gavv commented 1 month ago

Add a class that implements moving percentile algorithm based on these excellent articles:

(Also feel free to suggest a better approach if you know one).

The new class can be named MovQuantile or MovPercentile. Interface should be similar to core::MovStats class, which implements moving minimum, maximum, and variance.

We also need unit tests, you can find example here.

This task is needed for #712.

novertia commented 1 month ago

Hi can I work on this issue

gavv commented 1 month ago

Sure, thanks!

gavv commented 1 month ago

Merged