Swiftpack.co - Package - dn-m/NotationModel

NotationModel

Swift Version Build Status

The NotationModel package contains several modules for the purposes of defining a model of musical notations. It extends types defined in the dn-m/Music module.

Modules

PlotModel

Defines a model for positioning values onto two-dimensional plots.

StaffModel

Extends the PlotModel, incorporating the concept of clefs, noteheads, accidentals, etc.

SpelledPitch

Defines pitches with names (G Sharp, A Flat, B Double Sharp, etc.) as well as named intervals (Major Third, Perfect Fifth, Double Augmented Sixth, etc.).

SpelledRhythm

Extends abstractly-represented rhythms with models of beams, ties, and dots.

Development

Work on this branch requires Swift 4.2.

Build instructions

Clone the repo.

git clone https://github.com/dn-m/NotationModel

Dive inside.

cd NotationModel

Ask Swift Package Manager to update dependencies (all are dn-m).

swift package update

Compiles code and runs tests in terminal.

swift test

Ask Swift Package Manager to generate a nice Xcode project.

swift package generate-xcodeproj

Open it up.

open NotationModel.xcodeproj/

The NotationModel package contains several modules:

Github

link
Stars: 2
Help us keep the lights on

Dependencies

Used By

Total: 0

Releases

0.4.0 - Oct 14, 2018

0.3.0 - Aug 14, 2018

Use much better APIs for Duration, Rhythm, Meter, Tempo, and Dynamics.

0.2.0 - Aug 13, 2018

0.1 - Jul 24, 2018