Spec-Zone .ru
спецификации, руководства, описания, API
JavaTM 2 Platform
Std. Ed. v1.3.1

Uses of Class
javax.sound.midi.Sequence

Packages that use Sequence
javax.sound.midi Provides interfaces and classes for I/O, sequencing, and synthesis of MIDI (Musical Instrument Digital Interface) data. 
javax.sound.midi.spi Supplies interfaces for service providers to implement when offering new MIDI devices, MIDI file readers and writers, or sound bank readers. 
 

Uses of Sequence in javax.sound.midi
 

Methods in javax.sound.midi that return Sequence
static Sequence MidiSystem.getSequence(InputStream stream)
          Obtains a MIDI sequence from the specified input stream.
static Sequence MidiSystem.getSequence(URL url)
          Obtains a MIDI sequence from the specified URL.
static Sequence MidiSystem.getSequence(File file)
          Obtains a MIDI sequence from the specified File.
 Sequence Sequencer.getSequence()
          Obtains the sequence on which the Sequencer is currently operating.
 

Methods in javax.sound.midi with parameters of type Sequence
static int[] MidiSystem.getMidiFileTypes(Sequence sequence)
          Obtains the set of MIDI file types that the system can write from the sequence specified.
static boolean MidiSystem.isFileTypeSupported(int fileType, Sequence sequence)
          Indicates whether a MIDI file of the file type specified can be written from the sequence indicated.
static int MidiSystem.write(Sequence in, int fileType, OutputStream out)
          Writes a stream of bytes representing a file of the MIDI file type indicated to the output stream provided.
static int MidiSystem.write(Sequence in, int type, File out)
          Writes a stream of bytes representing a file of the MIDI file type indicated to the external file provided.
 void Sequencer.setSequence(Sequence sequence)
          Sets the current sequence on which the sequencer operates.
 

Uses of Sequence in javax.sound.midi.spi
 

Methods in javax.sound.midi.spi that return Sequence
abstract  Sequence MidiFileReader.getSequence(InputStream stream)
          Obtains a MIDI sequence from the input stream provided.
abstract  Sequence MidiFileReader.getSequence(URL url)
          Obtains a MIDI sequence from the URL provided.
abstract  Sequence MidiFileReader.getSequence(File file)
          Obtains a MIDI sequence from the File provided.
 

Methods in javax.sound.midi.spi with parameters of type Sequence
abstract  int[] MidiFileWriter.getMidiFileTypes(Sequence sequence)
          Obtains the file types that this file writer can write from the sequence specified.
 boolean MidiFileWriter.isFileTypeSupported(int fileType, Sequence sequence)
          Indicates whether a MIDI file of the file type specified can be written from the sequence indicated.
abstract  int MidiFileWriter.write(Sequence in, int fileType, OutputStream out)
          Writes a stream of bytes representing a MIDI file of the file type indicated to the output stream provided.
abstract  int MidiFileWriter.write(Sequence in, int fileType, File out)
          Writes a stream of bytes representing a MIDI file of the file type indicated to the external file provided.
 


JavaTM 2 Platform
Std. Ed. v1.3.1

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2001 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.

free hit counter