infojunkie / musicxml-player

A TypeScript component that loads and plays MusicXML files in the browser using Web Audio and Web MIDI.
https://blog.karimratib.me/demos/musicxml/
GNU General Public License v3.0
34 stars 6 forks source link

Support looping #16

Closed infojunkie closed 1 month ago

infojunkie commented 1 year ago

Control the playback repetitions of the full score.

infojunkie commented 1 month ago

Player now supports PlayerOptions.repeat (input option) and Player.repeat (dynamic setting). Any positive number is taken literally, any negative number means infinite looping, 0 is converted to 1.