|
|
|
| Description |
Save MIDI data to files.
The functions in this module allow Ts
to be made into Standard MIDI files (*.mid)
that can be read and played by music programs such as Cakewalk.
|
|
| Synopsis |
|
|
|
| Documentation |
|
| toFile :: FilePath -> T -> IO () |
| The function toFile is the main function
for writing T values to an actual file;
its first argument is the filename:
|
|
| toStream :: T -> ByteString |
|
| toOpenStream :: T -> ByteString |
| MIDI files are first converted to a monadic string computation
using the function outMF,
and then "executed" using execWriter.
|
|
| Produced by Haddock version 2.1.0 |