Earlier quoted context omitted.
Why not just dart?
Dart being a GC'd runtime makes it quite hard to use for low latency audio applications, probably not as critical for audio input as output, but still potential issue, for more details see: https://github.com/dart-lang/sdk/issues/46943
I made a guitar tuner app using Flutter and Rust
141–150 of 153 posts
Re: I made a guitar tuner app using Flutter and Rust
#142Earlier quoted context omitted.
I meant https://github.com/RustAudio/cpal (should've checked).
Haha, no worries :) "clap" does indeed sound audio-related, and "clap" is only one transposition from "cpal"!
Re: I made a guitar tuner app using Flutter and Rust
#143Earlier quoted context omitted.
Dart being a GC'd runtime makes it quite hard to use for low latency audio applications, probably not as critical for audio input as output, but still potential issue, for more details see: https://github.com/dart-lang/sdk/issues/46943
Then why bother with Flutter at all?
Rust - not so much (or more like not at all) at the moment.
Re: I made a guitar tuner app using Flutter and Rust
#144Earlier quoted context omitted.
Performance reasons, also wanted it to work on the web (Flutter web support is fairly recent, and dart/flutter libraries don't automatically work on the web, they have to support the platform).
Thanks. Is dart performance that bad? I thought it compiled to machine code if needed. With the web support I was hoping the since dart can be transpiled to JS Flutter might do something similar. I'll have to look into this, I'm learning Dart due to its ability to run on most platforms.
Re: I made a guitar tuner app using Flutter and Rust
#145What algorithm are you using? I've been tempted to write a tuner using autocorrelation, because in my experience it picks up pitch wonderfully.
It has documentation attached mentioning pitch detection algorithms it implements.
Re: I made a guitar tuner app using Flutter and Rust
#146Assuming you're using A440. I do not see a way to change it to my preferred reference frequency A432.
Re: I made a guitar tuner app using Flutter and Rust
#147How do you scroll the list on the left? It doesn't have any scroll bar or scroll buttons that I can see.
Re: I made a guitar tuner app using Flutter and Rust
#148Earlier quoted context omitted.
Then why bother with Flutter at all?
It's amazing for UI (and portable). Rust - not so much (or more like not at all) at the moment.
Re: I made a guitar tuner app using Flutter and Rust
#149Earlier quoted context omitted.
In general polyphonic pitch detection is a much harder problem to solve than monophonic. I guess focussing on guitar tuning only rather than trying to transcribe a whole song makes the problem a bit simpler but still is probably a lot more challenging than handling one note a time. Cool feature though, I had never thought of a polyphonic tuner!
My Snark died and I was about to order another one when I saw the TC Electronic PolyTune. I splurged and bought it. I love it!
Re: I made a guitar tuner app using Flutter and Rust
#150The app looks great, but since no source code is provided knowing that it's made with Flutter and Rust isn't really of much use for anyone (esp. for learning purposes). For anyone interested, I found a nice open source tuner for Android https://github.com/thetwom/Tuner
Agreed. Without source code, this is just Yet Another Guitar Tuner App(tm) this time with Magic Rust Pixie Dust(tm) (take our word for it). If they release source code, I'll toss them money. Until then, pass.