OpenMusic

Visual Programming | Computer-Assisted Composition

OpenMusic Reference

Prev| | Next


save-as-midi

save-as-midi

(midi module) -- creates a MIDI file from an OM music class object

Syntax

save-as-midi object

Inputs

name data type(s) comments
self any OM score class object Voice , Poly , Chord-seq , Multi-seq , etc.

Output

output data type(s) comments
first a tree  

Description

save-as-midi takes any OM score class object and produces a MIDI file. Evaluating this box opens a save dialog box where you specify where you want to save the document.

To reverse the process, create a Midifile object and connect its output to the first input of a Chord-seq or Multi-seq object. If you need to work with rhythmic notation you can then plug the first output of that object into the first input of a Voice or Poly object.


Prev Home Next
save-as-etf Up second