Live data from Hacker News

I made a guitar tuner app using Flutter and Rust

justune.eu

11–20 of 153 posts

Re: I made a guitar tuner app using Flutter and Rust

#13

Looks very nice, would you tell us a little bit about what you used to build this? I am just getting started with Rust and it would be cool to hear what approach you went and what you would recommend when starting today.

Flutter for the UI. Rust for the listening, and pitch detecting backend. Connected the former with the latter using flutter_rust_bridge.

More details on Rust backend:

For listening (getting audio signal from microphone) I used:

- Android: https://crates.io/crates/oboe

- native desktop/iOS (not currently released): https://crates.io/crates/clap

- Web: https://crates.io/crates/web-sys (so basically JS Web Audio API called from Rust compiled to WASM).

For pitch detection:

- https://crates.io/crates/pitch-detection

Re: I made a guitar tuner app using Flutter and Rust

#18
post #13

Looks very nice, would you tell us a little bit about what you used to build this? I am just getting started with Rust and it would be cool to hear what approach you went and what you would recommend when starting today.

Flutter for the UI. Rust for the listening, and pitch detecting backend. Connected the former with the latter using flutter_rust_bridge. More details on Rust backend: For listening (getting audio signal from microphone) I used: - Android: https://crates.io/crates/oboe - native desktop/iOS (not currently released): https://crates.io/crates/clap - Web: https://crates.io/crates/web-sys (so basically JS Web Audio API cal…

Awesome, thanks!

Re: I made a guitar tuner app using Flutter and Rust

#20

I would love to see the source code, or at least a simplified version. Audio input in rust and rust talking with flutter on mobile device. Such a cool project.

I don't think it's related, but a post from someone showing a simplified version of the same idea (pitch detection with WASM/Rust), with detail and source: https://www.toptal.com/webassembly/webassembly-rust-tutorial...
Post reply on HN