Safe Haskell | Safe-Inferred |
---|
Synopsis
- patches :: [Patch.Patch]
- show_string :: Pitch -> Either Log.Msg Text
- convert :: Note.Note -> Patch.ConvertM Sample.Sample
- defaultDampTime :: RealTime.RealTime
- toFilename :: Pitch.NoteNumber -> Articulation -> Y -> Y -> Maybe (Midi.Key, Y, FilePath)
- data Articulation
- attributeMap :: Common.AttributeMap Articulation
- samples :: Articulation -> Map Midi.Key (Map MaxVelocity [FilePath])
- c_damp :: Control.Control
- c_damp_time :: Control.Control
- inferDuration :: [Note.Note] -> [Note.Note]
- inferEnd :: Note.Note -> [Note.Note] -> Maybe RealTime.RealTime
- data Sample = Sample {}
- type MaxVelocity = Int
- _writeSamplesModule :: IO ()
- parseFilename :: FilePath -> Maybe Sample
- makeSampleMap :: [FilePath] -> Map Articulation (Map Midi.Key (Map MaxVelocity [FilePath]))
- makeSamples :: [FilePath] -> String
- samplesModuleHeader :: String
Documentation
patches :: [Patch.Patch] Source #
toFilename :: Pitch.NoteNumber -> Articulation -> Y -> Y -> Maybe (Midi.Key, Y, FilePath) Source #
data Articulation Source #
Instances
samples :: Articulation -> Map Midi.Key (Map MaxVelocity [FilePath]) Source #
preprocess
inferDuration :: [Note.Note] -> [Note.Note] Source #
Interpret the c_damp
control. Each note extends until there's a note
with a c_damp with 1.
make samples
Sample | |
|
type MaxVelocity = Int Source #
_writeSamplesModule :: IO () Source #
Call this to generate ZhengSamples, which is imported as samples
.
makeSampleMap :: [FilePath] -> Map Articulation (Map Midi.Key (Map MaxVelocity [FilePath])) Source #
makeSamples :: [FilePath] -> String Source #