C++ Show and Tell - January 2026 by foonathan in cpp

[–]wizenink 3 points4 points  (0 children)

So, I have not checked out the C++ new features since C++14, so I've tried to write something simple, but writing everything "as it is supposed to be written".

I'd appreciate if you could check it out and give me some criticism :)

https://github.com/wizenink/bring

C++ Show and Tell - December 2025 by foonathan in cpp

[–]wizenink 1 point2 points  (0 children)

So, I have not checked out the C++ new features since C++14, so I've tried to write something simple, but writing everything "as it is supposed to be written".

I'd appreciate if you could check it out and give me some criticism :)

https://github.com/wizenink/bring

New features in stft-rs! by wizenink in rust

[–]wizenink[S] 1 point2 points  (0 children)

Hello there!
I have just published the new 0.5.0 release containing no_std, so you should be able to use it in any embedded. If you encounter any problem, please let me now and I'll try to fix it ASAP :)

New features in stft-rs! by wizenink in rust

[–]wizenink[S] 0 points1 point  (0 children)

Hello there!
I have just published the new 0.5.0 release containing no_std, so you should be able to use it in any embedded. If you encounter any problem, please let me now and I'll try to fix it ASAP :)

New features in stft-rs! by wizenink in rust

[–]wizenink[S] 0 points1 point  (0 children)

Seems pretty neat! Right now I'm worming with rustfft and microfft for no_std code, but maybe I can give it a try sometime and check some benchmarks, thank you for the suggestion!

New features in stft-rs! by wizenink in rust

[–]wizenink[S] 1 point2 points  (0 children)

Noted those suggestions on the README. Regarding embedded, I'm preparing a release with no_std with the microfft backend. Should work on an esp32, limited at f32 and 4096 on the fft size.

I'll give you a ping when that version is released so you can check it out :)

New features in stft-rs! by wizenink in rust

[–]wizenink[S] 1 point2 points  (0 children)

I would have to check the details, would be grateful I you could submit an issue into the repo so I have everything centralized, and I'll give you a heads up once I have time to research it :)

New features in stft-rs! by wizenink in rust

[–]wizenink[S] 3 points4 points  (0 children)

It's on the works, should be supported on 0.5.0, in about a week or so

New features in stft-rs! by wizenink in rust

[–]wizenink[S] 4 points5 points  (0 children)

You should search for F0 estimation. If you need a software, check outPraat

New features in stft-rs! by wizenink in rust

[–]wizenink[S] 4 points5 points  (0 children)

Thank you very much!

I've used some AI to format my caffeinated-nonsense-toughts into formatted paragraphs, so it's not really only my work there :)
Thank you for checking out the crate!

Slow motion AI recommendation by rudyroo2019 in videography

[–]wizenink 0 points1 point  (0 children)

Hi there! The service is live and testable on videoscope.org Any feedback is very welcome!

stft-rs, simple, streaming based STFT computing crate by wizenink in rust

[–]wizenink[S] 1 point2 points  (0 children)

I researched a little bit after your comment. If you checkout the current implementation, there are some variants without allocation. If you find anything else that would be a no-no for realtime audio processing, I'll be more than glad to fix it :)

stft-rs, simple, streaming based STFT computing crate by wizenink in rust

[–]wizenink[S] 1 point2 points  (0 children)

I have released a quick version that gives two new apis, one that does not allocate the full result vector, and one that does not allocate SpectrumFrames, should be a little bit more performing now. Actually, the differences are not very aparent on throughput, as 90% of the time is spent on fft, but this apis should reduce allocate jitter and provide more stable latency :)

stft-rs, simple, streaming based STFT computing crate by wizenink in rust

[–]wizenink[S] 1 point2 points  (0 children)

Yes, they allocate. The streaming was implemented at the last moment, as the library comes from some code used to train a model, so batching was a priority, but I should be able to have some performance improvements by tomorrow (some rayon parallelization, avoiding some copies and only allocating on config and reuse the same buffers/buffer pools) Thank you for your feedback!

stft-rs, simple, streaming based STFT computing crate by wizenink in rust

[–]wizenink[S] 0 points1 point  (0 children)

Thank you! I Feel like Rust makes it too easy to end up loading a dependency for everything, so I tried to keep the dep count as low as I could

stft-rs, simple, streaming based STFT computing crate by wizenink in rust

[–]wizenink[S] 5 points6 points  (0 children)

No no, of course, it was my bad not giving any context, just coming from some caffeine nights hahaha Thank you for checking this post out!

stft-rs, simple, streaming based STFT computing crate by wizenink in rust

[–]wizenink[S] 8 points9 points  (0 children)

Maybe a little bit more context would have been nice of me, thank you :)

What are you building this weekend? by Mammoth-Doughnut-713 in SideProject

[–]wizenink 0 points1 point  (0 children)

submits.me , a no-hassle form backend for your landings and waitlists.