2025-06-26 * Revision: 177 - re-fetch the html source file as raw text to extract ABC fragments with a regular expression. This avoids problems with characters that are modified in the DOM by the html parser, such as '<', '&'. Because the html file is cached, re-fetching only causes negligible overhead. - function logerr (s) adds the text s to the dialog#comp (which can be viewed by pressing key 't' while the score has the focus, i.e. during playback) - bug in xmlplay_lib: undefined variable (isvgAligned) when moving the dotted line too fast. compile script: - add the piano embedded example to the distribution - specify --language_out for the closure compiler to make it compile the regular expression for abc fragments 2025-06-16 * Revision: 176 - remove use of jquery from xmlplay.js - barTimes should be reset in mkNtsSeq, not outside 2025-06-13 * Revision: 175 xmlplay_lib.js: - don't honor default touch actions when shifting the dotted line (touch- action: none) - don't propagate pointerup event for the dotted line otherwise the music stops xmlplay_emb.js: - set the focus to the first embedded music fragment, so that the key shortcuts work right away (space bar, arrow keys). Also set outline:none in the .abc style to suppress the ugly highlighting of the focussed element. - the document body listens to the pointerup event instead of the click event (compatible with the code for shifting the dotted line) - added a new example and changed the example text 2025-06-10 * Revision: 174 -bug: first test for the presence of the midijs checkbox before setting it! -add the sf2-soundfont for instrument 0 to the distribution zip file 2025-06-08 * Revision: 173 - added playback for arpeggio 2025-06-05 * Revision: 172 - bugs in playback of grace notes with multiple voices - start at begin of a music fragment when changing fragments in xmlplay_emb - add possibility to use xmlplay_lib with an external putMarkLoc function (high lighting the cursor) 2025-05-14 * Revision: 171 - implemented the noDash option - implemented manual moving of the dotted line * Revision: 170 - shorter implementation of music scrolling (alignment with the dotted line) - add listener for scrollend event only to the document 2025-05-13 * Revision: 169 - add dialog-div dynamically - scroll abc element into view when activated 2025-05-11 * Revision: 168 - first attempt to implement the dotted line again. 2025-05-09 * Revision: 167 - implement score aligning again (in putMarkLoc and plaatsLoper) - align both notation element and current music line to mid-height of window - use scrollend event to align notation element after smooth scrolling the score. - opt.nosm (no smooth scrolling) works again - add forced alignment in resize eventhandler of xmlplay_emb - add eventListener for scrollend to notation element (if scrollable) - updated xmlplay_readme.html - use opt.curmsk in stead of gCurMask 2025-05-08 * Revision: 166 - implement score aligning again (in putMarkLoc and plaatsLoper) - align both notation element and current music line to mid-height of window - use scrollend event to align notation element after smooth scrolling the score. - add eventListener for scrollend to notation element (if scrollable) - updated xmlplay_readme.html 2025-05-06 * Revision: 165 - added copyright preamble to the libraries - updated compile script 2025-05-05 * Revision: 164 - also move functions markeer, stringTunings, mapPerc and perc2map to xmlplay_lib.js - make dolayout() in xmlplay.js and xmlplay_emb.js more similar 2025-05-04 * Revision: 163 - changed xmlplay.js into a module in order to use the import statement for the supporting modules - removed the synthesizer code form xmlplay_emb.js and used the module xmlplay_syn.js instead - added parameter to laadNoot, which, when specified, starts playback after the notes have been loaded 2025-05-03 * Revision: 162 - moved synthsizer code to module: xmlplay_syn.js 2025-05-02 * Revision: 161 - moved common code from xmlplay.js and xmlplay_emb.js to module xmlplay_lib.js 2025-04-29 * Revision: 160 - removed dotted line and alignment code and added new scrolling code - make doLayout identical to the embedded version - add scrolling to resizeNotation 2025-04-23 * Revision: 159 - with option "deb" the computed AE-comma values of all notes are printed in the console window. These values can be compared to those published in the SymbTr collection. With very few exceptions both are equal. 2025-04-13 * Revision: 158 - include Hüzzam Makam exampls in the index file