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