Move Copy link to Generate & Play and align /play output.

Shows Copy link beside the synth engine controls and makes /play run procedural generation to match the main page.
This commit is contained in:
b1rdmania
2025-12-26 18:26:49 +00:00
parent 8160c87258
commit 88891afd8e
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -114,8 +114,8 @@ async function main(): Promise<void> {
setUiPlaying(true);
statusEl.textContent = 'Generating…';
// Match main page output: passthrough → existing SynthesisEngine.
await motifEngine.generateFromMIDI(events, 'passthrough');
// Match main page "Generate & Play": procedural role-mapping → existing SynthesisEngine.
await motifEngine.generateFromMIDI(events, 'procedural');
motifEngine.setVolume(Number.parseFloat(volumeEl.value));
statusEl.textContent = 'Playing…';