Live data from Hacker News

I made a guitar tuner app using Flutter and Rust

justune.eu

131–140 of 153 posts

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

#131
post #79

There are two Drop D tunings listed and one is actually Drop C. There is no Drop D♭, you call it Drop C♯ which while it's technically the same set of tones, it's now how guitar players think of it. You have the same issue with E♭ Standard. Each of your notes in these tunings are listed as sharps instead of flats, which is not how guitar players think of the notes in these tunings. Also, you might want to consider pol…

Interesting you mention guitarists thinking in terms of flats. Is that rooted in music theory, preference/convention, or something else? A sibling common mentions "c#, g#, c#, f, g#, c#" which is exactly how I would think of it. I'd guess that without a key signature to reference it doesn't really matter, but I'm a theory novice so curious about this.

I’m self taught, and I tend to think of flats because I tend to downtune. I think others choose the flat or sharp based on their desired key. That doesn’t help me describing a tuning if I’m playing out of the tuning’s assumed key! I have adopted one set of tunings which requires bringing the second string higher than the first, which I usually dedicate to a guitar with the strings swapped so I don’t break them all the time. (Adapted from very closely watching performances by Kelli Rudick if you’re curious.) I always describe the 2nd string tuning with sharps unless I have a good reason not to.

None of this is meant as advice, it’s just how I reason about using the instrument myself in ways it wasn’t necessarily intended.

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

#133

The 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.

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

#135
post #126

Earlier quoted context omitted.

I would guess that it's to do with the fact that musicians generally use the key with fewer sharps/flats. E.g., Bb major (2 flats) instead of A# major (5 sharps). This also follows what's on the circle of fifths, where major keys clockwise from C use sharps, and vice versa. In the case of drop Db, I would also guess that people just think of it as "slightly lower than drop D", hence just adding a flat symbol.

Nit pick: A# major would be 10 sharps, at least written following the usual convention of each note letter being used exactly once: A# B# C## D# E# F## G##.

What is 2 but 1 plus 1? The key of B flat is easier to read.

Disregarding how it'd be read, I suppose you could theoretically get into keys like G-triple-sharp or F-quadruple-flat -- but that's just overcomplicating things, isn't it?

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

#136
post #98

Earlier quoted context omitted.

Because you can see the tuning of all the strings at once. You strum and they all show up. Then you can see which ones are more out of tune than others and tune them together. Prevents problems where changing the tuning (tension) of one string throws another string out of tune. I call it "global tuning." It gives you precise tuning extremely fast.

Does the tuning of one string affect the others on guitars with hard tails, or is this mostly a tremolo induced issue?

I believe the issue is due to small changes in the overall tension on the instrument caused by changing one string’s tension.

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

#137
post #98
post #92

Earlier quoted context omitted.

Why is it good? Interested

Because you can see the tuning of all the strings at once. You strum and they all show up. Then you can see which ones are more out of tune than others and tune them together. Prevents problems where changing the tuning (tension) of one string throws another string out of tune. I call it "global tuning." It gives you precise tuning extremely fast.

Ok. Sold!!! That is awesome.

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

#138
post #104

Earlier quoted context omitted.

Lots of things to tune that aren't electric guitars ;)

The TC works just fine w/ any number of string instruments that aren't guitars or electric :)

Now try to tune a woodwind with one :)

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

#139
post #59
post #13

Earlier 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…

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
Post reply on HN