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

Synth.Faust.Preview

Description

See render.

Synopsis

Documentation

cacheDir :: FilePath -> Text -> FilePath Source #

The patch preview cache is in imDir / cacheDir / patchName / nn.wav

render :: InstrumentC.Patch -> IO () Source #

Render representative samples for this instrument so they can be played in realtime by the thru mechanism. This will stop if the output directory already exists, so it's up to the shakefile to remove the directories if the underlying .dsp file has changed.

In theory this should divide the patch up along its important axes (pitch, dynamic, attributes) and render the whole matrix, but for now I only have pitch.

standardNotes :: Note.Element -> [(Pitch.NoteNumber, Note.Note)] Source #

Render previews of these notes.