quicktime.app.audio
Interface MusicScore

All Superinterfaces:
AudioSpec, ExtendedAudioSpec
All Known Implementing Classes:
MusicMediaControl

public interface MusicScore
extends ExtendedAudioSpec

This is an interface which defines methods that abstract the usage of a collection of MusicParts which typically make up the collection of instruments that play a music score.


Method Summary
 MusicPart getPart(int part)
          This method returns the MusicPart responsible for a given part in the score.
 int getPartCount()
          This method returns the number of parts.
 
Methods inherited from interface quicktime.app.audio.ExtendedAudioSpec
getBalance, setBalance
 
Methods inherited from interface quicktime.app.audio.AudioSpec
getVolume, isMuted, setMuted, setVolume
 

Method Detail

getPartCount

public int getPartCount()
                 throws QTException
This method returns the number of parts.
Returns:
the number of parts

getPart

public MusicPart getPart(int part)
                  throws QTException
This method returns the MusicPart responsible for a given part in the score.
Parameters:
part - the part number of the required note channel
Returns:
the MusicPart.