1.13.0 • Published 3 months ago

ireal-musicxml v1.13.0

Weekly downloads
11
License
GPL-3.0-only
Repository
github
Last release
3 months ago

ireal-musicxml

iReal Pro to MusicXML converter

npm version GitHub Build Status

Demo

Check out the demo! You can upload one of the iReal Pro main playlists as a test.

Usage

import * as iReal2MusicXML from 'ireal-musicxml'
const ireal = // Content of HTML file generated by iReal Pro or irealb:// URI
const playlistSync = iReal2MusicXML.convertSync(ireal)
const playlistAsync = await iReal2MusicXML.convert(ireal)
// => {
//   name:              // Playlist name
//   songs: [{
//     title:           // Title
//     composer:        // Composer
//     style:           // Song style for display
//     groove:          // Song style for playback
//     key:             // Key signature
//     transpose:       // Transposition in semitones
//     bpm:             // Beats per minute
//     repeats:         // Repeat count
//     music:           // Raw song encoding
//     cells: [ Cell ]  // Array of parsed cells
//     musicXml:        // MusicXML output
//   }]
// }

const playlistManual = new iReal2MusicXML.Playlist(ireal)
// => Same as above minus `musicXml` attribute
const musicXml = iReal2MusicXML.MusicXML.convert(playlistManual.songs[0])
// => MusicXML output

Development

xmllint is required to run tests (but NOT at runtime). Tests are used to ensure that the generated MusicXML is valid.

npm install
npm run test

Check out the demos for example usage under demo/.

Documentation

1.13.0

3 months ago

1.12.1

4 months ago

1.12.0

4 months ago

1.11.0

11 months ago

1.10.0

1 year ago

1.9.4

2 years ago

1.9.1

2 years ago

1.7.3

2 years ago

1.9.0

2 years ago

1.8.0

2 years ago

1.9.3

2 years ago

1.9.2

2 years ago

1.5.5

2 years ago

1.7.2

2 years ago

1.7.1

2 years ago

1.7.0

2 years ago

1.6.0

2 years ago

1.5.4

2 years ago

1.5.3

2 years ago

1.5.2

2 years ago

1.5.1

3 years ago

1.5.0

3 years ago

1.4.0

3 years ago

1.3.1

3 years ago

1.3.0

3 years ago

1.2.0

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago