Changelog
0.20.0 - 2021-02-08
const fn = await score.synthAudioBatch(starttime, batchSize)
for (...) {
const resArr = await fn(cancel?)
}
Changelog
0.19.2 - 2021-01-25
.symbols
fileThis saves 2.45 MB (23%) uncompressed, 0.42 MB (13%) brotli'd for the generated wasm file, compared to v0.19.1
.
RuntimeError: function signature mismatch
at wasm-function[1078]:0x315ac
at wasm-function[28467]:0x99f067
...
webmscore.lib.symbols
1078:Ms::Element::abbox() const
...
28467:Ms::savePng(Ms::Score*, QIODevice*, int, bool, bool)
</details>Changelog
0.19.1 - 2021-01-25
await WebMscore.load(format: 'gtp' | 'gp3' | 'gp4' | 'gp5' | 'gpx' | 'gp' | 'ptb', data, fonts, doLayout)
// Before
RuntimeError: function signature mismatch
at <anonymous>:wasm-function[1117]:0x359ec
at <anonymous>:wasm-function[28469]:0x99e040
...
// After
RuntimeError: function signature mismatch
at Ms::Element::abbox() const (wasm-function[1117]:0x359ec)
at Ms::savePng(Ms::Score*, QIODevice*, int, bool, bool) (wasm-function[28469]:0x99e040)
...
</details>Changelog
0.19.0 - 2021-01-23
musicxml
or compressed mxl
) and MIDI files into webmscoreawait WebMscore.load(format: 'musicxml' | 'mxl' | 'midi', data, fonts, doLayout)
Changelog
0.18.0 - 2021-01-20
Changelog
0.17.1 - 2021-01-12
fonts
parameter in WebMscore.load
can now be passed as type of Promisable<Uint8Array[]>
.This allows webmscore to initiate fonts and wasm assets simultaneously.
Changelog
0.17.0 - 2021-01-12
webmscore.lib.*
) will be served via the jsDelivr CDN by default. (importing webmscore
resolves to webmscore/webmscore.cdn.mjs
)dist
directory, and the workaround is no longer needed.