diff options
| -rw-r--r-- | tools/mq_editor/README.md | 6 | ||||
| -rw-r--r-- | tools/mq_editor/app.js | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/tools/mq_editor/README.md b/tools/mq_editor/README.md index 6f75a52..7d7d06b 100644 --- a/tools/mq_editor/README.md +++ b/tools/mq_editor/README.md @@ -10,7 +10,7 @@ open tools/mq_editor/index.html 1. Click **Open WAV** 2. Click **Extract Partials** (optional — Explore/Contour modes work immediately after load) -3. Press **1** to play synthesized, **2** to play original +3. Press **1** to play original, **2** to play synthesized, **3** to play current partial ## UI @@ -86,8 +86,8 @@ Committed partials are prepended to the partial list with full undo support. | Key | Action | |-----|--------| -| `1` | Play synthesized audio | -| `2` | Play original audio | +| `1` | Play original audio | +| `2` | Play synthesized audio | | `3` | Play selected partial alone | | `E` | Extract Partials | | `N` | New partial (flat 440 Hz, full duration) | diff --git a/tools/mq_editor/app.js b/tools/mq_editor/app.js index d53af37..1e17adf 100644 --- a/tools/mq_editor/app.js +++ b/tools/mq_editor/app.js @@ -513,10 +513,10 @@ document.addEventListener('keydown', (e) => { } if (e.code === 'Digit1') { e.preventDefault(); - playSynthesized(); + if (!playBtn.disabled) playOriginal(); } else if (e.code === 'Digit2') { e.preventDefault(); - if (!playBtn.disabled) playOriginal(); + playSynthesized(); } else if (e.code === 'Digit3') { e.preventDefault(); const sel = viewer ? viewer.selectedPartial : -1; |
