Skip to content

DCMLab/protovoices-haskell

Repository files navigation

Protovoices - A Model of Tonal Structure

A protovoice derivation and its inner structure

This project is an implementation of the protovoice model as described in:

Finkensiep, Christoph, and Martin Rohrmeier. 2021. “Modeling and Inferring Proto-Voice Structure in Free Polyphony.” In Proceedings of the 22nd International Society for Music Information Retreival Conference, 189–96. Online. DOI

It provides types and functions for representing and working with protovoice derivations, various parser implementations, plotting functionality, and a probabilistic model.

Have a look at the documentation

Overview

Library (src/)

The library part of the project (which implements the model) contains two types of modules, generic modules, which work on generic "path grammars" (with the common "outer operations" split, spread, and freeze) and modules that are specific to the protovoice grammar.

  • Common (docs) Common types and functions for representing and working with generic "path grammars" and their derivations.
  • Display (docs) Generic code for plotting path grammar derivations.
  • ChartParser (docs) A semiring chart parser that exhaustively parses a path grammar.
  • GreedyParser (docs) A greedy parser that tries to find a single parse for a path grammar by choosing the next reduction step according to a policy (e.g., randomly).
  • PVGrammar (docs) Representing protovoice derivations and their operations.

Executables (app/)

Building and Running

You can build the project with stack using:

$ stack build

Run any of the executables using:

$ stack exec {ismir2021,learn,examples,parse}

To build the documentation, run:

$ stack haddock

About

An implementation of the protovoice model in haskell

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages