Add /play share page and X share links.

Includes a UX test page and Vercel/Vite routing for share URLs.
This commit is contained in:
b1rdmania
2025-12-26 14:33:01 +00:00
parent 3993b26b9a
commit f671aa3b57
6 changed files with 1110 additions and 1 deletions
+4 -1
View File
@@ -27,7 +27,10 @@ export class MotifEngine {
this.roleMapper = new RoleMapper();
}
async generateFromMIDI(events: NoteEvent[], transformMode: 'passthrough' | 'procedural' = 'passthrough'): Promise<void> {
async generateFromMIDI(
events: NoteEvent[],
transformMode: 'passthrough' | 'procedural' = 'passthrough'
): Promise<void> {
// Initialize audio context using shared unlock (iOS compatibility)
if (!this.audioContext) {
this.audioContext = await unlockAudio();