Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- p :: ID -> ControlPattern -> Op ()
- hush :: Op ()
- list :: Op ()
- mute :: ID -> Op ()
- unmute :: ID -> Op ()
- solo :: ID -> Op ()
- unsolo :: ID -> Op ()
- once :: ControlPattern -> Op ()
- first :: ControlPattern -> Op ()
- asap :: ControlPattern -> Op ()
- nudgeAll :: Double -> Op ()
- all :: (ControlPattern -> ControlPattern) -> Op ()
- resetCycles :: Op ()
- setcps :: Pattern Double -> Op ()
- xfade :: ID -> ControlPattern -> Op ()
- xfadeIn :: ID -> Time -> ControlPattern -> Op ()
- histpan :: ID -> Int -> ControlPattern -> Op ()
- wait :: ID -> Time -> ControlPattern -> Op ()
- waitT :: ID -> (Time -> [ControlPattern] -> ControlPattern) -> Time -> ControlPattern -> Op ()
- jump :: ID -> ControlPattern -> Op ()
- jumpIn :: ID -> Int -> ControlPattern -> Op ()
- jumpIn' :: ID -> Int -> ControlPattern -> Op ()
- jumpMod :: ID -> Int -> ControlPattern -> Op ()
- mortal :: ID -> Time -> Time -> ControlPattern -> Op ()
- interpolate :: ID -> ControlPattern -> Op ()
- interpolateIn :: ID -> Time -> ControlPattern -> Op ()
- clutch :: ID -> ControlPattern -> Op ()
- clutchIn :: ID -> Time -> ControlPattern -> Op ()
- anticipate :: ID -> ControlPattern -> Op ()
- anticipateIn :: ID -> Time -> ControlPattern -> Op ()
- forId :: ID -> Time -> ControlPattern -> Op ()
- d1 :: Pattern ValueMap -> Op ()
- d2 :: Pattern ValueMap -> Op ()
- d3 :: Pattern ValueMap -> Op ()
- d4 :: Pattern ValueMap -> Op ()
- d5 :: Pattern ValueMap -> Op ()
- d6 :: Pattern ValueMap -> Op ()
- d7 :: Pattern ValueMap -> Op ()
- d8 :: Pattern ValueMap -> Op ()
- d9 :: Pattern ValueMap -> Op ()
- d10 :: Pattern ValueMap -> Op ()
- d11 :: Pattern ValueMap -> Op ()
- d12 :: Pattern ValueMap -> Op ()
- d13 :: ControlPattern -> Op ()
- d14 :: ControlPattern -> Op ()
- d15 :: ControlPattern -> Op ()
- d16 :: ControlPattern -> Op ()
- setI :: String -> Pattern Int -> Op ()
- setF :: String -> Pattern Double -> Op ()
- setS :: String -> Pattern String -> Op ()
- setR :: String -> Pattern Rational -> Op ()
- setB :: String -> Pattern Bool -> Op ()
Documentation
once :: ControlPattern -> Op () Source #
first :: ControlPattern -> Op () Source #
asap :: ControlPattern -> Op () Source #
all :: (ControlPattern -> ControlPattern) -> Op () Source #
resetCycles :: Op () Source #
Resets the cycle count back to 0. Useful to make sure a pattern or set of patterns start from the beginning:
do resetCycles d1 $ s "bd hh hh hh" d2 $ s "ade" # cut 1
Cycle count affects all patterns, so if there are any active, all of them will immediately jump to the beginning.
resetCycles
is also userful in multi-user Tidal.
Also see setCycle
, getnow
.
setcps :: Pattern Double -> Op () Source #
Adjusts the number of cycles per second, i.e., tempo. Accepts integers, decimals, and fractions.
The default number of cycles per second is 0.5625, equivalent to 135/60/4, i.e., 135 beats per minute if there are 4 beats per cycle.
Representing cycles per second using fractions has the advantage of being more
human-readable and more closely aligned with how tempo is commonly represented
in music as beats per minute (bpm). For example, techno has a typical range of
120-140 bpm and house has a range of 115-130 bpm. To set the tempo in Tidal to
fast house, e.g.,: setcps (130/60/4)
.
The following sound the same:
setcps (130/60/4) d1 $ n "1" # s "kick kick kick kick"
and
setcps (130/60/1) d1 $ n "1" # s "kick"
Transitions
waitT :: ID -> (Time -> [ControlPattern] -> ControlPattern) -> Time -> ControlPattern -> Op () Source #
interpolate :: ID -> ControlPattern -> Op () Source #
interpolateIn :: ID -> Time -> ControlPattern -> Op () Source #
anticipate :: ID -> ControlPattern -> Op () Source #
anticipateIn :: ID -> Time -> ControlPattern -> Op () Source #
d13 :: ControlPattern -> Op () Source #
d14 :: ControlPattern -> Op () Source #
d15 :: ControlPattern -> Op () Source #
d16 :: ControlPattern -> Op () Source #