Uses of Class
javax.sound.midi.Sequence
Packages that use Sequence
Package
Description
Provides interfaces and classes for I/O, sequencing, and synthesis of MIDI
(Musical Instrument Digital Interface) data.
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 SequenceModifier and TypeMethodDescriptionstatic SequenceMidiSystem.getSequence(File file) Obtains a MIDI sequence from the specifiedFile.static SequenceMidiSystem.getSequence(InputStream stream) Obtains a MIDI sequence from the specified input stream.static SequenceMidiSystem.getSequence(URL url) Obtains a MIDI sequence from the specified URL.Sequencer.getSequence()Obtains the sequence on which the Sequencer is currently operating.Methods in javax.sound.midi with parameters of type SequenceModifier and TypeMethodDescriptionstatic int[]MidiSystem.getMidiFileTypes(Sequence sequence) Obtains the set of MIDI file types that the system can write from the sequence specified.static booleanMidiSystem.isFileTypeSupported(int fileType, Sequence sequence) Indicates whether a MIDI file of the file type specified can be written from the sequence indicated.voidSequencer.setSequence(Sequence sequence) Sets the current sequence on which the sequencer operates.static intWrites a stream of bytes representing a file of the MIDI file type indicated to the external file provided.static intMidiSystem.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. -
Uses of Sequence in javax.sound.midi.spi
Methods in javax.sound.midi.spi that return SequenceModifier and TypeMethodDescriptionabstract SequenceMidiFileReader.getSequence(File file) Obtains a MIDI sequence from theFileprovided.abstract SequenceMidiFileReader.getSequence(InputStream stream) Obtains a MIDI sequence from the input stream provided.abstract SequenceMidiFileReader.getSequence(URL url) Obtains a MIDI sequence from theURLprovided.Methods in javax.sound.midi.spi with parameters of type SequenceModifier and TypeMethodDescriptionabstract int[]MidiFileWriter.getMidiFileTypes(Sequence sequence) Obtains the file types that this file writer can write from the sequence specified.booleanMidiFileWriter.isFileTypeSupported(int fileType, Sequence sequence) Indicates whether a MIDI file of the file type specified can be written from the sequence indicated.abstract intWrites a stream of bytes representing a MIDI file of the file type indicated to the external file provided.abstract intMidiFileWriter.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.