Hacker News new | ask | show | jobs
by StavrosK 3465 days ago
I'm not loving the permissions blackmail. If you don't grant a permission (why does this app need to record audio?!), it just exits.
1 comments

Not the dev, but it seems like this app is using Android's internal audio Visualizer APIs and they require record audio permission even if just visualizing the audio played by the app. https://developer.android.com/reference/android/media/audiof...
Huh, that's weird (and broken), thanks for the clarification.
To get FFT data , the device records a small portion of currently playing audio, analyses it, does some magic signals and systems stuff, and generates an array containing the FFT data. Thus the permission to Record Audio.