herochartio
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

Node.js: herochartio

herochartio a chart parser and serializer from clone hero. This includes types for typescript and few helpers. This also supports mid charts parsing.

Installation

npm install herochartio

Usage

import { ChartIO } from 'herochartio'
let chart = await ChartIO.load("./notes"); // load .chart or .mid

let sectionPosition = chart.findSectionPosition("Guitar solo");
let sectionTime = chart.positionToSeconds(sectionPosition);

// ...

await ChartIO.save(chart, "./guitar.chart");

License

Licensed under MIT

Copyright (c) 2020 Aurélie Richard

Package Sidebar

Install

npm i herochartio

Weekly Downloads

1

Version

1.1.0

License

MIT

Unpacked Size

70 kB

Total Files

37

Last publish

Collaborators

  • bumpmann