Hosted by
|
with Ada.Tags; use Ada.Tags;
with Glyph_Images; use Glyph_Images;
with XML_Writers; use XML_Writers;
package Collectors.MIDI is
type MIDI_Collector is new Collector with private;
MIDI_Collector_Tag : constant String;
type MIDI_Collector_Access is access all MIDI_Collector;
function Create
return MIDI_Collector_Access;
procedure Add_Stave
(This : access MIDI_Collector);
procedure Add_Measure
(This : access MIDI_Collector);
procedure Add_Clef
(This : access MIDI_Collector;
Add : access Clef);
procedure Add_Key
(This : access MIDI_Collector;
Add : access Key);
procedure Add_Time
(This : access MIDI_Collector;
Add : access Time);
procedure Set_Barline
(This : access MIDI_Collector;
Set : access Barline);
procedure Add_Chord
(This : access MIDI_Collector);
procedure Add_Note
(This : access MIDI_Collector;
Add : access Note);
procedure Write
(This : access MIDI_Collector;
Filename : in String);
private
type MIDI_Collector is
new Collector with null record;
MIDI_Collector_Tag : constant String := "collectors.midi.midi_collector";
end Collectors.MIDI;
|