Safe Haskell | Safe-Infered |
---|
Library provides functions to render Score
made with
'temporal-music-notation' library to midi file from HCodecs
package.
Types
Instruments
instr :: (Seg nVol, Seg nPch) => Preset -> Score (Note nVol nPch a) -> Score MidiEventSource
Apply midi instrument.
drumInstr :: Seg nVol => Key -> Score (Drum nVol a) -> Score MidiEventSource
Apply midi drum instrument.
Render
File and directory names are values of type String
, whose precise
meaning is operating system dependent. Files can be opened, yielding a
handle which can then be used to operate on the contents of that file.