Skip to content

Tunes#97

Merged
bengarrett merged 6 commits intomainfrom
tunes
Mar 9, 2026
Merged

Tunes#97
bengarrett merged 6 commits intomainfrom
tunes

Conversation

@bengarrett
Copy link
Collaborator

No description provided.

bengarrett and others added 6 commits March 9, 2026 19:28
This commit adds a chiptune player that allows users to preview music files
(XM, MOD, IT, S3M, MP3) directly in their browser without downloading.

Features:
- Template function to detect music files by magic number
- Conditional chiptune player button on music file pages
- ES6 module implementation with proper error handling
- Fallback support for browsers without module support
- Clean integration with existing UI patterns

The player uses the Chiptune Worklet library (https://drsnuggles.github.io/chiptune/)
and only loads the 1.3MB library when needed, minimizing impact on non-music pages.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
@bengarrett bengarrett merged commit b7bf30d into main Mar 9, 2026
@bengarrett bengarrett deleted the tunes branch March 9, 2026 10:43
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.

1 participant