render-mode/midi-mode [ Render Modes ]

[ Top ] [ render-mode ] [ Render Modes ]

Name

 midi-mode

File

 rm-midi-mode.lsp

Description

 A render-mode for simple midi output.
 Pitch, start-time and duration will be used to create midinotes on a single
 channel (Cannel 1) of the output-file. Amplitude values will be used when
 given, else midivelocity will default to 80.

 The midi timing is not optimal yet! There are deviations in
 output-times, especially when writing long files.
 When Syncronisation with other modes is important, it is
 recommendable to e.g. generate midi snippets for single sections
 for now, instead of one long file.

Output Format

 :midi

Required Slots

 duration, start-time, pitch

Optional Slots

 amplitude

Synopsis

(make-render-mode midi-mode :midi
                  :required-slots
                  (start-time duration pitch)
                  :options
                  ((division 192))
                  :optional-slots
                  (amplitude)
                  :make-notation-data t