Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Clojure library for reading and analyzing midi files
Clojure TeX
tree: d31dc728ac

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
doc
resources/bach
src/fuga
test/fuga
.gitignore
README.md
project.clj

README.md

fuga

This is a library to read notes from a midi file and translate them into a form suitable for analysis.

Also included are the midi files for books I and II from Bach's Well-Tempered Clavier.

Usage

(require '[fuga.core :as fuga])

(def midi (fuga/read-midi "path/to/midi/file"))
(def tracks (fuga/extract-tracks midi))
(def notes (fuga/filter-notes tracks))
(def processed (fuga/process-notes notes))

License

Copyright © 2012 Ryan Spangler

Distributed under the Eclipse Public License, the same as Clojure.

Something went wrong with that request. Please try again.