Saturday, December 31, 2022
Show HN: I made a simple, open source, chromatic tuner mobile app https://ift.tt/GjkLx2Z
Show HN: I made a simple, open source, chromatic tuner mobile app I'm a musician by night, software developer by day, and one of the minor frustrations I've always had was trying to find a simple tuner app for my phone. Looking at both the iOS and Android app stores, you'll find a lot of the top tuner apps are rather bloated with ads or subscription callouts. I thought I'd create a dead-simple minimalistic mobile chromatic tuner the way I would like it - open the app and tune my guitar. My work is in web with NodeJS and React, so I chose React Native since it was the easiest to understand coming from React. Flutter was also an option since the company I work for has a team working in that, but I thought it would be a bit too much effort to learn Dart. I learned a bit more about React rendering with this project as well. The main issue I had was trying to have a React state variable be constantly updated with any frequencies detected from the mic input, but that ended up causing substantial slowdown due to so many rerenders, so I opted to use a React ref to maintain any detections, and then only update the React state when there was an actual note. I feel like sometimes the UI has trouble updating occasionally when my iPhone is in battery saving mode, which I guess might be related to throttling the audio sample rate somehow, though I'm not entirely sure. Friends and family haven't noticed this, so it may be due to my old 2016 iPhone SE :P. The apps you can find on the both the iOs App Store and Google Play (free!). https://ift.tt/iESvOBH https://ift.tt/qWECAMc... Would love any feedback! https://ift.tt/VlhCOgS January 1, 2023 at 02:21AM
Labels:
Hacker News
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment