All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface quicktime.app.audio.MusicPart

public interface MusicPart
extends ExtendedAudioSpec
MusicParts extend the capability of audio control objects as they provide an instrument that will play or render the control information (ie. notes, etc) of that particular part. The analogy is an instrument in an orchestra that plays a particular part in a score.

The NoteChannel is responsible for producing the sound.

In its completeness a MusicPart has a sense of it volume, its balance location in a left-right stereo field and an instrument that is the sound it produces.

See Also:
NoteChannel

Method Index

 o getInstrumentName()
Returns the name of the current instrument for this part.
 o getNoteChannel()
This method gets the NoteChannel being controlled by this object.
 o selectInstrument(String)
This method allows for the class to allow some selection process whereby the user would choose a particular instrument that will be consequently used by a MusicPart to produce the sounds that it plays.

Methods

 o getInstrumentName
 public abstract String getInstrumentName() throws QTException
Returns the name of the current instrument for this part.

Returns:
name of the current instrument for this part
 o selectInstrument
 public abstract void selectInstrument(String prompt) throws QTException
This method allows for the class to allow some selection process whereby the user would choose a particular instrument that will be consequently used by a MusicPart to produce the sounds that it plays.

Parameters:
prompt - - any information that the program wants to display to the user to aid in the selection process.
 o getNoteChannel
 public abstract NoteChannel getNoteChannel() throws QTException
This method gets the NoteChannel being controlled by this object.

Returns:
the NoteChannel

All Packages  Class Hierarchy  This Package  Previous  Next  Index