haskore-supercollider-0.1.2.2: Haskore back-end for SuperCollider

Haskore.Interface.SuperCollider.Play.Live

Contents

Description

This is a module specialised to life performances.

You can create and install instruments in SuperCollider, obtain a handle and use that in your song.

The alternative way would be to upload an instrument whenever one tone shall be played. This is less efficient but simpler and certainly more flexible.

It is certainly not sensible to import that module. Maybe I should provide it as Extra-Source-File or as Main module of a dummy executable in order to ship it via Cabal.

Synopsis

Install instruments

installInstr :: (parameterTuple -> AttributeList, graph -> InstrumentUGen) -> String -> graph -> IO (Instrument parameterTuple)Source

installDrum :: (parameterTuple -> AttributeList, graph -> DrumUGen) -> String -> graph -> IO (Drum parameterTuple)Source

Install instruments on specific channels

installInstrChan :: (parameterTuple -> AttributeList, graph -> InstrumentUGen) -> String -> graph -> IO (Instrument parameterTuple)Source

installDrumChan :: (parameterTuple -> AttributeList, graph -> DrumUGen) -> String -> graph -> IO (Drum parameterTuple)Source

Play music

Interactively play music on keyboard

playKeyboard :: Instrument () -> IO ()Source

Interprets the keyboard as piano and play according tones, when keys are hit.

Is it more convenient to have a UGen parameter and install the instrument automatically?

Example music