Spotify Looper: Day 40
Finished with rough mockup.
Finished with rough mockup.
I’ve had a rethink about the UI, and so over the past few days been working on mocking that up in a new fork. Because I know that the backend is working, I’m...
Completed basic LooperView. Thinking about what happens when a loop is changed. Logic’s cycle works like this: Start playhead has no effect on anything: i...
Started looper indicator, but didn’t get too far today: too many distractions.
It turns out that Timer is far too inaccurate to use for short loops. Instead, I think AudioKit might be a good option, using something like a MIDI sequenc...
Implemented loop logic and button, but there is an issue in that it’s not super consistent. I’ll add some debug statements to figure out whether it’s a netwo...
Fixed bug on not being able to launch the app without being connected to Xcode (was using Environment variables for the client credentials)
✅ Can load the currently playing track and seek to any position using the playhead and segment buttons!!!
Finally managed to sync up the UI to the API (with manual updates via a get button)! Created a State variable for position in Playhead (to allow for locally ...
No luck. I’m not clear on the update model in my head. The PlayheadNavigationView isn’t working because I’ve not clearly defined whether it should take a bin...
sigh the iOS API does work, but playerStateDidChange only updates on play/pause or new track, so isn’t going to work for updating the progress ❌
Implemented a method on Spotify to retrieve the current playback as a subscriber, but this finishes after the request is sent, so I can’t use it to dynamical...
On reflection, the iOS API is too janky to get working well, so I’ve branched back to using the Web API for everything-Loopify will essentially be a controll...
Fixed issue with looping between Spotify and Loopify on auth.
Received access token and used it to get track data in a playground! 🎉