haskore-supercollider-0.0.2: Haskore back-end for SuperColliderSource codeContentsIndex
Haskore.Interface.SuperCollider.Play.Channel
Contents
Install instruments
Play music
Example music
Description
This is a variant of the Haskore.Interface.SuperCollider.Play.Install module. It assigns output channels to instruments such that instrument specific global effects can be applied to them.
Synopsis
type Environment t a = StateT Channel (ReaderT t IO) a
installUGen :: Transport t => String -> UGen -> Environment t (Channel, NumberChannels)
installSound :: (Transport t, SoundParameters params) => (parameterTuple -> AttributeList, graph -> Sound params) -> String -> graph -> Environment t (Sound params parameterTuple)
reset :: Transport t => Environment t ()
playMusic :: Transport t => UGen -> T DrumAttributes InstrumentAttributes -> Environment t ()
run :: Environment UDP a -> IO a
writeScript :: FilePath -> Environment File a -> IO a
example :: IO ()
Install instruments
type Environment t a = StateT Channel (ReaderT t IO) aSource
installUGen :: Transport t => String -> UGen -> Environment t (Channel, NumberChannels)Source
installSound :: (Transport t, SoundParameters params) => (parameterTuple -> AttributeList, graph -> Sound params) -> String -> graph -> Environment t (Sound params parameterTuple)Source
Play music
reset :: Transport t => Environment t ()Source
playMusic :: Transport t => UGen -> T DrumAttributes InstrumentAttributes -> Environment t ()Source
run :: Environment UDP a -> IO aSource
writeScript :: FilePath -> Environment File a -> IO aSource
Example music
example :: IO ()Source
Produced by Haddock version 2.3.0