Questions tagged [jack]

JACK is a code library for handling real-time, low latency audio (and MIDI). This tag does not refer to a physical jack.

JACK is system for handling real-time, low latency audio (and MIDI). It runs on GNU/Linux, Solaris, FreeBSD, OS X and Windows (and can be ported to other POSIX-conformant platforms). It can connect a number of different applications to an audio device, as well as allowing them to share audio between themselves. Its clients can run in their own processes (ie. as normal applications), or can they can run within the JACK server (ie. as a "plugin"). JACK also has support for distributing audio processing across a network, both fast & reliable LANs as well as slower, less reliable WANs.

JACK was designed from the ground up for professional audio work, and its design focuses on two key areas: synchronous execution of all clients, and low latency operation.

153 questions
2
votes
1 answer

real time audio stream using jack on ubuntu server

What would be the best way to live stream audio from an application running through jack on an ubuntu server? My site is built with noir and clojure, but I am generally trying find where to start with achieving this. The audio is generated using…
Jon Rose
  • 1,457
  • 1
  • 15
  • 25
2
votes
5 answers

Why can't I set a non-global function as a callback in Jack?

I'm trying to set a callback function in Jack. This is usually quite simple, using the function "jack_set_process_callback" (in the case of setting the "process" callback). The definition in the API is this: int…
Speedy
  • 476
  • 2
  • 13
2
votes
0 answers

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 device to/from a Windows host. The gadget is already…
struppel
  • 35
  • 6
2
votes
1 answer

JACK midi events lost on 64 bit machines

I have an application using JACK MIDI under Linux. It works perfectly on 32 bit machines, but on my new one, which is 64 bits, I get event loss all the time. I checked: Values coming from jack_ringbuffer_read, they are OK (valid 2-3 bytes MIDI…
2
votes
3 answers

How to access JACK audio from a Docker container

I have a multimedia app in a Docker container. I would like connect it to my JACK audio server running in the host system. How can I do it? This is my current (and not working) docker run command: docker run \ --rm \ -i -t \ …
Ignorant
  • 2,411
  • 4
  • 31
  • 48
2
votes
0 answers

How to install Jack bindings for Haskell on Windows

I'm trying to setup the Jack bindings for Haskell (see https://www.stackage.org/package/jack and http://hackage.haskell.org/package/jack) on Windows. I've installed Jack for Windows (from http://jackaudio.org/downloads/). However, regardless of what…
2
votes
1 answer

Problem (maybe on ALSA Config.) running jack.Client() on jackclient-python

I am trying to read the MIDI Input from a MIDI Keyboard on Ubuntu 18.04 64-bit. I decided to use JACK Audio Connection Kit (JACK) Client for Python. After the installation I want to run a simple program to print all received MIDI events. But after…
David17
  • 173
  • 1
  • 1
  • 9
2
votes
1 answer

Basic software synthesizer grows in latency over time

I'm in the process of finishing a MIDI controlled software synthesizer. The MIDI input and synthesis work alright, but I appear to have a problem one playing the audio itself. I'm using jackd as my audio server because of the possibility to…
ChemiCalChems
  • 612
  • 12
  • 31
2
votes
1 answer

How to kill a forked child and its jackd subprocess in python

I am trying to implement a tray icon, that lets me control a process (jackd). Most notably I want to read the processes stdout and stderr for logging purposes I want to be able to kill the process from a menu entry of the main program The killing…
Martin Drautzburg
  • 5,143
  • 1
  • 27
  • 39
2
votes
0 answers

Collections.sort(list, comparator) not reflecting the updated list when used with Jack and Java 1.8 on Android Studio

Person.java package com.example.android.cardview.HackerRank; /** * Created by Chhiring on 10/5/2017. */ public class Person { private String mFirstName; private String mLastNme; public Person() { } public Person(String mFirstName,…
Chhiring
  • 51
  • 5
2
votes
1 answer

Haskell -- Concurrent I/O Routing

I am new to Haskell, and I'm not exactly sure how the concurrent I/O works. I'm exploring what can be accomplished with the JACK audio bindings. Basically, the following code is (almost) functional, but I need to press enter twice every time I…
m88
  • 93
  • 1
  • 5
2
votes
2 answers

JACK(Java Android Compiler Kit) letter bug

--Android Studio 2.2.2 --Windows 10 Home Single Language 64 bit Turkish --Nougat 7.1.1(Tested on Marshmallow and Nougat 7.0 aswell) --Build Tools version 25 --Android Gradle Plugin Version 2.2.2 --Tried with gradle 2.14.1 and 3.2-rc2 too Just…
hcknl
  • 1,219
  • 10
  • 15
2
votes
0 answers

Getting Binary Input Through an audio Jack Port using QT

I want to get a binary(or analog) input through the port Jack for a Desktop Application. Has anyone knows if it's possible in Qt? And How? I found some libraries as "http://jackaudio.org/", but I con't know how to implement. Any help will be very…
carles.sole.grau
  • 123
  • 1
  • 1
  • 6
2
votes
1 answer

Cannot get JACK Audio/Netjack working over LAN

I'm trying to stream low latency audio between 2 raspberry pis. Both gstreamer and ffmpeg induce 2+ second delays for me. I've played around with Jack Audio and locally on a single pi it seems promising. I can route mic input to a speaker locally…
James
  • 2,742
  • 1
  • 20
  • 43
2
votes
1 answer

Clojure & Overtone: Jackd not launching

I'm trying to use Overtone but when I launch it, I get an error about jackd. bambalaam@bambalaam:~/Desktop/clojuretest$ lein repl REPL started; server listening on localhost port 59002 user=> (use 'overtone.live) --> Loading Overtone... --> Booting…
Balaam
  • 331
  • 1
  • 2
  • 8
1 2
3
10 11