tools:rhythmustrainer-einfach
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen der Seite angezeigt.
| Beide Seiten, vorherige ÜberarbeitungVorherige ÜberarbeitungNächste Überarbeitung | Vorherige Überarbeitung | ||
| tools:rhythmustrainer-einfach [10/08/2025 16:00] – Eric Weber | tools:rhythmustrainer-einfach [12/08/2025 20:59] (aktuell) – Eric Weber | ||
|---|---|---|---|
| Zeile 204: | Zeile 204: | ||
| <div class=" | <div class=" | ||
| < | < | ||
| - | < | + | < |
| | | ||
| <div class=" | <div class=" | ||
| Zeile 294: | Zeile 294: | ||
| currentRhythm.push(Math.random() < 0.5 ? 0 : 1); | currentRhythm.push(Math.random() < 0.5 ? 0 : 1); | ||
| } | } | ||
| + | | ||
| + | // Reset solution state | ||
| solutionVisible = false; | solutionVisible = false; | ||
| + | showBtn.textContent = ' | ||
| + | | ||
| playBtn.disabled = false; | playBtn.disabled = false; | ||
| showBtn.disabled = false; | showBtn.disabled = false; | ||
| Zeile 304: | Zeile 308: | ||
| function rhythmToNotation(rhythm) { | function rhythmToNotation(rhythm) { | ||
| const notation = rhythm.map(beat => { | const notation = rhythm.map(beat => { | ||
| - | return beat === 0 ? ' | + | return beat === 0 ? ' |
| }).join(' | }).join(' | ||
| return notation; | return notation; | ||
tools/rhythmustrainer-einfach.1754834457.txt.gz · Zuletzt geändert: von Eric Weber
