Safe Haskell | Safe-Inferred |
---|
Calls for randomized scores.
Synopsis
- library :: Library.Library
- c_omit :: CallableExpr d => Transformer d
- c_log_seed :: CallableExpr d => Transformer d
- c_alternate :: CallableExpr d => Generator d
- c_alternate_weighted :: CallableExpr d => Generator d
- c_alternate_tracks :: Generator Note
- c_tempo_alternate :: Generator Note
- under_threshold :: Ord key => val -> [(key, val)] -> key -> val
- tempo_alternate_doc :: Doc.Doc
- c_tempo_alternate_continuous :: Generator Note
- breakpoints_arg :: Sig.Parser (DeriveT.Quoted, [(RealTime, DeriveT.Quoted)])
- tempo_alternate_continuous :: DeriveT.Quoted -> [(RealTime, DeriveT.Quoted)] -> Meter.Rank -> Meter.Rank -> NoteArgs -> NoteDeriver
- switch :: [Stream.Stream Score.Event] -> [(RealTime, Int)] -> Stream.Stream Score.Event
- alternate_indices :: [ScoreTime] -> Meter.Rank -> [RealTime] -> Deriver [Int]
- timestep_dur_at :: Meter.Rank -> ScoreTime -> Deriver RealTime
- select_indices :: [a] -> [Int] -> ([a], [Int])
- index_under_threshold :: Ord a => [a] -> a -> Int
- c_val_alternate :: ValCall
- c_val_alternate_weighted :: ValCall
- c_range :: ValCall
Documentation
c_omit :: CallableExpr d => Transformer d Source #
c_log_seed :: CallableExpr d => Transformer d Source #
c_alternate :: CallableExpr d => Generator d Source #
c_alternate_weighted :: CallableExpr d => Generator d Source #
under_threshold :: Ord key => val -> [(key, val)] -> key -> val Source #
breakpoints_arg :: Sig.Parser (DeriveT.Quoted, [(RealTime, DeriveT.Quoted)]) Source #
tempo_alternate_continuous :: DeriveT.Quoted -> [(RealTime, DeriveT.Quoted)] -> Meter.Rank -> Meter.Rank -> NoteArgs -> NoteDeriver Source #
switch :: [Stream.Stream Score.Event] -> [(RealTime, Int)] -> Stream.Stream Score.Event Source #
Switch between note streams when the index changes. Sounding notes will be clipped, and dropped if they wind up at duration 0.
:: [ScoreTime] | |
-> Meter.Rank | |
-> [RealTime] | |
-> Deriver [Int] | time to switch to which index |
timestep_dur_at :: Meter.Rank -> ScoreTime -> Deriver RealTime Source #
select_indices :: [a] -> [Int] -> ([a], [Int]) Source #
Select the given indices from the list, and return a list with just the indexed elements, and the original indices packed so they index into the dense list.
index_under_threshold :: Ord a => [a] -> a -> Int Source #