props.put("durationTimeBase", timeBaseTable[durationTimeBase]);
props.put("gateTimeTimeBase", timeBaseTable[gateTimeTimeBase]);
MetaMessage metaMessage = new MetaMessage();
metaMessage.setMessage(MidiConstants.META_MACHINE_DEPEND, props);
events.add(new SmafEvent(metaMessage, 0l));
//
if (setupDataChunk != null) {
List<SmafMessage> messages = ((SetupDataChunk) setupDataChunk).getSmafMessages();
for (SmafMessage message : messages) {
events.add(new SmafEvent(message, 0l));
}
}
//
List<SmafMessage> messages = ((SequenceDataChunk) sequenceDataChunk).getSmafMessages();
for (SmafMessage message : messages) {
events.add(new SmafEvent(message, 0l)); // TODO 0l
}
return events;
}