Safe Haskell | Safe-Inferred |
---|
Synopsis
- module_ :: Module.Module
- library :: Library.Library
- type M a = StateT PitchState Deriver a
- data PitchState = PitchState {
- _current :: !Transposed
- _from :: !Nn
- _prev :: !Nn
- _next :: !Nn
- _transition :: !Typecheck.Normalized
- nn_difference :: Transposed -> Transposed -> Deriver Nn
- get_pitch :: (PitchState -> Nn) -> M Transposed
- initial_pitch_state :: Typecheck.Normalized -> PassedArgs Control -> Deriver (Maybe PitchState)
- get_neighbor_pitches :: RealTime -> Deriver (Maybe Pitch, Maybe Pitch, Maybe Pitch)
- next_sample :: RealTime -> PSignal -> Maybe (RealTime, Pitch)
- c_import_pitch :: Transformer Control
- c_pitch_sequence :: Generator Control
- pitch_sequence_doc :: Doc.Doc
- next_event :: PassedArgs a -> Maybe ScoreTime.TrackTime
- infer_end :: PassedArgs a -> Deriver ScoreTime.TrackTime
- pitch_sequence :: PitchState -> ScoreTime.ScoreTime -> Code -> Deriver [Signal.Control]
- slice_time :: ScoreTime.ScoreTime -> [Double] -> [ScoreTime.ScoreTime]
- eval_call :: ((RealTime, RealTime), Call) -> M Signal.Control
- set_from :: Transposed -> M ()
- resolve_pitch :: Pitch -> M Transposed
- move_pitch :: RealTime -> Transposed -> RealTime -> Transposed -> M Signal.Control
- type Error = Text
- resolve_aliases :: [Either Alias Call] -> Either Error [Call]
- aliases :: Map Char Text
- type Parser a = A.Parser a
- data Call
- data Alias = Alias !Char
- data Movement = Movement !Pitch !Duration
- data Pitch = Pitch !From !Steps !Nn
- data From
- type Steps = Int
- type Nn = Double
- data Duration
- type Code = Text
- call_duration :: Call -> Double
- parse :: Code -> Either Text [Either Alias Call]
- p_calls :: Parser [Either Alias Call]
- p_set_from :: Parser Call
- p_alias :: Parser Alias
- p_movement :: Parser Movement
- p_duration :: Parser Duration
- p_pitch :: Parser Pitch
- p_pitch_from :: Parser Pitch
- p_steps :: Parser Steps
- p_nn :: Parser Nn
- p_from :: Parser From
- p_number :: Parser Int
- p_letter_negative :: Parser Int
- last_letter_negative :: Char
- choose_char :: [(Char, a)] -> Parser a
- c_sahitya :: Taggable a => Transformer a
Documentation
State
data PitchState Source #
PitchState | |
|
Instances
Show PitchState Source # | |
Defined in Derive.C.India.Gamakam6 showsPrec :: Int -> PitchState -> ShowS # show :: PitchState -> String # showList :: [PitchState] -> ShowS # |
nn_difference :: Transposed -> Transposed -> Deriver Nn Source #
get_pitch :: (PitchState -> Nn) -> M Transposed Source #
initial state
initial_pitch_state :: Typecheck.Normalized -> PassedArgs Control -> Deriver (Maybe PitchState) Source #
pitch sequence
next_event :: PassedArgs a -> Maybe ScoreTime.TrackTime Source #
Start of the next event. Args.next
gets the end of the block if there
is no next event, but I don't want that.
infer_end :: PassedArgs a -> Deriver ScoreTime.TrackTime Source #
Infer the end time for the gamakam as the next pitch in the pitch signal, which should correspond to the next explicit swaram.
pitch_sequence :: PitchState -> ScoreTime.ScoreTime -> Code -> Deriver [Signal.Control] Source #
slice_time :: ScoreTime.ScoreTime -> [Double] -> [ScoreTime.ScoreTime] Source #
set_from :: Transposed -> M () Source #
resolve_pitch :: Pitch -> M Transposed Source #
move_pitch :: RealTime -> Transposed -> RealTime -> Transposed -> M Signal.Control Source #
aliases
call types
Instances
How much time the movement takes.
Instances
call_duration :: Call -> Double Source #
parse
p_set_from :: Parser Call Source #
choose_char :: [(Char, a)] -> Parser a Source #
misc
c_sahitya :: Taggable a => Transformer a Source #