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

@boethius/core

v0.2.2

Published

Music Notation

Downloads

2

Readme

Boethius - Music Notation

A Line is one-dimentional. Indexed by time.

A Staff is two-dimentional. Indexed by line and time.

A Score is three-dimentional. Indexed by Staff, Line, and time.

A score may potentially have pages as well.

Should view render methods return a paper group, or should they return themselves and set this.group?

  • If they have this.group then they are a direct representation of the paper group and have to be responsible for removing it on being rendered again.
  • If a view doesn't have this.group then it is more like a template.
  • Rendering ofter requires multiple render methods for various parts intertwined with render method calls on other "templates".
  • subsequent render method calls require both the view and the group. Hard to keep explicit reference between view and group without group property on the view.

TODOS

# High priority
- Voices crossing lines.
- placement.commonShortestDuration implementation.
- Repeats
- Da Capo / Dal Segno
- Anacrusis
- Minimum stem heights.
- Tie inflection points.
- Clef change markings at end of system.
- Fingerings
- Ghost notes
- Plugin system for rendering 'time' nodes.
- How to catch plugin system errors.
- Plugin options
- Whole measure rests when measure is not 4/4

# Plugins
- Page plugin
- Plugin for displaying a cursor when playing music to score. (Cursor Plugin)
- Plugin for configuring decorations.

# Lower priority
- SMuFL
- MusicXML
- Score title, tempo, composer.
- There should be a segregation between files that require paper.js and those that do not.
- Implement different staff type rendering. StaffGroup, ChoirStaff, GrandStaff, and PianoStaff.
- Line/Instrument Names.
- Instrument transpositions.
- optional rendering of measure numbers.
- Logger
- Remove "magic" strings/numbers.
- Vary stem direction of beamed notes. aka kneed beams
- Stricter ES6 Linting
- Better articulation placement
- Additional articulations/ornaments
- improved dynamic positioning
- Ability to turn features on/off for performance reasons.
- Fix double rendering of ledger lines.
- Lyrics
- Ability to specify horizontal position of systems.
- How to handle non-standard note durations? ex. a4/6

ISSUES

Plugin System

Plugins are objects that have certain functions that will be envoked in the boethius lifecycle. The functions are passed an object that is an accumulation of all previous executed functions. The functions can return either an object or a Promise. If an object is returned it will be merged into the accumulation. If a promise is returned the object passed to resolve will be merged into the accumulation.