|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--quicktime.app.audio.MusicPartControl
This class provides an implementation of the ExtendedAudioSpec interface for dealing with specific charactertics of the parts of the MusicMedia.
Currently any actions on the part do not reset the MusicMedia with which they are derived from - any changes that are made to a part are only active for an unpredicatable period of time as they do not interact on the Media object itself.
| Constructor Summary | |
MusicPartControl(MusicMediaHandler mh,
int partNumber)
Deprecated. since QTJava 6.1 |
|
| Method Summary | |
float |
getBalance()
Deprecated. since QTJava 6.1 |
java.lang.String |
getInstrumentName()
Deprecated. since QTJava 6.1 |
NoteChannel |
getNoteChannel()
Deprecated. since QTJava 6.1 |
float |
getVolume()
Deprecated. since QTJava 6.1 |
boolean |
isMuted()
Deprecated. since QTJava 6.1 |
void |
selectInstrument(java.lang.String prompt)
Deprecated. since QTJava 6.1 |
void |
setBalance(float val)
Deprecated. since QTJava 6.1 |
void |
setMuted(boolean flag)
Deprecated. since QTJava 6.1 |
void |
setVolume(float volume)
Deprecated. since QTJava 6.1 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MusicPartControl(MusicMediaHandler mh,
int partNumber)
throws QTException
mh - the MusicMediaHandler to extract the part frompartNumber - the part number within the MusicMedia to control| Method Detail |
public boolean isMuted()
isMuted in interface AudioSpec
public void setMuted(boolean flag)
throws QTException
setMuted in interface AudioSpecflag - turn muting on - true or off - false.
QTException
public void setVolume(float volume)
throws QTException
setVolume in interface AudioSpecvolume - the desired volume (range: 0.0F - 1.0F)
QTException
public float getVolume()
throws QTException
getVolume in interface AudioSpecQTException
public void setBalance(float val)
throws QTException
setBalance in interface ExtendedAudioSpecval - the desired balance (range: -1F -> 1F)
QTException
public float getBalance()
throws QTException
getBalance in interface ExtendedAudioSpecQTException
public java.lang.String getInstrumentName()
throws QTException
getInstrumentName in interface MusicPartQTException
public void selectInstrument(java.lang.String prompt)
throws QTException
selectInstrument in interface MusicPartprompt - - any information that the program wants to display
to the user to aid in the selection process.
QTException
public final NoteChannel getNoteChannel()
throws QTException
getNoteChannel in interface MusicPartQTException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||