Hi all,
I'm in the process of building a small application that utilises Jack in
order to interface with audio hardware. Specifically, although this detail
is only partially relevant, I'm writing it in Rust (using some community
FFI bindings).
I was wondering what the thread safety guarantees of calling the processing
callback are. Specifically, I was wondering if it can be guaranteed that
the callback will only be called on a single thread at any given time?
This is primarily because it determines whether or not it is required for
the callback to be marked as "Sync" in Rust - which would indicate that the
callback's data must be thread safe, a restriction I'd prefer to avoid.
Thanks in advance.
Hello all,
I just tried to run JACK2 on OSX Catalina. I installed the binary and it sais that it is not supported for Catalina anymore.
The first try of compiling it on my machine failed. I couldn’t spend much time investigating the current problem but it obviously deals with the 32-Bit build.
Can anyone send me a pointer how to possibly quickly resolve the build issue ?
Thanks in advance,
best
Alex
Alexander Carôt
--
Prof. Dr.-Ing. Alexander Carôt
Medieninformatik
Hochschule Anhalt
Fachbereich Informatik und Sprachen
Tel. office: +49 (0)3496 67-3130
Tel. mobile: +49 (0)177 5719797
E-Mail: alexander.carot(a)hs-anhalt.de<mailto:alexander.carot@inf.hs-anhalt.de>
I've been trying to find a good way to a stream of audio from jack into opusenc (the official opus encoder tool) and then pass it to something like oggfwd to send to Icecast. However, a few different things I've tried in python haven't worked out, and I'm trying to not have to rely on an "audio file player" (like sox or pyaudio) to sit in the middle. Now I'm wondering if there's a way I can get the raw pcm data from jack. Is this possible? Is there an existing tool?
Hello,
I am looking or solution to play sound and speak in the microphone in
video conference.
Is this possible with Jackaudio and Windows 10? Most of the link in the
site are outdated (regarding such case) .
Best regards,
Rossen
Greetings all,
Below is a message I sent some time ago to the somewhat inactive jackosx mailing list.
Now sharing it here. I seek your comments, advice, and any relevant insights around future possibilities of Jack on the macOS platform.
------
Colin
> Greetings list,
>
> I’m curious to start a discussion about the future of Jack on macOS and to share my dream.
>
> I’d like to steer clear of what has been expressed numerous times in several forums (though please correct me if I am wrong). Just to recap where we are at:
>
> 1. JackPilot still works on macOS 10.14 as a way to easily install Jack, start Jack, set options and make connections.
> 2. The “JackRouter” as a core audio device feature does not work - this means that you cannot route iTunes or any arbitrary application through Jack on macOS. Jack can only be used with applications that can select their own audio interface, such as Ableton Live, Reaper, SuperCollider, etc. I’ll call these “advanced audio” apps below.
>
> I am a software developer and electronic music maker. I rely on the JackPilot application heavily for #1 above.
>
> My dream is that macOS users can continue to have an easy way to install and run Jack, to route audio between advanced audio apps.
>
> I would be interested to contribute efforts towards making #1 happen. I don’t care to maintain #2, though it would be nice, it is quite an effort (and ongoing) and I don’t use it.
>
> My questions to you as a member of this mailing list:
>
> 1. Do you think there is enough interest in an easy way to install and use Jack on macOS without the core audio device feature?
>
> 2. My sense is the JackPilot application is no longer maintained. Does it make sense to continue to have a macOS specific installer & GUI application? Should we just somehow repackage qjackctl to run on macOS properly?
>
> 3. Imagine a scenario where JackPilot no longer runs on updated Macs. Would this impact you? I can compile jack2 and use it from the command-line, but this is not fun for folks who are starting to experiment with computer music and want to try routing things.
>
> Please forgive me if there are similar threads and many thanks for reading!
> ------
> Colin
>
Hi
I am able to build with waf, but I have real difficulties to open the
project in Eclipse.
Is there a recommended IDE?
I also tried to use waftools, as it should be able to create eclipse
project, but could not figure it out.
I also looked at the wiki
Thanks
Bruno
Dear All,
Just a quick question.
How popular is JACK these days?
If I write a JACK synthesiser, will I be able to use it with some other
software?
For example, will I be able to use my synthesiser with sequencer program?
Do you know any good sequencers?
With kind regards,
Robert
Hi,
i hope this is the right place regarding my question..
I have problems with a Netjack connection between two Machines whenever,
as it seems, a certain amount
of channels are being added and i cannot figure out the cause.
Machine 1 runs Ubuntu Eean and Ardour 5 on a I3-3210 with 4 GB RAM and a
huge swap (just to avoid running out of memory)
Machine 2 runs W7 on a i5-4570, 8GB of RAM with Jack Netdriver (1.9.11)
and a rather old Version of FL Studio, using Jack Netrouter as audio
Device, unsing onboard Audio
Jack Netdriver on the Windows side is so configured that it offers 2
capture channels and 32 Playback channels in Async mode.
Jack on the Server side (Ubuntu) runs in RT (also tried non-RT) 2048/2,
44.1 KHz
Link between both is 1 GBit/sec. Afaik bow cards are idenitified as RTL8169.
First problem:
- transferring more than two audio channels simultaneously usually leds
into "stutter" on Ardour.
Second Problem:
-transferring Audio over more than 10 Channels kills JackD immediate on
the server side. Log is on the end of this mail.
Done an iperf(3) between both machines shows no sign of Packet loss (TCP
and UDP), Transfer speed is about 903 GBit/sec. Ping is between 0.2 and
0.3 msec
Tried with different MTU´s on both sides between 1500 and 9000, before i
replaced my old Slave machine with the I3 it sometimes helped to switch
between 1500-900-1500 while Playback of the Slave machine to get rid of
the stutter.
I also recompiled JackD on the master machine from 1.9.12 to 1.9.14 with
additional DBUS-support, but it doesn´t make any difference.
Firewalls are off while testing. also killed Pulseaudio.
Tried to turn off anything which has to do with Speedstepping, set with
cpufreqd everything to "performance", no success at all. Even fillding
around with sync, async, different Buffer sizes, periods- no chance.
Yes, according to the log i recognize the missing data packets, but have
no clue what could be the cause - Jack itsef, the Jack Netdriver on the
Windows side....
Before Ardour connects to Jackd, i also get a lot of
"ProcessGrapMasterASync"-Errors....and sometimes in between.
Any help would be greatly appreciated, because i run out of ideas....
Best regards
Stef
Logs:
//
....<lots of missing Data packets>...
Wed Feb 19 10:48:31 2020: NetMaster : missing last data packet from
'bla2-PC'
Wed Feb 19 10:48:31 2020: NetMaster : missing last data packet from
'bla2-PC'
Wed Feb 19 10:48:32 2020: NetMaster : missing last data packet from
'bla2-PC'
10:48:32.602 XRUN callback (16 übersprungen).
Wed Feb 19 10:48:32 2020: NetMaster : missing last data packet from
'bla2-PC'
Wed Feb 19 10:48:32 2020: NetMaster : missing last data packet from
'bla2-PC'
Wed Feb 19 10:48:32 2020: NetMaster : missing last data packet from
'bla2-PC'
Wed Feb 19 10:48:32 2020: NetMaster : missing last data packet from
'bla2-PC'
Wed Feb 19 10:48:32 2020: NetMaster : missing last data packet from
'bla2-PC'
Wed Feb 19 10:48:32 2020: NetMaster : missing last data packet from
'bla2-PC'
Wed Feb 19 10:48:32 2020: NetMaster : missing last data packet from
'bla2-PC'
Wed Feb 19 10:48:33 2020: NetMaster : missing last data packet from
'bla2-PC'
Wed Feb 19 10:48:33 2020: NetMaster : missing last data packet from
'bla2-PC'
10:48:33.176 Schaubild der JACK-Verbindungen geändert.
10:48:34.104 Schaubild der JACK-Verbindungen geändert.
Wed Feb 19 10:48:33 2020: Disconnecting 'bla2-PC-01:from_slave_7' from
'ardour:OBXDLR/audio_in 1'
Wed Feb 19 10:48:33 2020: NetMaster : missing last data packet from
'bla2-PC'
Wed Feb 19 10:48:33 2020: NetMaster : missing last data packet from
'bla2-PC'
Wed Feb 19 10:48:33 2020: NetMaster : missing last data packet from
'bla2-PC'
Wed Feb 19 10:48:33 2020: NetMaster : missing last data packet from
'bla2-PC'
Wed Feb 19 10:48:33 2020: NetMaster : missing last data packet from
'bla2-PC'
Wed Feb 19 10:48:33 2020: NetMaster : missing last data packet from
'bla2-PC'
Wed Feb 19 10:48:33 2020: NetMaster : missing last data packet from
'bla2-PC'
Wed Feb 19 10:48:34 2020: NetMaster : missing last data packet from
'bla2-PC'
Wed Feb 19 10:48:34 2020: Disconnecting 'bla2-PC-01:from_slave_8' from
'ardour:OBXDLR/audio_in 2'
10:48:34.615 XRUN callback (13 übersprungen).
10:48:34.940 Schaubild der JACK-Verbindungen geändert.
Wed Feb 19 10:48:34 2020: NetMaster : missing last data packet from
'bla2-PC'
Wed Feb 19 10:48:34 2020: Connecting 'bla2-PC-01:from_slave_4' to
'ardour:OBXDLR/audio_in 1'
Wed Feb 19 10:48:35 2020: NetMaster : missing last data packet from
'bla2-PC'
10:48:35.660 Schaubild der JACK-Verbindungen geändert.
10:48:35.789 Benachrichtigung zum Herunterfahren.
10:48:35.808 Client deaktiviert.
10:48:35.811 D-BUS: JACK-Server wurde angehalten (org.jackaudio.service
aka jackdbus).
Cannot read socket fd = 25 err = Erfolg
CheckRes error
JackSocketClientChannel read fail
Server is not running
Server is not running
Wed Feb 19 10:48:35 2020: NetMaster : missing last data packet from
'bla2-PC'
Wed Feb 19 10:48:35 2020: NetMaster : missing last data packet from
'bla2-PC'
Wed Feb 19 10:48:35 2020: NetMaster : missing last data packet from
'bla2-PC'
Wed Feb 19 10:48:35 2020: NetMaster : missing last data packet from
'bla2-PC'
Wed Feb 19 10:48:35 2020: Connecting 'bla2-PC-01:from_slave_5' to
'ardour:OBXDLR/audio_in 2'
Wed Feb 19 10:48:35 2020: NetMaster : missing last data packet from
'bla2-PC'
Wed Feb 19 10:48:35 2020: ERROR: Segmentation Fault!
Wed Feb 19 10:48:35 2020: ERROR: info.si_signo = 11
Wed Feb 19 10:48:35 2020: ERROR: info.si_errno = 0
Wed Feb 19 10:48:35 2020: ERROR: info.si_code = 1 (SEGV_MAPERR)
Wed Feb 19 10:48:35 2020: ERROR: info.si_addr = 0x7f458dace558
Wed Feb 19 10:48:35 2020: ERROR: reg[00] = 0x0000000040800000
Wed Feb 19 10:48:35 2020: ERROR: reg[01] = 0x0000000000000000
Wed Feb 19 10:48:35 2020: ERROR: reg[02] = 0x0000000000000000
Wed Feb 19 10:48:35 2020: ERROR: reg[03] = 0x0000000000000246
Wed Feb 19 10:48:35 2020: ERROR: reg[04] = 0x00007f47eb77d704
Wed Feb 19 10:48:35 2020: ERROR: reg[05] = 0x00007f47eb03f66f
Wed Feb 19 10:48:35 2020: ERROR: reg[06] = 0x00007f47eb03f720
Wed Feb 19 10:48:35 2020: ERROR: reg[07] = 0x00007f47eaf3df40
Wed Feb 19 10:48:35 2020: ERROR: reg[08] = 0x00007f47d4010b10
Wed Feb 19 10:48:35 2020: ERROR: reg[09] = 0x00007f47d400d48c
Wed Feb 19 10:48:35 2020: ERROR: reg[10] = 0x00007f47eaf3dc60
Wed Feb 19 10:48:35 2020: ERROR: reg[11] = 0x00007f47d400c6c0
Wed Feb 19 10:48:35 2020: ERROR: reg[12] = 0xfffffffdb9abd9e8
Wed Feb 19 10:48:35 2020: ERROR: reg[13] = 0x00007f458dace558
Wed Feb 19 10:48:35 2020: ERROR: reg[14] = 0x0000000000000000
Wed Feb 19 10:48:35 2020: ERROR: reg[15] = 0x00007f47eaf3dc40
Wed Feb 19 10:48:35 2020: ERROR: reg[16] = 0x00007f47ec18ceab
Wed Feb 19 10:48:35 2020: ERROR: reg[17] = 0x0000000000010203
Wed Feb 19 10:48:35 2020: ERROR: reg[18] = 0x002b000000000033
Wed Feb 19 10:48:35 2020: ERROR: reg[19] = 0x0000000000000004
Wed Feb 19 10:48:35 2020: ERROR: reg[20] = 0x000000000000000e
Wed Feb 19 10:48:35 2020: ERROR: reg[21] = 0x0000000000005a07
Wed Feb 19 10:48:35 2020: ERROR: reg[22] = 0x00007f458dace558
Wed Feb 19 10:48:35 2020: ERROR: Stack trace:
Wed Feb 19 10:48:35 2020: ERROR: 1: 0x7f47ec18ceab
<Jack::NetFloatAudioBuffer::RenderFromNetwork(char*, int, int)+47>
(/usr/local/lib/libjackserver.so.0)
Wed Feb 19 10:48:35 2020: ERROR: 2: 0x7f47ec18cdad
<Jack::NetFloatAudioBuffer::RenderFromNetwork(int, int, unsigned
int)+153> (/usr/local/lib/libjackserver.so.0)
Wed Feb 19 10:48:35 2020: ERROR: 3: 0x7f47ec18fe3f
<Jack::JackNetInterface::AudioRecv(Jack::_packet_header*,
Jack::NetAudioBuffer*)+205> (/usr/local/lib/libjackserver.so.0)
Wed Feb 19 10:48:35 2020: ERROR: 4: 0x7f47ec190e37
<Jack::JackNetMasterInterface::DataRecv()+275>
(/usr/local/lib/libjackserver.so.0)
Wed Feb 19 10:48:35 2020: ERROR: 5: 0x7f47eb77dbd5 <(null)+3950500821>
(/usr/local/lib/jack/netmanager.so)
Wed Feb 19 10:48:35 2020: ERROR: 6: 0x7f47eb77d724 <(null)+3950499620>
(/usr/local/lib/jack/netmanager.so)
Wed Feb 19 10:48:35 2020: ERROR: 7: 0x7f47ec14778f
<Jack::JackClient::CallProcessCallback()+85>
(/usr/local/lib/libjackserver.so.0)
Wed Feb 19 10:48:35 2020: ERROR: 8: 0x7f47ec14768a
<Jack::JackClient::ExecuteThread()+40> (/usr/local/lib/libjackserver.so.0)
Wed Feb 19 10:48:35 2020: ERROR: 9: 0x7f47ec144c87
<Jack::JackClient::Execute()+85> (/usr/local/lib/libjackserver.so.0)
Wed Feb 19 10:48:35 2020: ERROR: 10: 0x7f47ec1670e8
<Jack::JackPosixThread::ThreadHandler(void*)+252>
(/usr/local/lib/libjackserver.so.0)
Wed Feb 19 10:48:35 2020: ERROR: End of stack trace
No, the goal is to run Jackd on RTOSor patch Jackd to make it run on
RTOS (not yet started !) .
Cheers
Jean-Louis
Le 17/02/2020 à 22:07, Ralf Mattes a écrit :
>
> Am Montag, 17. Februar 2020 21:03 CET, Jean-Louis Mounier <jean-louis.mounier(a)laposte.net> schrieb:
>
>> Hello friends,
>>
>> do you think it is possible to compile and run JackAudio on ESP32.
> You got linux running on an ESP32? Wow!
>
> Cheers, RalfD
>
>
>