tidal-0.3.2: Pattern language for improvised music
Sound.Tidal.Parse
class Parseable a whereSource
Methods
p :: String -> Pattern aSource
Instances
type ColourD = Colour DoubleSource
lexer :: GenTokenParser String u IdentitySource
braces :: ParsecT String u Identity a -> ParsecT String u Identity aSource
brackets :: ParsecT String u Identity a -> ParsecT String u Identity aSource
parens :: ParsecT String u Identity a -> ParsecT String u Identity aSource
angles :: ParsecT String u Identity a -> ParsecT String u Identity aSource
symbol :: String -> ParsecT String u Identity StringSource
natural :: ParsecT String u Identity IntegerSource
integer :: ParsecT String u Identity IntegerSource
float :: ParsecT String u Identity DoubleSource
naturalOrFloat :: ParsecT String u Identity (Either Integer Double)Source
data Sign Source
Constructors
applySign :: Num a => Sign -> a -> aSource
sign :: Parser SignSource
intOrFloat :: Parser (Either Integer Double)Source
r :: Parseable a => String -> Pattern a -> IO (Pattern a)Source
parseRhythm :: Parser (Pattern a) -> String -> Pattern aSource
pSequenceN :: Parser (Pattern a) -> GenParser Char () (Int, Pattern a)Source
pSequence :: Parser (Pattern a) -> GenParser Char () (Pattern a)Source
pSingle :: Parser (Pattern a) -> Parser (Pattern a)Source
pPart :: Parser (Pattern a) -> Parser (Pattern a)Source
pPolyIn :: Parser (Pattern a) -> Parser (Pattern a)Source
pPolyOut :: Parser (Pattern a) -> Parser (Pattern a)Source
pString :: Parser StringSource
pVocable :: Parser (Pattern String)Source
pDouble :: Parser (Pattern Double)Source
pBool :: Parser (Pattern Bool)Source
pInt :: Parser (Pattern Int)Source
pColour :: Parser (Pattern ColourD)Source
pMult :: Pattern a -> Parser (Pattern a)Source
pRatio :: Parser RationalSource
pRational :: Parser (Pattern Rational)Source
pDensity :: Parser RationalSource