Euterpea-1.0.0: Library for computer music research and education

Safe HaskellNone

Euterpea

Documentation

type SEvent = Maybe

edge :: ArrowCircuit a => a Bool (SEvent ())

accum :: ArrowCircuit a => b -> a (SEvent (b -> b)) b

constA :: Arrow a => c -> a b c

constSF :: Arrow a => b -> a b d -> a c d

foldA :: ArrowChoice a => (c -> d -> d) -> d -> a b c -> a [b] d

foldSF :: Arrow a => (b -> c -> c) -> c -> [a () b] -> a () c

(~++) :: SEvent [a] -> SEvent [a] -> SEvent [a]

unique :: (Eq e, ArrowCircuit a) => a e (SEvent e)

hold :: ArrowCircuit a => b -> a (SEvent b) b

now :: ArrowCircuit a => a () (SEvent ())

mergeE :: (a -> a -> a) -> SEvent a -> SEvent a -> SEvent a

delay :: ArrowCircuit a => forall b. b -> a b b

vdelay :: (ArrowTime a, ArrowCircuit a) => a (DeltaT, SEvent b) (SEvent b)

fdelay :: (ArrowTime a, ArrowCircuit a) => DeltaT -> a (SEvent b) (SEvent b)

timer :: (ArrowTime a, ArrowCircuit a) => a DeltaT (SEvent ())

genEvents :: (ArrowTime a, ArrowCircuit a) => [b] -> a DeltaT (SEvent b)

type Time = Double

type DeltaT = Double

exportFile :: FilePath -> Midi -> IO ()

importFile :: FilePath -> IO (Either String Midi)