You are currently logged in as an
Institutional Subscriber.
If you would like to logout,
please click on the button below.
Home / Publications / E-library page
Only AES members and Institutional Journal Subscribers can download
The Internet of Things (IoT) is fostering advancements in the embedded systems world, widening the range of available single-board computers and lowering their price. The Internet of Musical Things (IoMusT), the IoT musical counterpart, is thriving as well with more and more examples of embedded devices useful to build connected musical interfaces. For this purpose, real-time architectures based on the Linux operating system are increasingly used. In this paper, we compare two radically different approaches to real-time Linux audio: one system is based on the PREEMPT RT patch and the ALSA framework and the other on the Xenomai patch and the Elk Audio OS. Our study aims at providing audio developers working on IoMusT devices and applications with a clear quantitative picture of how these two systems compare. Our results reveal that Xenomai provides lower audio round-trip latency, lower scheduling latency, and manages to exploit more CPU performance at a given latency setting while guaranteeing perfect audio quality. Nevertheless, PREEMPT RT still delivers good performance, and it is widely supported resulting in a more accessible alternative. All the tests have been carried out on the Raspberry Pi 4B single-board computer combined with the HiFiBerry expansion HAT.
Author (s): Vignati, Luca; Zambon, Stefano; Turchet, Luca
Affiliation:
Department of Information Engineering and Computer Science, University of Trento, Trento, Italy; Modern Ancient Instruments Networked dba Elk, Stockholm
(See document for exact affiliation information.)
Publication Date:
2022-01-06
Import into BibTeX
Permalink: https://aes2.org/publications/elibrary-page/?id=21553
(657KB)
Click to purchase paper as a non-member or login as an AES member. If your company or school subscribes to the E-Library then switch to the institutional version. If you are not an AES member Join the AES. If you need to check your member status, login to the Member Portal.
Vignati, Luca; Zambon, Stefano; Turchet, Luca; 2022; A Comparison of Real-Time Linux-Based Architectures for Embedded Musical Applications [PDF]; Department of Information Engineering and Computer Science, University of Trento, Trento, Italy; Modern Ancient Instruments Networked dba Elk, Stockholm; Paper ; Available from: https://aes2.org/publications/elibrary-page/?id=21553
Vignati, Luca; Zambon, Stefano; Turchet, Luca; A Comparison of Real-Time Linux-Based Architectures for Embedded Musical Applications [PDF]; Department of Information Engineering and Computer Science, University of Trento, Trento, Italy; Modern Ancient Instruments Networked dba Elk, Stockholm; Paper ; 2022 Available: https://aes2.org/publications/elibrary-page/?id=21553
@article{vignati2022a,
author={vignati luca and zambon stefano and turchet luca},
journal={journal of the audio engineering society},
title={a comparison of real-time linux-based architectures for embedded musical applications},
year={2022},
volume={70},
issue={1/2},
pages={83-93},
month={january},}