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 2025-04-11 * Revision: 157 - added option opt.burak that selects specific playback of some ornaments and also implies opt.rbm (re-beam) 2025-04-10 * Revision: 156 - bug: inadvertently removed dynamic instument mapping - added chromatic transposition in the URL-param for instrument mapping inst=<voice number>:<inst number>:<tranposition>,<..>:<..>:<..>, ... * Revision: 155 - added makam fragment to xml2abc_emb.html - new option "rbm" to re-ream all measures of an xml-file 2025-04-08 * Revision: 154 - clean-up: use extra instrument parameter in stead of encoding the insturment into the midi number * Revision: 153 xmlplay_emb.js: import last changes from xmlplay.js: - use doModel from xmlplay.js unmodified - add playback of ornaments and grace notes 2025-04-05 * Revision: 152 - improved handling of grace notes 2025-04-04 * Revision: 151 - changes in setKey: reset key after grace notes, replicate key alterations in 9 octaves of acctab, thus making acctab indexed by pitch - note2mid only takes pitch as parameter (was octave, step) - note2mid takes care of temporary changes in acctab - function compute_ornament can now use note2mid - isolate parsing of ts (time sequence, abc2svg) in new function parseNotes - use recursive call to parseNotes to process grace notes (ts.extra) - merge grace notes with following real note in parseNotes - include grace notes in svgInfo - extend function speel with code for ornaments 2025-04-01 * Revision: 150 - remove alts array - checkDecos() also checks for ornaments and returns their name - new functions noot2mid and compute_ornaments - accidentals modify acctab directly (in stead of the removed separate alts array) - notes of array allnotes get a new attribute 'orn' with an ornament object) - compute instruments only once (== check for alrealy computed) - global debug variable (can be set with option deb) 2025-03-29 * Revision: 149 - bug in function edo53cor prevented playing chords when edo53 tuning was used * Revision: 148 - detect edo53 (%%MIDI temperamentequal 53) - correction of makam rast scale (major) when in edo53 - set flat to -5 comma and sharp to +4 comma when in edo53 and key is defined by a <fifths> element. 2025-03-25 * Revision: 147 - new URL parameter inst=v0:i0,v1:i1... sets initial instruments for given voice:instrument-number pairs (overrides %%MIDI, but only at the beginning) - added svg36 constant also to xmlplay_emb.js - added microtonal examples to xmlplay_emb.html 2025-03-23 * Revision: 146 - misplaced var declaration - applied changes for fractional accidentals from xmlplay.js 2025-03-22 * Revision: 145 - disable voicemaps during the model parsing to enable correct computation of fractional midi numbers for tablature scores * Revision: 144 - play and display fractional accidentals (makam and up/down variants) - added svg definitions for up/down accidentals (edo36) - function setKey accepts (explicitly added) fractional accidentals - compute midi number as an integer value plus a detune value in cents - add the cent value to functions speel and opneer - set the AudioBufferSourceNode parameter detune to the midi cent value - use midinumber from abc2svg when cent == 0 (no fractional accidental) 2025-03-18 * Revision: 143 - rewrite getPreload and parsePreload with await - remove continuation parameter from function doParms - don't start playback in function laadNoot - don't test audioCtx before calling laadNoot in function parseModel * Revision: 142 - remove promise in inst_create and change tail recursion into a loop - rewrite laadNoot with loops and await - logic bug setting withRT with parameter p.noRT - update github url for midi-js fonts - m-key should also work when menu is active xmlplay_emb.html: - larger value of stretchlast needed in the bass example of xmlplay_emb.html - use position:fixed for dialog style .dlog 2024-04-02 * Revision: 141 - allow for an initial title svg without music 2024-03-30 * Revision: 140 - bug: the intrument map was not initialized correctly