Safe Haskell | Safe-Inferred |
---|
Stream audio from the im cache. Recreates play_cache's behaviour, but in a standalone way, without a DAW and VST.
Synopsis
- play :: Maybe Device -> Thread.Flag -> IO.FilePath -> Id.BlockId -> Muted -> RealTime -> IO.IO ()
- streamDir :: Maybe Device -> Thread.Flag -> Muted -> RealTime -> IO.FilePath -> IO.IO ()
- data Device
- getDevices :: IO.IO ([(String, Device)], String)
Documentation
play :: Maybe Device -> Thread.Flag -> IO.FilePath -> Id.BlockId -> Muted -> RealTime -> IO.IO () Source #
Stream audio for the give score and block, until done or told to stop.
The audio backend is hardcoded, but perhaps I should get one from StaticConfig.
This is essentially a haskell version of TrackStreamer (Streamer.h) -> Tracks (Tracks.h)
streamDir :: Maybe Device -> Thread.Flag -> Muted -> RealTime -> IO.FilePath -> IO.IO () Source #