Described Auditory Content
An Introduction with Examples in Java |
Prof. David Bernstein
|
Computer Science Department |
bernstdh@jmu.edu |
String
representationSequence
from a
File
or an InputStream
Sequencer
Sequencer
.Sequence
with the
Sequencer
.Sequencer
.Synthesizer
directlySynthesizer
object by calling the
MidiSystem.getSynthesizer()
method
Soundbank
object (e.g., by calling
the Synthesizer
object's getDefaultSoundBank()
method)
Synthesizer
object's
loadAllInstruments()
method (passing it the
Soundbank
object
MidiChannel
objects by calling the
Synthesizer
object's getChannels()
method
Receiver
object by calling the
Synthesizer
object's
getReceiver()
method
ShortMessage
object
that turns the note on
Receiver
object's
send()
method (passing it the
ShortMessage
object)
ShortMessage
object
that turns the note off
Receiver
object's
send()
method (passing it the
ShortMessage
object)
MidiChannel
object's
noteOn
method
MidiChannel
object's
noteOff
method
Design Alternatives
Content
Interface
AbstractContent
Class
Note
Class
NoteFactory
Class
Chord
Class
Part
Class
PartFactory
Class
Score
Class
ScoreFactory
Class