Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Whats the difference between the MIDI implementation in the Sun JDK 1.5.0 for Linux and Tritonus MIDI implementation?

0
Posted

Whats the difference between the MIDI implementation in the Sun JDK 1.5.0 for Linux and Tritonus MIDI implementation?

0

Both implementations use ALSA for MIDI I/O. However, while the JDK uses ALSA’s “rawmidi”, a low-level interface, is Tritonus based on ALSA’s sequencer, a high-level interface. The drawback of using rawmidi is that devices are opened exclusively. So native applications using the rawmidi interface and the JDK can block each other. On the other hand, the high-level interface as used by Tritonus allows shared access to the device. This enables multiple applications to run concurrently. Tritonus can also use ALSA’s sequencer queues to implement Sequencer. The JDK has a pure java Sequencer implementation, similar to the “Tritonus Java Sequencer” (see Q: 10).

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123