Skip to content

Add MusicPlayerExample#396

Draft
stackotter wants to merge 3 commits intomainfrom
stackotter/music_player
Draft

Add MusicPlayerExample#396
stackotter wants to merge 3 commits intomainfrom
stackotter/music_player

Conversation

@stackotter
Copy link
Collaborator

This PR introduces MusicPlayerExample which is a basic MP3 player. Users can create playlists and load mp3/wav files off their file system. Everything gets persisted to disk. Audio playback is supported by swift-miniaudio.

@stackotter stackotter force-pushed the stackotter/music_player branch from c10bc7a to 7eea7fd Compare January 31, 2026 03:59
@kaascevich
Copy link
Contributor

Once you've merged in #392, do you suppose you'd be able to use that for persistence instead? Or is this persisting too much data for that to be appropriate?

@stackotter
Copy link
Collaborator Author

I’ll have to look into it, but I feel like it’s probably too much data for AppStorage to be appropriate. But I’m not sure, the threshold might be different to SwiftUI due to your Codable support

@MiaKoring
Copy link
Contributor

MiaKoring commented Jan 31, 2026

If you are interested we could try Vein ^^

although that might be less than optimal due to version compatibility 🥲

I really need to expand it at some point. Might have to give up traits

@kaascevich
Copy link
Contributor

@MiaKoring If you really wanted, you could write an AppStorageProvider that interfaces with Vein!

@stackotter stackotter marked this pull request as draft February 4, 2026 03:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants