What began as a weekend project to modernize my old BeOS apps under Haiku, became a three-month adventure in trying to make my USB MIDI and Audio devices function properly with Haiku. So, you might be wondering, what is Media-OS? It is not an operating system, nor is it a Haiku distro. It is an AI assisted engineering testbed for rapid development of Audio, Midi, and other drivers and apps for Haiku OS. Media-OS currently offers packaged replacements for USB drivers, including UHCI, OHCI, EHCI, and XHCI, as well as multi audio, usb_audio, usb_midi, and midi_server.
Version 1.0.3 - First Public Release
- Adds support for legacy Midiman, Yamaha, and Roland/Edirol midi devices to the usb_midi driver
- Opens up the usb_audio drivers and multi-audio to support a wide variety of soundcards. Stock Haiku currently limits USB Audio support to USB 1.1 Full-Speed devices that only have one stereo out. Our replacement removes the single stereo out limitation and opens it up to High-Speed USB2 devices, which make up the bulk of prosumer USB Audio devices. UAC1 and UAC2 are supported, and all USB busses are supported, including EHCI.
- In addition to stability and performance enhancements in Audio and MIDI, there are also changes to the USB stack that could benefit non-Pro Audio users. The biggest being support for Super-Speed USB rates behind USB3 hubs, which currently enumerate as High-Speed devices. Isochronous data communication had changes across all USB drivers, which I hope also proves useful for the various video and cam projects out there. And finally, disconnecting and hot plugging USB MIDI and Audio devices should no longer cause either KDL or system freezes (this may also extend to other USB devices causing issues when plugged in or unplugged).
To Install
# 64-bit
pkgman add-repo https://hpkg.indispensablelabs.com/media-os/x86_64/current
# 32-bit (x86_gcc2 hybrid)
pkgman add-repo https://hpkg.indispensablelabs.com/media-os/x86_gcc2/current
pkgman install mediaos
The Future:
- Audio latency is higher than I would like it to be. Getting about 60ms latency from an audio loopback on a DDJ-SR. Very far from the 20ms that I would find useable for serious performance usage. I will be looking into this further, although it is not my drivers per se, as the USB drivers are on par or even outperform the stock HDA drivers on my system, despite the extra USB cost. MIDI latency is very good, just over a millisecond on most busses, although it creeps up to about 2 ms over EHCI.
- Firewire Storage Drivers and Firewire Audio/MIDI drivers starting with BeBoB and DICE protocols.
- SCSI Storage Drivers and native SCSI sample dump support
- Enhanced Patchbay/Midi Device Manager
- Native VST implementation
Thank you to Andrea for setting me up with my own topic here. You can post bug reports or feature requests to this thread, start a new discussion under the Media-OS topic, or email indispensablelabs@gmail.com. Do not send bug reports for Media-OS replacements to Haiku. It is not their problem. Banners have been added to the syslog so that you can more easily determine that the modules are Media-OS replacements.