hmt-diagrams-0.15: Haskell Music Theory Diagrams

Safe HaskellNone
LanguageHaskell98

Music.Theory.Diagram.Render.Path

Contents

Description

Functions to make path diagrams such as those in Fig. VIII-11 on I.Xenakis Formalized Music.

Synopsis

Drawing

type Path = [(Ca, Ls R)] Source

A set of Ca and Ls pairs.

draw_path :: Path -> Render () Source

Draw Path with mid-point arrows.

write_pdf :: FilePath -> [Path] -> IO () Source

draw_paths to named PDF file.

Path diagram

path_diagram :: FilePath -> [Path_Diagram] -> IO () Source

Write PDF of a set of Path_Diagrams to named file.