Giter Club home page Giter Club logo

inscoreweb's Introduction

Welcome to the INScore JS Online Editor

The INScore Online Editor is based on INScore, an environment for the design of interactive, augmented musica scores.

Building

Firstly ensure that you have Git and Node.js installed.

Clone a copy of the repo then change to the directory:

$ git clone https://github.com/grame-cncm/inscoreweb.git
$ cd inscoreweb

Install dev dependencies:

$ npm install

To build everything:

$ make

To test, open an http server from the docs folder e.g.

$ cd docs
$ python -m http.server

Note that you can disable CORS security on Firefox and test without server: go to the about:config page and set security.fileuri.strict_origin_policy to false.

Build known issues

Currently the package @types/tern (an indirect dependency of the project) fails to compile and you'll likely get the following error message:

../node_modules/@types/tern/index.d.ts:7:15 - error TS2307: Cannot find module './lib/infer'.

To solve, open the file node_modules/@types/tern/index.d.tsand comment the export lines as follows:

// export * from "./lib/infer";
// export * from "./lib/tern";

Web Interface

The editor supports several options that may be passed on the url:

  • ?mode=preview : open the editor in preview mode (equivalent to the Preview button)
  • ?code=<b64code> : loads the inscore code passed as argument of the code option. This code must be encoded in base 64.
  • ?src=<url> : loads the inscore file indicated by the URL (note that you may face the CORS issue, but works with the embedded sample scripts)

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

inscoreweb's People

Contributors

dependabot[bot] avatar dfober avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

belljonathan50

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.