Karya, built on Mon Jul 24 11:39:07 PDT 2017 (patch 33511aca01257b76b88de7c7a2763b7a965c084e)

Safe HaskellNone

Perform.Lilypond.LilypondTest

Contents

Synopsis

Documentation

process_simple Source #

Arguments

:: [String]

only include these lilypond backslash commands

-> [Types.Event] 
-> Either String String 

Assume 4/4 and no voices.

extract

extract_lys Source #

Arguments

:: Maybe [String]

if Just, only include these lilypond backslash commands

-> Either String [Output] 
-> Either String [Either [(Process.Voice, String)] String] 

make data

mktime :: Double -> Types.Time Source #

1 == quarter, to be consistent with the default behaviour for Types.real_to_time.

derive

type StaffGroup = (String, [String]) Source #

(title, [Staff]) where Staff = String

convert_measures :: [String] -> [Types.Event] -> Either String String Source #

Like convert_staves, but expect only one staff.

convert_staves Source #

Arguments

:: [String]

Only include lilypond backslash commands listed here. Or ["ALL"] to see them all, for debugging.

-> [Types.Event] 
-> Either String [StaffGroup] 

Convert events to lilypond score.

convert_score :: Result -> (String, [String]) Source #

Generate an entire ly score.

extract :: (Types.Event -> a) -> Result -> ([a], [String]) Source #

extract