The movement is really choppy on my iPhone 13 Pro. Did you use requestAnimationFrame for the tuning movement? & CSS animations for switching instruments? Kinda just wondering how the performance could be so bad. Reminds me of PhoneGap circa 2013
I can confirm. It is extremely choppy and resource hungry for what it does. Since they use Flutter, the UI is rendered using 119 canvas elements. The same thing could be implemented using the web platform (no flutter and no rust) with better results.
I made a guitar tuner app using Flutter and Rust
81–90 of 153 posts
Re: I made a guitar tuner app using Flutter and Rust
#82It's available free (and no ads) for desktop browsers and as a $1 Android app (on mobile needs to be an app for performance reasons and I believe it's a fair price).
While $1 is certainly far less than the value this app provides, it’s going to be a hard sell when there are several free apps which do the same thing.
Re: I made a guitar tuner app using Flutter and Rust
#83Earlier quoted context omitted.
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…
> - native desktop/iOS (not currently released): https://crates.io/crates/clap I hope you didn't use a command line parser to stream audio...
Re: I made a guitar tuner app using Flutter and Rust
#84Earlier quoted context omitted.
I agree. Although this might be more about covering development costs than making OP money. An important distinction so many entrepreneurs fail to make. Don't enter a saturated market without anything new on the table if you intend to make money . The problem with this particular market is that musicians can mostly tune by ear. Most will have a dedicated tuner next to their instrument and worst of all these apps don'…
Musicians can tune by ear, but the vast majority of people who play guitar on a daily basis are novices or beginners and they all use tuners or tuner apps.
Re: I made a guitar tuner app using Flutter and Rust
#85Earlier quoted context omitted.
> - native desktop/iOS (not currently released): https://crates.io/crates/clap I hope you didn't use a command line parser to stream audio...
I meant https://github.com/RustAudio/cpal (should've checked).
Re: I made a guitar tuner app using Flutter and Rust
#86Earlier quoted context omitted.
What is that anger about Rust on internet forums about? I started learning Rust because it's a language with interesting characteristics and welcoming documentation. Only then I've discovered it's apparently "controversial" for some reason...
Members of the rust community were often accused of being overly-enthusiastic in recommending that things be rewritten in rust, so much to the point it more or less became a meme unto itself. Now, visceral anti-rust gut reactions are more commonplace than inappropriate suggestions to use rust are. Even that is petering out, though.
Basically, 'this ^', but wanted to add that the post was a lighthearted jab and a comical insinuation. Which, by the way, according to the little rollercoaster of upvotes and downvotes, seem to have raised a micro controversy of it's own. Which adds another layer of comedy to the entire situation.
A-A-ANYWAY. Since I was a bit upsetting, adding a (hopefully) evening out, on-topic suggestion.
For tuning my guitars, I often use gStrings app [0]. For some reason it's much better at 'catching' freqencies than the alternatives. Can't recall all the names, but I've tried most of the popular ones (such as Guitar Tuna, the Fender's one, etc). Might wanna check it out and see if there are some tricks to borrow :)
[0]: https://play.google.com/store/apps/details?id=org.cohortor.g...
Re: I made a guitar tuner app using Flutter and Rust
#87Re: I made a guitar tuner app using Flutter and Rust
#88Earlier quoted context omitted.
Speaking only for myself, I'm considering Flutter + Rust because I want to write everything in Rust, but there aren't great GUI options for Rust atm. I've heard good things about the rust dart bridge so it seems like a reasonable compromise, esp. given the Dart code to write Flutter UIs seems fairly declarative. Hoping to keep most of the logic in Rust and just the view in Flutter/Dart.
Do you mean this https://github.com/fzyzcjy/flutter_rust_bridge ?
Re: I made a guitar tuner app using Flutter and Rust
#89Re: I made a guitar tuner app using Flutter and Rust
#90This might have an obvious answer for the more experienced here, but (potentially stupid question) why didn't you use dart for this? Nothing against rust, just interested is all considering the dart/flutter relationship.
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).
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.