0.1.4 • Published 4 years ago

@sapper-dragon/lilypond v0.1.4

Weekly downloads
6
License
MIT
Repository
github
Last release
4 years ago

@sapper-dragon/lilypond

Decorate your Sapper project with LilyPond.

@sapper-dragon/lilypond utilizes LilyPond under the surface, a tool for transforming *.ly LilyPond code files to music engraving and MIDI files.

Installation

npm install @sapper-dragon/lilypond --save-dev
# or
yarn add @sapper-dragon/lilypond --dev

Usage

This project requires the @sapper-dragon/trimmings lib, so look there first for instructions, then come back. 💫

LilyPond CLI

This package requires the cli tools to be installed.

Instructions can be found here for Unix, MacOS X, and Windows.

After installing, @sapper-dragon/lilypond will watch for *.ly file changes in src/trimmings/lilypond, call the lilypond processor, and save the transformed music files (*.pdf and *.midi) tostatic/music`.

Config

You can place a trimmings.config.js file in the root of your project to set configutations. These are the defaults:

export default {
	lilypond: {
		input: 'src/trimmings/lilypond', // path to watch *.ly files
		filter: /\.ly$/, // pattern for files to watch
		outputStatic: 'static/music', // output path
	},
	// ... additional settings from other @sapper-dragon packages...
}
0.1.4

4 years ago

0.1.0

4 years ago

0.0.10

5 years ago

0.0.9

5 years ago

0.0.7

5 years ago

0.0.5

5 years ago