synthesizer-alsa-0.5.0.1: Control synthesizer effects via ALSA/MIDI

Safe HaskellNone

Synthesizer.ALSA.Dimensional.Play

Documentation

type RenderedStorableSignal u t v y yv = T (Dimensional u t) (Dimensional v y) (T yv)Source

type StorableSignal s v y yv = T (Phantom s) (Dimensional v y) (T yv)Source

makeSinkSource

Arguments

:: (SampleFmt y, C t) 
=> Device

ALSA output device

-> Time t

period (buffer) size expressed in seconds

-> Frequency t

sample rate

-> SoundSink Pcm y 

renderTimeVoltageStorable :: (C y yv, SampleFmt yv, C t) => Device -> Time t -> T Frequency t -> (forall s. T s Time t (StorableSignal s Voltage y yv)) -> IO ()Source

renderTimeVoltageMonoStorableToInt16 :: (Storable y, C y, C t) => Device -> Time t -> T Frequency t -> (forall s. T s Time t (StorableSignal s Voltage y y)) -> IO ()Source

renderTimeVoltageStereoStorableToInt16 :: (Storable y, C y y, C y, C t) => Device -> Time t -> T Frequency t -> (forall s. T s Time t (StorableSignal s Voltage y (T y))) -> IO ()Source