Loading repository data…
Loading repository data…
inckie / repository
Basic karaoke app for Android and Google Glass
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
This is (yet and likely forever) minimalistic Karaoke pet project for Android and Google Glass devices. Uses Ultrastar Delux song format.
Just clone and build in Android Studio. You most likely will be required to install Glass Development Kit add-on. Project consist of 3 modules:
On phones and tablets, usage of headphones is strongly recommended since the mic pick ups the music been playing, and messes up tone detection.
On Google glass, earbud is a good idea since it provides much better audio quality, and much lower battery consumption.
Application has two algorithms of pitch detection: autocorrelation, taken from Ultrastar Delux and optimized for integer math, and Goertzel algorithm, as described in Wikipedia. Toggle is only available from source code for now. Autocorrelation seems to work really bad for 16000 sample rate and sine signal. 44100 is a bit better in reasonable range. Goertzel is pretty good for both rates. Not sure about real voice. There is also a JNI version of Goertzel, used by default now. For Samsung S7, it 4-7 (debug/release builds) times faster than Java one.
Code quality is far from production: Weak error checking, using string hashes as unique ids, and so on.