Project 3: is it even possible on Android?
Where there is a will, there is a way.
For this third project I'm really starting from scratch, since I had never coded anything in Android Studio before.
Using a mini-PC and Python, I developed a script that plays a random list of music tracks when it starts up.
On the Raspberry, it works in a similar way: the music plays for a set duration and the volume gradually fades out.
On the Android version, the app can play your own MP3 files in the same way as the other two devices.
For this third project I'm really starting from scratch, since I had never coded anything in Android Studio before.
It's been several weeks since project 1 was finished and it's working perfectly. I still need to improve the fade-out curve, but it's not urgent. I changed the duration to 3 hours of music. I haven't sorted my track list yet, so sometimes there's some fairly loud rock, which isn't great for falling asleep...
After putting up with the radio for years, trying to find a decent station that doesn't just broadcast ads and actually plays good music, I gave up. First there's the sudden cut-off of the sound, which bothers me when I'm trying to fall asleep, since it grabs my attention when I want the opposite. Then there's the choice of tracks: never 100% to my taste...