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:
+2
-2
@@ -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…';
|
||||
|
||||
Reference in New Issue
Block a user