audioplayer with jack?

4 views (last 30 days)
Chris Brown
Chris Brown on 13 Oct 2019
Edited: Jens Ahrens on 11 May 2021
I am running matlab version 9.4.0.813654 (R2018a) on MX Linux 18 "Continuum". I have two RME Fireface 800 cards that I access with jack using ffado drivers. The cards work fine, eg., using portaudio they show up and are accessible as a single device. but they do not show up in Matlab using audiodevinfo. How can I play and record using these cards?
  4 Comments
Chris Brown
Chris Brown on 14 Oct 2019
Thanks for the reply Walter.
Jack is a high-level cross-platform audio interface [1]
ASIO drivers are used to access audio devices from windows. ASIO devices can be accessed from portaudio, which is designed to access a number of low-level hardware interfaces across a number of platforms [2].
I am using linux, on which the standard audio interface these days is ALSA [3], which is great but does not allow access to higher-end firewire based devices. FFADO provides drivers for many firewire devices [4], accessible from Jack.
Matlab's Audioplayer 'sees' all of my alsa devices (on-board sound chip, hdmi audio, etc), but does not see the jack / ffado device, even though the jack server is running and is accessible from other software.
Walter Roberson
Walter Roberson on 15 Oct 2019
Ah.
I am not clear on how advanced the development is for https://cateee.net/lkddb/web-lkddb/SND_FIREFACE.html ?

Sign in to comment.

Answers (1)

Jens Ahrens
Jens Ahrens on 29 Apr 2021
Edited: Jens Ahrens on 11 May 2021
It used to work for me on macOS as long as JACK was running when I started MATLAB.
I'm now on a new computer with macOS Catalina, and I don't succeed in making MATLAB 2020b "see" JACK. For completeness: I installed JACK using Homebrew.
A colleague told me that she couldn't use the MATLAB audioplayer to play to JACK but she succeed with audioDeviceWriter(... 'Device', 'JackRouter' ...) on Windows.
Any advice for macOS users is appreciated!

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!