Socket
Socket
Sign inDemoInstall

webmscore

Package Overview
Dependencies
Maintainers
1
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webmscore - npm Package Versions

13
6

0.20.2

Diff

Changelog

Source

0.20.2 - 2021-02-08

Changed

  • Improve synthAudioBatch performance
xmader
published 0.20.1 •

xmader
published 0.20.0 •

Changelog

Source

0.20.0 - 2021-02-08

Added

  • Synthesize audio frames in bulk (n * 512 frames)
const fn = await score.synthAudioBatch(starttime, batchSize)
for (...) {
    const resArr = await fn(cancel?)
}
xmader
published 0.19.2 •

Changelog

Source

0.19.2 - 2021-01-25

Changed

  • Emit detailed debug info (function names) in a separate .symbols file

This saves 2.45 MB (23%) uncompressed, 0.42 MB (13%) brotli'd for the generated wasm file, compared to v0.19.1.

<details> <summary>How to look up function names in the .symbols file?</summary>
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>
xmader
published 0.19.1 •

Changelog

Source

0.19.1 - 2021-01-25

Added

  • Support loading Guitar Pro files into webmscore
await WebMscore.load(format: 'gtp' | 'gp3' | 'gp4' | 'gp5' | 'gpx' | 'gp' | 'ptb', data, fonts, doLayout)

Changed

  • Generate detailed debug info
<details>
// 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>
xmader
published 0.19.0 •

Changelog

Source

0.19.0 - 2021-01-23

Added

  • Support loading MusicXML (musicxml or compressed mxl) and MIDI files into webmscore
await WebMscore.load(format: 'musicxml' | 'mxl' | 'midi', data, fonts, doLayout)
xmader
published 0.18.0 •

Changelog

Source

0.18.0 - 2021-01-20

Added

  • Support MSCZ/MSCX internal file format version 3.02

Changed

  • Merge upstream v3.6.0 into webmscore, see the changelogs there
xmader
published 0.17.1 •

Changelog

Source

0.17.1 - 2021-01-12

Changed

  • The fonts parameter in WebMscore.load can now be passed as type of Promisable<Uint8Array[]>.

This allows webmscore to initiate fonts and wasm assets simultaneously.

xmader
published 0.17.0 •

Changelog

Source

0.17.0 - 2021-01-12

Changed

  • For Webpack build, asset files (webmscore.lib.*) will be served via the jsDelivr CDN by default. (importing webmscore resolves to webmscore/webmscore.cdn.mjs)
    So those files will no longer appear in your dist directory, and the workaround is no longer needed.
xmader
published 0.16.2 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc