npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@grame/inscorejs

v1.2.0

Published

The INScore engine, that provides augmented, dynamic, interactive musical scores.

Downloads

9

Readme

Welcome to INScoreJS

The INScoreJS library allows to embed the INScore engine services in a web page and to design augmented, dynamic and interactive musical scores that can be published on the Internet.
INScore engine version is 1.3.2

Content of the package

  • INScoreJS.js: the INScore javascript library
  • libINScore.js .wasm: the INScore engine compiled as a web assembly library
  • dev: intended to web developers who want to develop a custom application (see the dev/readme file)
  • inscore.d.ts: a typescript interface for web development
  • examples: contains examples of html pages
  • fonts: contains fonts used by INScoreJS

Dependencies

The INScore package depends on several libraries, only necessary if you're using specific objects:

  • guidolib: required for symbolic music notation and piano roll representation.
  • libmusicxml: required to import MusicXML files (assumes that the guidolib is also present).
  • libfaust: required to use faust objects.

All these libraries should automatically come with this package.

Examples

To display any of the provided examples, you must first launch a web server from the root of this package. Python provides such services. Using python 3:

$ python -m http.server [optionnal port number (default is 8000)]

Http servers are also available from npm.

Once the server is running, you can redirect a browser to http://localhost:8000/examples and open any of the examples.

Note

Drag and drop works with the javascript version in a similar way to the native version: you can drop an inscore file (or a script in textual form) to any inscore 'div'.

Designing a musical score

You can start from the template provided in the example folder.
INScoreJS do not support all the messages of the native version and provides specific messages. See the INScore Web documentation for more details.

Important notes

INScoreJS is still a project under development. The compatibility of the graphic rendering is not yet guaranteed for future versions. If you develop your own pages, it is therefore recommended to save the libraries used for preservation reasons.

Note also that the content of an inscore div is interpreted by browsers as html code. Thus avoid using < (opening tag character) and replace it with the textual form &lt;. Unless the inscore div content is framed with a <pre> tag, comments should be expressed using the html form <!-- commented section --> and not using inscore comments (#). This is valid for inline code only and does not apply to inscore files that you could drop on an inscore div.

Compatibility

The engine has been tested on the following platforms and browsers:

| | Chrome | Firefox | Safari | Opera | Edge | Internet Explorer | |---------|---------|----------|---------|-------|------|-------------------| | MacOS | OK | OK | OK | OK | - | - | | Ubuntu | - | OK | - | - | - | - | | Windows | OK | OK | - | - | OK | unsupported | | Android | OK | OK | - | - | - | - |


INScore is a project developed by GRAME-CNCM Computer Research Lab.