auditory.described
Interface Content

All Known Implementing Classes:
AbstractContent, Chord, Note

public interface Content

The requirements of a piece of described auditory content

See Also:
"The Design and Implementation of Multimedia Software © 2011"

Method Summary
 int getType()
          Get the type of this Content [i.e., 1 for whole notes, 2 for half notes, etc...]
 boolean isDotted()
          Is this Content dotted?
 void render(javax.sound.midi.MidiChannel channel)
          Render this Content on the given MidiChannel
 void setAudible(boolean audible)
          Set whether this Content is audible or note
 

Method Detail

getType

int getType()
Get the type of this Content [i.e., 1 for whole notes, 2 for half notes, etc...]

Returns:
The type

isDotted

boolean isDotted()
Is this Content dotted?

Returns:
true if dotted; false otherwise

render

void render(javax.sound.midi.MidiChannel channel)
Render this Content on the given MidiChannel

Parameters:
channel - The MIDI channel to use

setAudible

void setAudible(boolean audible)
Set whether this Content is audible or note

Parameters:
audible - true to make it audible; false otherwise


Design and Implementation of Multimedia Software, Jones and Bartlett Publishers