class MidiEvent

Instances of this class are midievents. More...

Definition#include <midiEvent.h>
InheritsEvent [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Static Methods


Detailed Description

Instances of this class are midievents. They do not need a (graphical) presentation of their own. They can be displayed graphically within the presentation of the parts, they belong to.

 MidiEvent ( )

MidiEvent

Default Constructor

 MidiEvent (const MidiEvent&)

MidiEvent

Copy Constructor

 MidiEvent (Position pos, int cc, int value1, int value2=0)

MidiEvent

Constructor defining a midievent cc with values value1 and value2 at position pos. The integer cc contains the command within the higher nibble and the channel within the lower nibble. The value2 parameter is optional.

int  code ()

code

[const]

Returns the 4 bit value of the command

int  channel ()

channel

[const]

Returns the midi channel

int  codeAndChannel ()

codeAndChannel

[const]

Returns both the command and the midi channel

int  value1 ()

value1

[const]

Returns the first value

int  value2 ()

value2

[const]

Returns the second value

void  setCodeAndChannel (int)

setCodeAndChannel

Sets the command and the midi channel

void  setValue1 (int)

setValue1

Sets the first value

void  setValue2 (int)

setValue2

Sets the second value

ostream &  print (int,ostream&)

print

[const virtual]

Implementation of the print method

Reimplemented from Event.

void  flush (const char*)

flush

[const virtual]

Implementation of the flush method

Reimplemented from Event.

Element *  copy ()

copy

[const virtual]

Implementation of the copy method

Reimplemented from Event.

Element *  load (char*,ifstream*&,Element*)

load

[static]

Implementation of the load method


Generated by: wuerthne on al on Sun Jan 6 22:32:42 2002, using kdoc 2.0a53.