All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class quicktime.std.music.NoteAllocator

java.lang.Object
   |
   +----quicktime.QTObject
           |
           +----quicktime.std.comp.ComponentIdentifier
                   |
                   +----quicktime.std.comp.Component
                           |
                           +----quicktime.std.music.NoteAllocator

public final class NoteAllocator
extends Component
implements QuickTimeLib
Corresponds to the NoteAllocator component type.


Constructor Index

 o NoteAllocator()
Opens the NoteAllocator component.
 o NoteAllocator(int)
Opens the NoteAllocator component with a specified subType.

Method Index

 o copyrightDialog(Pict, String, String, String, String)
Displays a copyright dialog with information specific to a music device.
 o getDefault()
Returns a system created NoteAllocator instance that can be used by applications.
 o getDefaultMIDIInput()
Obtain external MIDI connection information about the MIDI device that is attached to the system and selected as the default MIDI input device.
 o getIndNoteChannel(int)
Returns a new NoteChannel as indexed into the NoteAllocator instance.
 o getMIDIInPorts()
Get the MIDI input ports that are available to the NoteAllocator.
 o getMIDIOutPorts()
Get the MIDI output ports that are available to the NoteAllocator.
 o getRegisteredMusicDevice(int)
Return information about music components that are registered with the note allocator.
 o loseDefaultMIDIInput()
Removes the external default MIDI service procedure call, if previously defined by the useDefaultMIDIInput call.
 o numMusicComponents()
Return the number of MusicComponents that are registered with the note allocator.
 o numNoteChannels()
Returns the number of NoteChannels handled by the specific NoteAllocator instance.
 o pickArrangement(String, Track, String)
Displays a dialog to allow instrument selection.
 o registerMusicDevice(int, String, SynthesizerConnections)
Registers a music component with the NoteAllocator.
 o saveMusicConfiguration()
Saves the current list of registered devices to the QuickTime default file.
 o setDefaultMIDIInput(SynthesizerConnections)
Initializes an external MIDI device that is used to receive external MIDI information.
 o task()
Call periodically to allow the note allocator to perform tasks.
 o unregisterMusicDevice(int)
Removes a previously registered music component from the NoteAllocator.

Constructors

 o NoteAllocator
 public NoteAllocator() throws QTException
Opens the NoteAllocator component.

QuickTime::OpenADefaultComponent

 o NoteAllocator
 public NoteAllocator(int subType) throws QTException
Opens the NoteAllocator component with a specified subType.

QuickTime::OpenADefaultComponent

Methods

 o getDefault
 public static NoteAllocator getDefault() throws QTException
Returns a system created NoteAllocator instance that can be used by applications.

Returns:
a NoteAllocator
 o numNoteChannels
 public int numNoteChannels() throws StdQTException
Returns the number of NoteChannels handled by the specific NoteAllocator instance.

QuickTime::NAGetIndNoteChannel

Returns:
number of NoteChannels
 o getIndNoteChannel
 public NoteChannel getIndNoteChannel(int index) throws StdQTException
Returns a new NoteChannel as indexed into the NoteAllocator instance.

QuickTime::NAGetIndNoteChannel

Parameters:
index - the index of the NoteChannel
Returns:
a new NoteChannel instance
 o task
 public void task() throws StdQTException
Call periodically to allow the note allocator to perform tasks.

QuickTime::NATask

 o pickArrangement
 public void pickArrangement(String prompt,
                             Track track,
                             String songName) throws StdQTException
Displays a dialog to allow instrument selection.

QuickTime::NAPickArrangement

Parameters:
prompt - dialog box prompt.
track - a movie track
songName - the name of the song to display
 o copyrightDialog
 public void copyrightDialog(Pict p,
                             String author,
                             String copyright,
                             String other,
                             String title) throws StdQTException
Displays a copyright dialog with information specific to a music device.

QuickTime::NACopyrightDialog

Parameters:
p - picture for dialog
author - author information
copyright - copyright information
other - and additional information
title - title information
 o numMusicComponents
 public int numMusicComponents() throws StdQTException
Return the number of MusicComponents that are registered with the note allocator.

QuickTime::NAGetRegisteredMusicDevice

Returns:
the number of music components.
 o registerMusicDevice
 public void registerMusicDevice(int synthType,
                                 String name,
                                 SynthesizerConnections connections) throws StdQTException
Registers a music component with the NoteAllocator.

QuickTime::NARegisterMusicDevice

Parameters:
synthType - the subType of the MusicComponent of the synth
name - the synthesizer name
connections - a synthesizer connections for a MIDI device.
 o unregisterMusicDevice
 public void unregisterMusicDevice(int index) throws StdQTException
Removes a previously registered music component from the NoteAllocator.

QuickTime::NAUnregisterMusicDevice

Parameters:
index - the index of the synthesizer to unregister.
 o getRegisteredMusicDevice
 public MusicComponentInfo getRegisteredMusicDevice(int index) throws StdQTException
Return information about music components that are registered with the note allocator.

QuickTime::NAGetRegisteredMusicDevice

Parameters:
index - the index of the component you are interested in.
Returns:
music component information
 o getDefaultMIDIInput
 public SynthesizerConnections getDefaultMIDIInput() throws StdQTException
Obtain external MIDI connection information about the MIDI device that is attached to the system and selected as the default MIDI input device.

QuickTime::NAGetDefaultMIDIInput()

 o setDefaultMIDIInput
 public void setDefaultMIDIInput(SynthesizerConnections sc) throws StdQTException
Initializes an external MIDI device that is used to receive external MIDI information.

QuickTime::NASetDefaultMIDIInput()

Parameters:
sc - connections for the external MIDI input device
 o saveMusicConfiguration
 public void saveMusicConfiguration() throws StdQTException
Saves the current list of registered devices to the QuickTime default file.

QuickTime::NASaveMusicConfiguration()

 o getMIDIInPorts
 public QTMIDIPortList getMIDIInPorts() throws QTException
Get the MIDI input ports that are available to the NoteAllocator.

QuickTime::NAGetMIDIPorts()

Returns:
the MIDI input ports list.
 o getMIDIOutPorts
 public QTMIDIPortList getMIDIOutPorts() throws QTException
Get the MIDI output ports that are available to the NoteAllocator.

QuickTime::NAGetMIDIPorts()

Returns:
the MIDI output ports list.
 o loseDefaultMIDIInput
 public void loseDefaultMIDIInput() throws StdQTException
Removes the external default MIDI service procedure call, if previously defined by the useDefaultMIDIInput call.

QuickTime::NALoseDefaultMIDIInput()


All Packages  Class Hierarchy  This Package  Previous  Next  Index