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

Safe Haskell None

Derive.Call.Europe.Grace

Description

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

Synopsis

# Documentation

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

# note calls

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

Make a grace call with the standard arguments.

Arguments

 :: Maybe ScoreTime.ScoreTime -> (ScoreTime.ScoreTime, ScoreTime.ScoreTime) (start, end) -> [NoteDeriver] -> BaseTypes.Duration -> BaseTypes.ControlRef grace placement, grace_place_doc -> Deriver [Sub.Event]

Arguments

 :: Map Int Attrs.Attributes Map intervals in semitones (positive or negative) to attrs. -> Generator Note

Arguments

 :: NoteDeriver -> Int -> BaseTypes.Duration -> Signal.Y placement, grace_place_doc -> PassedArgs a -> Deriver [Sub.Event]

# 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.

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 #