Swift Package Index


Pitch speller tools for use with the dn-m ecosystem and beyond


  • The latest stable release is 0.1.1. Released over 1 year ago.
  • The last commit to master was over 1 year ago.

Swift Version Compatibility

  • 0.1.1 and master
    5.3
    5.2
    5.1
    5.0
    4.2
Full build results

Platform Compatibility

  • 0.1.1
    iOS
    macOS(Intel)
    macOS(ARM)
    Linux
    tvOS
    watchOS
  • master
    iOS
    macOS(Intel)
    macOS(ARM)
    Linux
    tvOS
    watchOS
Full build results

PitchSpeller

Swift Version Platforms Build Status

The PitchSpeller module contains work toward a flexible pitch spelling algorithm, as formalized in my Harvard undegrad thesis. This project aims to take unspelled pitch information (e.g., MIDI note numbers), and produce optimal spelled versions of them, given the musical context and user preference.

PitchSpeller builds off of the dn-m ecosystem making use of the musical, notational and algebraic structures defined in dn-m/Music, dn-m/NotationModel and dn-m/Structure.

Development

Work on this package requires Swift 5.0.

Build instructions

Clone the repo.

git clone https://github.com/bwetherfield/PitchSpeller

Dive inside.

cd PitchSpeller

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 PitchSpeller.xcodeproj/