Karya, built on Sun Nov 26 01:04:37 PST 2017 (patch 0a920b2bde70c0cbac8ee09d158064798b61bbe5)

Safe HaskellNone

Synth.Sampler.Convert

Description

Convert Note.Notes to Sample.Samples.

Synopsis

Documentation

lookupSample :: Patch.Patch -> Attrs.Attributes -> Maybe Pitch.NoteNumber -> Maybe (FilePath, Patch.Sample) Source #

Find the sample with the closest pitch, or if there is no pitch, the first unpitched sample.

keyOnMaybe :: (a -> Maybe k) -> [a] -> [(k, a)] Source #