Karya, built on 2023-08-29T07:47:28 (patch 7a412d5d6ba4968ca4155ef276a062ccdeb9109a)
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