Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
0 answers
241 views

What causes 1 second of latency on a embedded linux with ALSA support and a simple c++ program?

I'm trying to develop a simple audio program that runs on a ADSL router. I found two GPL sources for other routers that have the same chips and I'm able to build kernel and rootfs. I already add ALSA ...
pepinodelasuerte's user avatar
0 votes
1 answer
63 views

Making ticking sounds of different frequencies. Solves problem with alsa and jack by avoiding them

#!/usr/bin/env python3 import pygame from array import (array) from pygame.mixer import (Sound, get_init, pre_init) class Electrode(Sound): SEQUENCE = [ ['A4', 440.00], ["A#", ...
jlettvin's user avatar
  • 1,173
0 votes
1 answer
94 views

Replacement for pa_alsa_linux.h and pa_jack.h with pipewire

I'm running Pop_OS 22.04 (which has pipewire audio) and audacity is hanging on launch (unless it is launch with sudo, which seems quite odd). To try and debug the system, I'm trying to build audacity ...
ralmond's user avatar
  • 126
0 votes
0 answers
72 views

portaudio ALSA Pulse Jack Raspian

I have a RPI 4 running in Raspian (Dec 2020) and they use Pulse audio on top of ALSA. The ARM portaudio lib calls functions in the Jack audio lib so if I link that lib with the portaudio lib in a C ...
user3145291's user avatar
0 votes
0 answers
123 views

How to use JavaSound Midi on Linux using FireWire AudioInterface?

I'm using QJackCtl and FireWire Audio Interface(Edirol FireWire AudioCapture FA-101). I made program which connect JavaSound Synthesizer Gervill and External USB Midi Keyboard, it triggers Gervill ...
Masataka Nakamura's user avatar
2 votes
0 answers
502 views

Detect if linux usb gadget (audio uac1) get accessed by the host

Problem: How can I detect when the audio UAC1 gadget is used from a host device? Background: I created a USB audio gadget using USB Audio Class 1 (UAC1) to send/receive audio over USB from a Linux ...
struppel's user avatar
1 vote
1 answer
582 views

Sound Not Recorded in GUVCView - Possible ALSA/JACK Issue

I can't seem to record sound on any integrated (Using Linux Manjaro) Video/Audio recorder. I have tried using GUVCView from the command line and I get the following error: V4L2_CORE: (UVCIOC_CTRL_MAP) ...
anr983mfg_d-3's user avatar
3 votes
1 answer
1k views

Static linking of linux audio libraries

I'm working on an audio library that's targeting both Windows and Linux. For the Windows backends I support DirectSound, WASAPI and ASIO, and for Linux it's ALSA, JACK and PulseAudio. Recently the ...
Sjoerd van Kreel's user avatar
1 vote
2 answers
591 views

Raspberry Pi 3 A+ distorted/screeching audio when using ALSA + Jackd2 through on-board headphone jack

I am trying to set up Supercollider on my Raspberry Pi 3 A+ on Raspbian Lite using this guide. Jackd2 and Supercollider both compile fine, and there are no errors when I try to run Supercollider or ...
Giorgio Guttilla's user avatar
5 votes
2 answers
5k views

Sharing a microphone audio stream on Linux

As much as it matters my scenario is developing an accessibility application not any kind of malicious eavesdropping, whereas also within this scenario there are various research and development ...
matanox's user avatar
  • 13.7k
18 votes
1 answer
10k views

How to setup a virtual mic and pipe audio to it from node.js

Summary of what I am trying to achieve: I'm currently doing some work on a Discord bot. I'm trying to join a voice channel, which is the easy part, and then use the combined audio of the speakers in ...
Niellles's user avatar
  • 878
0 votes
2 answers
2k views

jack_connect MIDI (Alsa) ports

I am having a hard time, figuring how can I instruct jack to connect 2 ALSA (MIDI) ports. I can do it no problem, through qjackctl. And also use jack_connect to connect 2 audio ports using. Now I ...
andre castro's user avatar
1 vote
1 answer
3k views

Making Jack work with Alsa on Raspberry

I have a working Raspberry Pi 3B. The OS is Raspbian Stretch. Default on-board Broadcom audio disabled. USB SoundBlasterG1 audio card plugged in and configured as hw:0 nano /etc/asound.conf pcm....
Kai Light's user avatar
  • 164
1 vote
0 answers
2k views

How to remove PyAudio errors?

I am trying out a solution to an accepted question that demonstrates how to create a beep with PyAudio. Strangely I see quite a lot of errors. Unfortunately I've never sent any audio data ...
Regis May's user avatar
  • 3,426
0 votes
1 answer
1k views

QJackCtl Scripting start alsa_in after launch

so I'm trying to get QJackCtl to launch an instance of alsa_in to control an extra audio device after I start the Jack server. I've put this code in the execute after startup section: alsa_in -j ZOOM ...
natohutch's user avatar
  • 161
0 votes
1 answer
190 views

Cadence not showing ALSA driver tab

I recently reinstalled Cadence and the ALSA tab no longer appears in the configuration. How can I get it back?
Sean Kelley's user avatar
1 vote
1 answer
5k views

modprobe: ERROR: could not insert 'snd_aloop': No such device

I'm trying to make a Jack-ALSA bridge on gentoo, but I cannot load the snd_aloop module. Kernel: $ uname -a Linux MalfattiTux 4.6.7-rt-rt11 #1 SMP Thu Sep 22 14:54:42 BRT 2016 x86_64 Intel(R) Core(...
Malfatti's user avatar
4 votes
2 answers
3k views

PortAudio unreliable: Expression '...' failed

I'm currently experimenting with real-time signal processing, so I went and tried out PortAudio (from C). I have two audio interfaces on my computer, onboard sound (Intel HD Audio) and a USB audio ...
no.human.being's user avatar
8 votes
2 answers
4k views

Linux how to record sound in RAM buffer and playback audio with custom delay

I need to send audio from a radio to a secondary system using an embedded linux system. The secondary system needs to set up a communication channel which takes a few seconds. So if I don't want to ...
leszek.hanusz's user avatar
4 votes
3 answers
6k views

Capturing sound on Linux with low latency

I want to capture audio on Linux with low latency in a program I'm writing. I've run some experiments using the ALSA API, using snd_pcm_readi() to capture sound, then immediately using ...
Paul Steckler's user avatar
4 votes
1 answer
1k views

SuperCollider without jack server

One of the requirements in my project is to reduce runtime footprint on an embedded system. It looks like jackd is required on Linux and seem like it's currently a hard dependency and it cannot use ...
errordeveloper's user avatar
1 vote
1 answer
4k views

jack audio and multiple audio devices with alsa_out

Does anybody knows why I can't use two instances of alsa_out with jack? I have 3 soundcards and I want to use them at the same time. I have one inside my computer and two usb devices. This is my setup:...
Szabo Bogdan's user avatar
2 votes
0 answers
5k views

jack audio to generate a virtual sound card and input in it

I receive 4 channel input via network in jack. and like to route this to a program which is not a jack client. in the program setting one can choose a sound card to read from. so to route audio from ...
Jooan Hussain's user avatar
7 votes
1 answer
16k views

PyAudio trying to use JACK

I'm running PyAudio under Python 2.6.6 and would like it to use ALSA and not JACK. In [1]: import pyaudio In [2]: pa = pyaudio.pa In [3]: pa.initialize() Cannot connect to server socket err = No ...
Gus's user avatar
  • 4,495