ryanheise

Results 1670 comments of ryanheise

I can't comment on how much of your app would need to be rewritten, I can only comment that you have more advanced requirements than are supported by just_audio_background and...

If the audio_service documentation is not detailed enough, please open a documentation request on that plugin since it is a separate plugin from just_audio, or to search the audio_service questions...

I'll leave it open to see if anyone else has similar use cases from which I can make a sensible API design decision (but it is likely to remain open...

I also think this feature would be a good idea, although it is not necessarily the highest on my personal priority list. I will of course welcome pull requests. The...

That would allow for a rudimentary visualiser, although probably what we want is something equivalent to Android's API, so we'd want to do a FFT on the audio signal. After...

@pstromberg98 that's possibly a good idea. Looking at the Android Visualizer API, it actually provides both the FFT data and the waveform data, so we could do the same. Although...

I've just implemented the Android side on the `visualizer` branch. Call: ```dart samplingRate = player.startVisualizer( enableWaveform: true, enableFft: true, captureRate: 10000, captureSize: 1024); ``` Then listen to data on `visualizerWaveformStream`...

Information on how to interpret the Android FFT data: https://developer.android.com/reference/android/media/audiofx/Visualizer#getFft(byte[]) https://stackoverflow.com/questions/4720512/android-2-3-visualizer-trouble-understanding-getfft As for iOS, some ideas for implementation: https://stackoverflow.com/questions/22751685/using-mtaudioprocessingtap-for-fft-on-ios https://chritto.wordpress.com/2013/01/07/processing-avplayers-audio-with-mtaudioprocessingtap/ (not exactly relevant) Some official Apple stuff: https://developer.apple.com/documentation/avfoundation/avplayeritem/1388037-audiomix?language=objc https://developer.apple.com/documentation/avfoundation/avaudiomix/1388791-inputparameters?language=objc https://developer.apple.com/documentation/avfoundation/avmutableaudiomixinputparameters?language=objc...

I've changed the API slightly to include the sampling rate in the captured data, and included a very simple visualiser widget in the example. The iOS side will be more...

To those interested in this feature, would you like a separate method to start the request permission flow to record audio for the visualizer? Currently `startVisualizer()` will start this flow...