Karya, built on 2022-03-21T01:30:44 (patch 89d1651424c35e564138d93424a157ff87457245)
Safe HaskellSafe-Inferred

Synth.StreamAudio

Description

Stream audio from the im cache. Recreates play_cache's behaviour, but in a standalone way, without a DAW and VST.

Synopsis

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)

data Device Source #

Instances

Instances details
Show Device Source # 
Instance details

Defined in Synth.StreamAudio