| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Harmonic.Interface.Tidal.Utils
Description
Synopsis
- oct :: Int -> Pattern ValueMap
- pullBy :: Time -> Pattern a -> Pattern a
- pushBy :: Time -> Pattern a -> Pattern a
- humanise :: Double -> Pattern ValueMap
- onset :: Pattern a -> Pattern a
- hemidemisemiquaver :: Time
- demisemiquaver :: Time
- semiquaver :: Time
- quaver :: Time
- crotchet :: Time
- minim :: Time
Transposition
oct :: Int -> Pattern ValueMap Source #
Transpose by whole octaves. oct 1 is up an octave, oct (-1) down.
Add onto a pattern:
, cello T (0,1) k vl grid Bass |+ oct (-1)
Time rotation
Humanisation
humanise :: Double -> Pattern ValueMap Source #
Random per-event velocity jitter, for a less mechanical feel. The argument
scales the spread: humanise 1 varies amp by up to ±0.09.
Onset repair
onset :: Pattern a -> Pattern a Source #
Ensure every event is an onset by aligning whole start with part start, but only at cycle boundaries. Prevents TidalCycles' onset detection from filtering events in cat constructions where inner patterns have period > 1 cycle, without causing MIDI flood from sub-cycle queries.
Note-length constants
hemidemisemiquaver :: Time Source #
demisemiquaver :: Time Source #
semiquaver :: Time Source #