Lines Matching defs:sequence
96 * sequence specified.
97 * @param sequence the sequence for which midi file type support
102 public int[] getMidiFileTypes(Sequence sequence){
104 Track tracks[] = sequence.getTracks();
136 // First get the fileStream from this sequence
161 private InputStream getFileStream(int type, Sequence sequence) throws IOException {
162 Track tracks[] = sequence.getTracks();
218 // fix for 5048381: NullPointerException when saving a MIDI sequence
225 throw new IllegalArgumentException("invalid MIDI data in sequence");
251 divtype = sequence.getDivisionType();
253 timeFormat = sequence.getResolution();
256 timeFormat += (sequence.getResolution() & 0xFF);
259 timeFormat += (sequence.getResolution() & 0xFF);
262 timeFormat += (sequence.getResolution() & 0xFF);
265 timeFormat += (sequence.getResolution() & 0xFF);
459 // Now sequence them