Hi JUCE community,
I am currently considering a new project that requires the implementation of a custom audio player for iOS (and later possibly also Android) using JUCE. Specifically, I want to create an audio player that can play songs from the user’s music library with custom audio processing and a custom GUI.
Before diving into the implementation, I wanted to reach out to the community to see if anyone has already tackled a similar task. I would greatly appreciate any help or guidance that you may have.
From my initial research, here’s a summarized outline of what I believe would be involved in the implementation:
- Requesting permission to access the music library.
- Retrieving songs from the music library using JUCE’s file handling or platform-specific APIs.
- Configuring an audio player using JUCE’s audio player classes, such as AudioTransportSource or AudioSourcePlayer.
- Getting the audio frames as they are decoded and applying my custom processing before passing them on to the audio I/O device.
- Creating a user interface to display song information, playback and processing controls, and handle user interactions.
- Managing background audio playback by configuring JUCE’s audio settings.
- Managing control inputs from the OS (such as play/pause button pressed on headphones, etc.)
If you have any experience or suggestions related to implementing a custom audio player for iOS with JUCE, I would be grateful for your insights. Any code snippets, examples, or recommended resources would be immensely helpful.
Thank you in advance for your time and support. I look forward to hearing from you!
Best regards,
Fritz