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
17
votes
1 answer

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 that voice channel as input for a webpage in a web…
Niellles
  • 868
  • 10
  • 27
14
votes
1 answer

Weak-linking vs "--as-needed"

I'm having trouble with using a library that contains weak-symbols and the --as-needed linker flag. Example (This uses the Jack library) $ cat <myjack.c #include #include int main() { if (jack_client_opent) …
umläute
  • 28,885
  • 9
  • 68
  • 122
12
votes
3 answers

How To Get Electric Power From Head Phone Jack?

My quest is if anyone knows how to create an Android app that can send electric charge through the device's headphone jack, like in this video iPocket_LED. The video shows an app for iPhone that controls a LED plugged into the headphone jack. I want…
Leirbag Onerom
  • 121
  • 1
  • 1
  • 3
12
votes
1 answer

Capture 192 kHz audio using Python 3

I need to capture 192 kHz audio for some bioacoustics experiments using Python 3. I have the hardware, a Sound Devices USBPre 2 sound card, a microphone with good frequency response curve up to 100 kHz, and I have enabled my os (ubuntu 13.04) to…
user2936487
  • 121
  • 1
  • 4
10
votes
1 answer

Select output line in java for eight channel sound card

edit: I am now using Jack (Jack Audio Connection Kit). See answer below. I have a soundcard on my Raspberry Pi with 8 output channels (four stereo channels), an Octosound card. What I want to do is select one of the channels to route sound to. With…
Christine
  • 5,617
  • 4
  • 38
  • 61
8
votes
2 answers

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 lose the beginning of the audio, I need a way to…
leszek.hanusz
  • 5,152
  • 2
  • 38
  • 56
7
votes
1 answer

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 such file or directory Cannot connect to server…
Gus
  • 4,375
  • 5
  • 31
  • 50
6
votes
2 answers

Is there a Jack equivalent for nodejs?

Is there an equivalent to Jack for Narhwal implemented in nodejs?
Martin Murphy
  • 1,775
  • 2
  • 16
  • 24
6
votes
3 answers

JACK audio connection kit jackd daemon fails to start on RaspberryPi

I am running Raspberry Pi image 2012-07-15-wheezy-raspbian.zip and I have a CMedia 108 USB audio adapter installed RPi. Trying to start jackd using built in audio jackd -r -d alsa -d hw:0 fails to start JACK compiled with System V SHM…
dudeking
  • 764
  • 1
  • 9
  • 12
5
votes
1 answer

A larger heap for the Gradle daemon is recommended for running jack

Im pretty new to gradle. I currently tried to upgrade a study Android app to Java 1.8 in gradle settings in which it prompted me to enable jackOptions to 'true' so i could use lambda expressions in my app. This is my current gradle…
4
votes
2 answers

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 implied scenarios, all of which should greatly benefit…
matanster
  • 15,072
  • 19
  • 88
  • 167
4
votes
1 answer

"32 bit float mono audio" in Jack

I was playing with Jack, and I noticed that the default audio type JACK_DEFAULT_AUDIO_TYPE is set to "32 bit float mono audio". I'm a bit confused: IEEE defines 32-bit C float range approximately from 3.4E–38 to 3.4E+38, and I was wondering what is…
janesconference
  • 6,333
  • 8
  • 55
  • 73
4
votes
1 answer

Jack audio client name longer than 4 characters breaks client

Trying to use the JACK-AUDIO-CONNECTION-KIT from Rust (documentation), I run into problems calling jack_client_t* jack_client_open ( const char * client_name, jack_options_t options, …
poidl
  • 433
  • 1
  • 4
  • 9
4
votes
1 answer

Docker: JACK server is not running

I'm running a host of docker containers with ROS, for controlling a robot. One of the container has to play some audio files through the sound_play package. However it returns the error Cannot connect to server socket err = No such file or directory…
agakshat
  • 176
  • 3
  • 7
4
votes
2 answers

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 interface. Both generally work fine under ALSA on…
no.human.being
  • 365
  • 3
  • 9
1
2 3
10 11