djembe-0.1.1.2: Hit drums with haskell

Safe HaskellNone
LanguageHaskell2010

Drum

Synopsis

Documentation

volume :: Rational Source

default volume

note :: Rational -> Song -> Song Source

set the duration for each Hit in a Song where the first argument represents the duration as a fraction of a whole note.

clone :: Rational -> Song -> Song Source

replicate a song a number of times

dot :: Song -> Song Source

modify the duration for each Hit in a Song to be 1.5 times as long

rest :: Rational -> Song Source

quarter note rest

n1 :: Song -> Song Source

notes of various durations

n2 :: Song -> Song Source

notes of various durations

n4 :: Song -> Song Source

notes of various durations

n8 :: Song -> Song Source

notes of various durations

n16 :: Song -> Song Source

notes of various durations

n32 :: Song -> Song Source

notes of various durations

n64 :: Song -> Song Source

notes of various durations

r1 :: Song Source

rests of various durations

r2 :: Song Source

rests of various durations

r4 :: Song Source

rests of various durations

r8 :: Song Source

rests of various durations

r16 :: Song Source

rests of various durations

r32 :: Song Source

rests of various durations

r64 :: Song Source

rests of various durations

loop :: Song -> Song Source

create an infinite loop of a Song

song :: Beat -> Song Source

transform a Beat to a Song

hsong :: Hit -> Song Source

transform a Hit to a Song

velocity :: Rational -> Song -> Song Source

change the velocity (volume) for each Hit in a Song

bd :: Song Source

bass drum Hit

sn :: Song Source

snare drum Hit

hi :: Song Source

hihat drum Hit

rt :: Song Source

rest Hit