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

Safe HaskellNone

Derive.Call.Europe.Grace

Contents

Description

Calls that generate grace notes. These are short sequences of quick notes whose duration is generally independent of the tempo.

Synopsis

Documentation

default_grace_dur :: Typecheck.DefaultReal Source #

It's pretty much arbitrary, but this seems ok.

standard args

note calls

c_grace :: Generator Note Source #

Grace is in the prelude since it's so commonly used. Mordent and the other variations are still in Module.europe.

make_grace :: Module.Module -> Doc.Doc -> (NoteDeriver -> NoteDeriver) -> (PassedArgs Score.Event -> [Sub.Event] -> NoteDeriver) -> Generator Note Source #

Make a grace call with the standard arguments.

c_attr_grace Source #

Arguments

:: Map Int Attrs.Attributes

Map intervals in semitones (positive or negative) to attrs.

-> Generator Note 

pitch calls

util

fit_grace_durs :: (Show a, Fractional a, Ord a) => a -> Maybe a -> a -> a -> Int -> a -> [(a, a)] Source #

Determine grace note starting times and durations if they are to fit in the given time range, shortening them if they don't fit.

fit_grace Source #

Arguments

:: (Show a, Fractional a, Ord a) 
=> a

placement, grace_place_doc

-> Maybe a 
-> a 
-> a 
-> Int 
-> a 
-> [a] 

fit_before :: (Fractional a, Ord a) => Maybe a -> a -> Int -> a -> [a] Source #

fit_after :: (Fractional a, Ord a) => a -> a -> Int -> a -> [a] Source #