UV#07 What is JACK Audio Connection Kit?
Vložit
- čas přidán 12. 09. 2024
- unfa vlog #07
I'm talking about JACK - the amazing sound system that turns your GNU/Linux system into a recording studio.
This video is meant as a quick-start guide for this vital part of GNU/Linux audio production workflow.
Downloads:
goo.gl/3tCm8k - The complete "What is JACK" song Ardour 5 session.
Links:
jackaudio.org - JACK
www.bandshed.ne... - AV Linux
kxstudio.linuxa... - KX Studio Live DVD
• UV#05 Install KX Studi... - UV#05 where I talk about installing KX Studio on a USB drive
If you feel thankful, you can buy me a coffee :)
paypal.me/unfa
I get the feeling you guys would want some more videos about JACK, am I right?
Yes please. One little thing I am looking at is MIDI routing in QjackCTL. I have one incoming MIDI stream that I want to deliver simultaneously to two VPOs (sample based synths essentially) but which ever VPO is started first grabs the stream for itself.
Also more on using jack with multiple audio adapters in Linux.
Actually your video already solved my problem. All I had to do was to start grandOrgue normally ,set jOrgan to use a virtual midi input, and make connections from UM-One to each organ in the ALSA window rather that as one would expect in the MIDI window. Now I can play two organs at once (actually three counting the internal voices on my console). Great fun.
is it possible to runn efficiently Native Instruments vst's in Linux? And...I'm about to get a Mac Pro 5.1, you think it'll run better on Linux than on iOS? I'm new to both iOS and Linux, I just wanna stop using windows.
please give us tutorial how to use jack to enhanced music listening experience
thanks🙂
my current challenge is using carla plus reafir to do noise reduction on my mic. I have got as far as outputing to stereo out but i need to route it into a microphone source for OBS. I include a video. Mint cinamon 2020 ... Here is how i solved the problem of carla plus reafir plus JACK czcams.com/video/Bws8F0J1CSI/video.html&ab_channel=www.rosspctraining.co.uk
Listening to you is like having access to the encyclopedia of digital music... OMG, there is so much to learn! I'm glad you exist!
holy shit, im so glad i found you channel. So hard to find linux music channels. thanks for the vid~
Thanks!
To put it in a CZcams perspective, to me at least you are doing what Borrodante has done for lesser known art tools but for audio in such a clear and concise manner that it's almost like the two of you are on the same wavelength of passion.
I'm just finally getting around to your videos; I used Ardour/Jack on Ubuntu back in ... I dunno, maybe 2006 or 2008 or something, and I was just muddling my way through. I haven't used it in over 10 years, though, so your videos are a great refresher. There are tons of details you could go through, like giving us audio examples of what things sound like with more/less buffer, etc. Actually, I think a video with a quick "quickstart guide to jack/alsa/DAW" with a few scenarios. Like, Scenario 1. Vocal + 1 Instrument setup and recording with jack/alsa/Ardour; Scenario 2. adding a basic USB interface (like a 2x2 USB box); Stuff like that. You touch on a bunch of that stuff, but none of it was in detail. Of course, I have a lot more videos to watch, so maybe you cover this in other vids.
Wow! This video has over 16,000 views right now.
I think I'll have to reappraise this at some point - this time not filming with a potato...
I would lover to have some more guidelines for setting up jack and let it play nice with pulse audio on Ubuntu. I always seem to be able to mess things up. What are the best practices for saving patch bays, how to connect MIDI (seems to be also a big problem for me), etc, etc. Most of the time I have no idea what's going wrong, what works one day, doesn't work the other. Been searching for a sublime setup tutorial from A to Z for many months (maybe even years).
Yes PA bites. I generally try to get around it with pasuspender.
I think you meant 'reappraise'.
@@smorrow You're right, thanks - I've corrected my mistake.
you made a complex explanation of complex software funny and simple, I love it. Thank you so much.
Thank you so much Unfa! My old TC Konnekt 6 stopped being supported after windows 7, so it's been a paper weight for about a decade. I FINALLY CAN USE IT AGAIN THANKS TO LINUX AND JACK!(and ffado). yay FOSS audio recording!
Just 2 stacked compressors instead of 8 hahaha. Dude, this video is super entertaining and helpful. Nice work!
Thanks for this video. You cleared many of my doubts and questions on Linux audio system
Thanks! I'm glad it was useful!
Awesome video. I burst out laughing at the end during the Bonus Part.
The least use able part about using many things in Linux is the lack of tutorials. Thank you for these videos.
Thank you for reviewing the basics. As a sysadmin got it running but most concepts were dark be4 this video. I'm trying to follow all your startup videos =).
thank you for the bonus feature at the end :) love this made me smile so hard :) what is jack???????
@Unfa Here is the deal, My sound card is Xonar D2X. It supports 192000hz out of the box. And i have enough SSD space. Should i set Jack to 48khz or 192khz? And why? Any constructive point of view is welcomed!
I really like your videos. In 2023 jack works great with linux lite and a old mbox2.
GOOD JOB... best I've run into so far. Maybe venture into Guitarix + Jack
Another thing to check for when troubleshooting is the number of Input and Output channels for your device. If the number of channels you put in for Jack is wrong, it might not start. For example, I have a Behringer UMC404HD interface which has 4 Inputs and 4 Outputs. My PC has 4 Inputs and 2 Outputs. If I select the UMC404HD for Output and put 6 (thinking I can use all Outputs together), Jack won't start. I selected the UMC404HD, so it must be set to 4 Outputs in Jack.
Maybe you could make a short video about the way the pulseaudio jack sink works and why it may be useful... or not.
Hi there, can't stop laughing at the end of the video, but I have to ask this: what if you run pulseaudio with Jack? I sometimes get it to work here, sometimes I get a D-Bus connection failure. Did you experience something like that? I have a firewire M-Audio 410 here. Thanks for the great video!
Hi! Thanks :D I've hoped that little song would provide some joy!
I use the PulseAudio JACK module and everything seems to work ok. As soon as I start JACK, PulseAudio complies to it and becomes a JACK client.
However I sometimes do need to manually kill jack with this command: `pkill -9 jackd` to be able to restart it. Rarely I have to do the same with pulseaudio `pkill -9 pulseaudio`. I also use the Cadence program to manage JACK and PulseAudio bride, and I am using Manajro.
I have made a detailed tutorial about setting up Manjaro fro audio production, and I cover PA/JACK there too:
czcams.com/video/vgrqMv3Lzfk/video.html
Maybe it'll be helpful?
Good luck!
If you have more trouble maybe join my community chat?
chat.unfa.xyz - lots of helpful people there :)
@@unfa00 Hi, there. Thanks for the prompt reply! It works well here, I just have to wait some undesirable amount of time do get jackbus process to complete the connection, with high CPU usage in the meanwhile (also loaded the jack modules in /etc/pulse/default.pa). I use Debian here (not a musician here, a mathematician who loves music) and qjackctl to start and stop jack, as to manage connections between the inputs and outputs of my M-Aufio Firewire 410 (where I plug the guitar), Guitarix/Rakarrak (when not using real world pedals), Ardour (to manage all the mess), Hydrogen (drums) and Musescore (other instruments). I'm not into the synthesizer world (but it would be great to have this amazing sounds into my music).
I also saw a recent video of yours, talking about pipewire. Is it supposed to replace PA and Jack at once? Did you try it? How does it go? hanks again!
wow, I had no idea there would be so much involved in getting a linux setup that plays nice with audio. thanks for the information!
Well, there's quite some stuff to learn to get the best off of it :)
An easy way in is to install an audio-oriented GNU/Linux distribution, that has all the stuff preconfigured to work.
Yep, AV or KX!
Hi Unfa, I just love your videos. Thanks for demystifying Linux Music for us! I see in this QJACKCTL video you are using the UMC202HD (Behringer, correct?). I must buy a new audio interface, one that is class compliant and I have been looking closely at the UMC204HD, also from Behringer, but that has midi in/out and 2 extra audio out ports. Do you think it should work fine like your UMC202HD? I have also been looking at a used Scarlett 4i4 and the M-Audio M-Track 2x2M as another option. FYI, I have installed UBUNTU STUDIO 19.1.0 which has all the bells and whistles and runs sweet. Many thanks in advance.
Thank you! I have recorded with various Beringer devices to Linux (x32, xr18) always without issues, so I'm sure UMC204HD will work flawlessly.
@@unfa00 Thanks Unfa!
I finally bought a used Focusrite Scarlett 4i4, almost new in the box. I spent quite a few hours at the shop with the very patient staff who assisted me every way they could, providing adapters, monitors,...because the sale was to be final. Focusrite claims it is "class compliant", but on the other hand, I saw a posting where someone said that the 2nd generation was, but the 3rd generation was not. Hummm.
I was able to see the device in terminal (lsusb, cat /asound/cards) in terminal and Jack seems fine with it. I bridged it to Alsa and I was able to record audio from ports 1/2 in Ardour and hear outputs on audio ports 1/2. However, I am still unable to get any sound out of the headphone monitor or ports 3/4 (the manual says they are shared). I saw postings of Bitwig users having similar issues with this interface. Since Focusrite claims that is a USB compliant device, I presume that it is mainly a problem with configuration and routing.
The audio routing in Jack (qjackctl), Alsa, Pulse Audio and Ardour appears to be very powerful but at the same time, most confusing. Do you have videos explaining these more obscure aspects of Linux and Audio Interfaces, and if not, perhaps this may be something useful for the community and your fans.
Two other possibilities came up and that was the new Steinberg UR22C, the Roland Rubix 22 and of course the Behringer UMC204HD
Very well structured and explained! That's so important if someones completely new to a topic (like e.g. me ;))Thank you very much! Well done!
Thanks!
Really nice work !!!
That proves your competences !!
Thx !
Thank you :D
I like your video very much, but I have to say, that the thing you stayed is right vor very old versions of the distros. Before 16.04 I have no experience with earlier versions, but as of 16.04 you do not need the Realtime kernel!
Over time most Realtime features are included in the generic kernel.....
I am using jack for months, but I never have seen that any other program than jack and some games lock the audio device.
Great thorough explanation Unfa!
Your video is very instructive. I made some screencasts (using OpenSUSE, of course) and I like the zoom effect you made when showing some areas on config windows. What's the software did you use to make those zooms?
Thanks! This video was edited using Blender, but my recent videos are done with Kdenlive. Both programs allow zooming in/out the image and compositing other elements on top of an image. Kdenlive maybe is a bit more intuitive, though Blender has a very powerful animation system.
Hey unfa great tutorial. Is there any chance you could do a video on Jack Connect and how to hook it up to Guitarix and Ardour?
Thanks! Yes, I could do that, do you think about using Guitarix as a standalone application for processing guitar sounds to then record into Ardour?
Yes, well sort of. I was thinking along the lines of hooking up Guitarix into Ardour in such a way that it records clean ( like other mainstream daws ) with the processing still audible . I have just changed from Logic 9 to Linux and Im having such a hard time understanding all the inputs and outputs in Jack Connect.
BTW: it's called JACK. Full name is "JACK Audio Connection Kit" - a recursive acronym, the opensource guys like names like this one ;)
I worked with Logic Pro X in school a bit, and I really liked it. I would pick it over Pro Tools. I prefer Ardour overall anyway ;)
Tl;DR:
Try Guitarix LV2 plugins or a plugin called C* AmpVTS instead of fiddling with external Guitarix instances.
Full version:
For distorted guitars I used to use Rakarrack (another standalone quitar effects processor), later I discovered Guitarix and I used that too (capturing processed signals into DAW, like I would with a microphone pointed to a physical guitar amp).
The problem with having a standalone program work as an effect processor is that you need to run it with your Ardour session, you need to manage it's presets manually and if you have 3 guitar tracsk with different effects - you need 3 Guitarix instances and maintaining the JACK connections between the programs becomes a real pain.
There are various approaches. Some say" if you know what you want, capture processed sound and give yourself minimum options - I used that approach in some projects, recording only distorted guitars through a physical amp or through Rakarrack (or Guitarix). That's a an oldschool tape-reel 4 track approach. You can't change the drive amount after recording - if you want a less agressive sound you need to re-record. It can be very productive if you know where you're going. Not so if you're wandering around trying out different things.
Another approach is "keep maximum options as long as you can" - and for that reason I use plugins to distort guitars.
The Guitarix team has provided an amazing amount of plugins from their processors, so you can effectively do all the stuff that Guitarix standalone has, but using plugins in Ardour - no JACK connections to manage and no presets to load manually. I tried these but finally I settled on a single different plugin. In KX Studio repositories there's a pakcage called "gxplugins" that has all of them.
I really like the sound and features of C* AmpVTS - Tube amp + Tone stack. It's a plugin that has a flexible tube distortion (that sounds great for quitars IMHO), EQ controls, a buit-in highpass filter (great for making room fro bass) and one-knob compressor (called Squash), and a cabinet simulation with a handful of different classic units to pick. It's also using 4x oversampling by default so it nicely avoids typical digital artifacts, that sometimes make such units sound "digitally harsh". You can get this plugin in a package called "caps" or "caps-lv2" (CAPS = C* Audio Plugin Suite).
It doesn't have a fancy GUI, and that can be misleading, because the sound of it is fantastic. I found it and I use it all the time for all guitar and bass recordings. It can give you a blues clean, rock crunchy, overdriven or evenmetal fuzzy sound.
For reverb I use Mverb or Roomy after that, they both sound very smooth. Freeverb in mono can also give a nice oldschool spring-like feel to your guitar sounds.
The convenience of having a single plugin in a track in Ardour producing sublime guitar sounds is fantastic.
I think that's the best piece of advice I can give you regarding recording guitars in the opensource audio world.
Don't fight with the virtual JACK cables, explore the abundance of great plugins instead :)
KX Studio repositories have all of them easily available if you're running a Ubuntu-based system like Linux Mint. Here's a video about that that can help you:
czcams.com/video/RLojB7IhU94/video.html
Thanks heaps.
Oh the fun I've had configuring the audio today.
I connected my Arturia Keystep and while I was getting the MIDI to reach Ardour and a couple of standalone synths I must have clicked something Wrong !!!
I usually move between 3 outputs in general desktop use 1) Headphones/Buds 2)Tiny built in Speakers 3)Bluetooth Buds/Cans
Well, after getting Keystep to run, One or other of the 3 outputs would disappear each time I went to use the laptop.
Each Restart would give a different combination.
I messed with UbuntuStudioControls/Audio - QJackCtrl - Alsamixer in various orders.
It took me hours - Bluetooth still isn't getting Ardour Output but at least I've got the 3 working on Desktop duties. Ardour is coming out of the head phone jack just fine.
Oh and now I've lost the headphone jack sensing, but I can live without that.
The permutations of settings required to get System, Pulse, ALSA and JACK to play nice are mind boggling !!
Although I'm a Linux noob relatively; I've 35 years of recording experience so following the logic of interfaces and their settings is not a new thing to me.
But WOW !!!
I wonder what it will be like when I get around to connecting an interface ...
Hey! That sounds like an adventure :D
Seriously though:
I am not sure what you goal was - switching between various output devices? We're they all connected to your internal sound card? Except for Bluetooth headphones I guess.
If you're using JACK audio server - it needs to sync to a single audio interface on input and output - if that means your built-in soundcard - then changing your output from wired headphones to speakers should be a matter of muting/unmuting a couple of channels in ALSA Mixer. Bluetooth audio as far as I know is only supported on Pulseaudio, and I was unable to use it with JACK so far.
However if you're getting random setups every time you reboot - that looks like a race condition, and I think that could indicate a software problem.
Have you tried posting your story on Linuxmusicians.com forums? I think they'll be able to help you.
@@unfa00 Hey unfa ! Thanks for the reply mate.
The use of different listening devices is a general desktop thing for me.
For music it's just the cans at the moment cos my interfaces and monitor speaker are stored pending a move to a new place.
I learned pretty quickly that Bluetooth wasn't going to work with the DAW and Keys stuff.
I think the changing conditions on restart were caused by me altering settings but not fully understanding what the changes would be on next restart ...
Still .. I've now got SOME kind of DAW action going.
Just a few crashes; probably from asking too much from a 2.2GHz Core 2 Duo laptop. ;^)
My main is an i7 3770K @ 4.2gHz running Studio One.
That's in a bit of a different league. And that's packed away too for the moment.
I just thought I'd have another go at Linux music. I tried about 7 or 8 years back using Mint on this old lappy but that wasn't very successful.
This Ubuntu Studio distro/build was pretty easy to set up, I must say.
Most of the hard work was already done for me.
@@KozmykJ I see! I'm doing audio on Linux since 2008-ish. It is a bit contrived - I can't deny that. Though I am able to do all I need for music, video and other audio production using an external USB audio interface. Before that I used an internal sound card in a laptop - for new hardware drivers may be an issue, I had problems with headphone detection at some point, but not anymore for many years now.
Let me know if I can help you out :)
@@KozmykJ Also: crashes of Ardour are usually due to misbehaving plug-ins in my experience. There are some bugs in it too though. There's a big release 6.0 coming up, and it should fix a lot of MIDI-related bugs and much more. No date for that though.
Unfa, Would you consider creating a tutorial on how to sync blender and ardour with jack? I've been editing in blender for years and just had the bright idea that maybe I should be able to do basic things like EQ for the shortfilm I'm working on. :P The real time sync between the two programs would be invaluable. Might even consider making the jump from LMMS (which I've also been using for 10+ years)
I really appreciate this overview. I've been seeing the term "JACK" thrown around and never new what it was.
In the past I have been editing video in Blender and audio in Ardour using JACK transport to sync them together. It does work but it's a bit quirky. This isn't really that great because you basically have two separate timelines to manage in two separate programs. The only thing that connects them is the playhead position and transport state. Without any visual information transfer between the programs you can't really tell where things are when you look at one or the other programs so everything needs to be done by moving your playhead to a point of interest and using that as a time reference. Another issue may be varying key bindings that will make you trip up and do mistakes because you need to switch contexts rapidly. To some extent you can customize the hotkeys to minimize this problem, but then you have non-standard key bindings for everything else.
Doing that is extremely easy though. All you have to do is select JACK audio backend in Blender, and activate AV playback sync. Then in Ardor switch from internal sync to JACK transport sync. Now both program playheads should be synchronized. No more, no less.
@@unfa00 Interesting. I could see why just having the playhead for reference could be confusing! Also, I guess since I'm using pulseaudio, jack probably won't work too well. :P thanks for your help!
"You might be created by a black screen"... Yup. I installed that new kernel.. And now there's a black screen..
But I just let it sit there for a few minutes and my distro finally loaded I guess it just takes some time.
Hi unfa, greats videos, thanx for them and please more of them! Question: does it make sense to use the "Real time" feature without installing a lowlatency kernel? Regards and Grüße from Kaarst, Germany.
Good video. What kind of microphone do you use? Is this a sm57 with the foam windscreen on it?
Hey, thanks! I'm not filming wit ha potato webcam anymore :D
This microphone is of "First Austria" brand and it actually is a wireless mic too. Comes with a tiny TRS-fit reciever and an XLR-plug antenna for the mic to transmit with.
I'm using an SM 57 nowadays.
@@unfa00 Right I meaned the mic in another video of you. My fault. But I guessed it right. I'm using the t.bone mb 85 beta and asking myself, if it is worth to look for a sm 57 or a sm 85. I want to record my voice for YT videos and my trumpet and my sax with one mic. Why has you chosen the sm57 and not the sm58?
Thanks a lot for this tutorial
love the vid, super helpful, bonus was pretty fly. Do you have a preference between Jack1 or Jack2?
Thanks!
I always go for JACK2, because it supports multithreaded processing.
I really want to run my online Dungeons and Dragons sessions off of my linux machine. Currently I'm using Voicemeeter banana, spotify, youtube for ambient noise and a couple of microphones and mix it into the output I use as a microphone in Zoom. I'd love to do something similar in Linux with jack, but the mixing applications on the jack list are missing a lot of features. Would you recommend ardour 5 for this. Non Mixer seems like exactly what i need, but I cant finde the packages or source anywhere.
I use a TESmort KVM extender in my home but It won't accept an audio USB interface & only have a HDMI audio interface through my monitor which is only headphone quality. Any suggestions?
Very useful video !.
Thanks!
You're a great teacher!!!!😎
Thank you :)
Can Jack benefit from a good amount of RAM? I have 16 GB, which seems to be always underused... and a poor CPU (Intel(R) Pentium(R) CPU G3240 @ 3.10GHz). Can I get away with that using a Linux configuration that exploits more RAM?
Which version of Linux do you recommend to use in a laptop, designated as a primary mixer to combine with interfaces?
I use Manjaro and I think it's a great choice. I've made a complete tutorial for setting it up from a fresh installation to a production-ready system.
excellent explaination!
To all the people expiriencing xruns, even when DSP is low and buffer is sane (like 256). It may happen due to different hardware behave strange. Need to test out period numbers, as I get xrun spamming, when set to 2, and I get periodic xruns (every 10-15 seconds) when to 3. Higher my number of periods - less xruns I get. It is impossible for me to get no xruns at all, so I'm forced to use jack only when really needed. That may be your case aswell.
Can I use Jack for connecting two headphones with my laptop. I want to watch a movie with my friend.
so can i connect 3 speaker and play individual movie in individual speakers? i want to use this feature in python!
Does JACK allow to create one single audio device out of multiple ones connected to the same computer?
No, but you can use alsa_in and alsa_out commandline tools to expose additional audio interfaces to JACK. They need to do resampling however, to sync them to the clock of the server (which is defined by the interfaces used by JACK).
I've got jack working. A low latency kernel installed. A usb audio interface, which is recognized by jack. System audio is being diverted to jack via a pulseaudio jack sink and applications like CZcams in Firefox work. But when I try Mixxx or Patchage I'm totally lost trying to figure out how to run an audio mic stream out of OBS through one of these tools so I can set up live effects processing and get streamed back into OBS for final mix down. I know this has to be possible.
I'm not a fan of QJackCtl, I moved to Cadence instead. I had issues with latency and xruns using it with selected input/output devices. I found it better to wrap my Alsa devices with an Alsa2Jack wrapper and connect them through jack that way and had much less trouble with xruns etc. That strategy probably also works with QJackCtl too but I had already moved on and have not looked back. No more xruns for me!
I should mention I'm using KXStudio distro with a real-time kernel, just sayin.
I have long moved to Cadence aswell.
It also has the amazing "Switch Master" function - you can change JACK devices and whole configuration without restarting it!
Hi UNFA. I am considering building a workstation on a laptop using AV Linux. I plan to run a completely run Linux OS. I already have Audio interfaces ( Pro Tools Mbox Mini & Presonus Audio Box). Would Linux support this?
KXSTUDIO IS THE BEST CHOICE FOR DAW?
KXStudio is a project that packages open-source software for Debian-based Linux distributions.
Did you mean Ardour?
can you make an update video with new version and sync with some dj software like virtual dj with fl studio or other daw like you saying it can sync the bpm in transport pls it will help a lot thanks for doing this videos its help a lot. have a great day.
Excellent info thanks.
what software do you use for editing the videos ?
This was done with Kdenlive, but I've switched to Olive 0.12 years ago and I love it. Kdenlive drove me mad.
Excellent tutorial. thx
Does anyone know how to setup this to record calls over PC?
Where does it store recorded files?
How to configure this?
Please do this video again but with pipewire!
❤️❤️
Pipewire is not ready for audio production yet. It needs more time in the oven :)
@@unfa00 I just saw your video about pipewire :) Thanks!
I still think we need this video again but with pipewire concepts and rtkit daemon configuration etc .
We need that cachy song but with pipewire xD "what is pipe!"
Hey Unfa, how do you think jack would perform on Arch?
Absolutely!
Do you have any suggestion on how i can delay the audio so it matches de video delay? On mac.
Are you talking about video editing or live processing?
Very informative!
Not having many commercial solutions directly available to Linux, this definitely sounds like a Linux-way of having a DAW.... I'm dizzy now x-D
Can Jack audio work with DSD?
Oh I like your video ! I will try on my ArchLinux on my ROG laptop
Even if I'm SysAdmin, this part of system is completely unknown for me :p
Keep goin' !
Can i use this to use Mic and Line in simultaneously? Im using a headset...
Hey, unfa. Please, describe your experience with Audacity working in JACK connection, if there is any :)
It works. But Audacity's implementation is wacky. You won't be able to maintain any connection with it, because it creates and destroys it's JACK ports every time you playback or capture. Also - it tends to crash whenever I use Transport > Rescan Audio Devices.
@@unfa00 Exactly! I replaced qjackctl with Cadence to forbid audacity to create and delete it's JACK ports and make it use PA-JACK source and sink instead, but it didn't work. I ditched Audacity for now and capture audio in KDEnlive instead.
Thank you :)
@@EdwardGermanAdwardspiral I'm not sure how well Kdenlive handles recording audio, I never used it for that purpose. I would recommend Ardour for recording audio - you can record unlimited tracks, and editing is non-destructive and very polished. But it's a bit more involved. I've published an Ardour 6 Quistart video recently
@@unfa00 I'll check it out when I'm on DAW stage. For now I have my eq-ed and limited mic audio. It goes straight to PA-JACK source. What I need for now is just recorder to put it in KDEnlive. A DAW would be a little overkill for that :)
But yeah, KDEnlive is not that reliable. So I will use it for recording to the first failure :)))
When a Start Jack audio, other sounds of my compter not working. Example, youtube. When started I'm not listen de youtube audio. Anybady with same problem?
This is a common thing.
Have you installed pulseaudio-jack module? That will make the two cooperate instead of get in each other's way :)
Also a modern alternative is to use PipeWire replacing both JACK and PulseAudio. It simplifies a lot of things.
I want more videos about jack.
I'm using a web based daw called soundtrap for educaiton. I'm getting terrible latency on my linux laptop but none on my chromebook. I changed the settings in Jack but it didnt help. Where else can I go?
AFAIK Chromebooks run a distribution of Linux as well, so there's gotta be a way to make that work well.
I have no experience with such software, sorry. Maybe you could find some help in my community chat?
Such a great video and exactly what will maybe help me! Im completely stuck on getting an EMU 0404 PCIe running on Ubuntu Studio and im just about to quit trying it! Do you know a place where i can get help especially when using the EMU 0404 PCIe (Ubuntu Studio Controls + QAS mixer + qjackd + Ardour) ... Im going crazy
Hi! Thanks! Does the interface list when you run `aplay -l` and `arecord -l`?
If so, it's supported by the ALSA driver, and things should be rather easy.
I think you can get some help from my community on Rocket.Chat / Discord:
chat.unfa.xyz
There's a lot of lovely people there, who may answer your questions when I'm away :)
nareszcie jakieś porządne video o nagrywaniu na linuxie, jak się obejrzy coś innego to ze startu ogarnia człowieka zniechęcenie. Przywróciłeś mi nadzieję, że kiedyś uda mi się nagrać w domowym zaciszu cokolwiek na linuxie co nie brzmi jak kupa. Bo czy trzeba wydać 30 tys. dolarów na sprzęt żeby nagrać dwie gitarki, wokal i harmoszkę? Wrzuć jakieś zmiksowane kawałki z instrumentami prawdziwymi jeśli możesz.
Cieszę się! Osobiście nie wachałbym się ani przez wchwilę stawiać komercyjnego studia nagraniowego na Linuksie. Nie wiem czy słyszałeś mój najnowszy album - cała synteza jest z ZynAddSUbFX, kompozycja i miks w LMMS, ale wokale i mastering były zrobione w Ardour: unfa.bandcamp.com/album/suppressed
dzisiaj wieczorem jak dzieci pójdą spać biorę to na tapetę! pozdro. T
tomooka Powodzenia!
Thank you :-).
Hey! I'm working on a track in Reaper (open to other Linux options as well but midi is important for my workflow) with some stems and I am remaking the kick with Geonkick. So far I've managed to route midi (via JACK) from Reaper to Geonkick, have it trigger a dope kick I synthesized there, and return that audio (via JACK) back to Reaper. Loving this kind of hybrid workflow, but there is a very noticeable latency in the kick compared to the stems and the grid. So the midi that triggers the kick is on beat, but the sound plays considerably late...
Is this issue because of my JACK latency? Well it seems to affect it, since shortening it got the kick sound closer to the beat, but is there a way to get it absolutely on time? Or is some combination of lowering JACK latency and shifting back the midi notation my best bet?
I saw something about using JACK as a timemaster or something somewhere... Is that the solution I'm looking for?
Thank you very much for all this!
Does JACK transport do what I need here? Or is there even a way to feed midi from daw to standalone synth and it's output back into the daw and bypass all latency? :D Or add the exact same latency to the other daw tracks?
Hey! I am not sure how Reaper implements its JACK back-end, maybe it has something to do with it. OR maybe the fact that the signal has to make a round trip - from Reaper to Geonkick and back.
Maybe a better solution would be to export the kick from Geonkick and use a sampler in Reaper to play that back?
I'm using Geonkick in Ardour directly as a plug-in (but Reaper doesn't support the libre LV2 plug-in format, which Ardour does) - and I don't think I had similar timing problems with it.
Also: I think you could load up a Carla plug-in inside Reaper and use that to open the Geonkick plug-in. This could let you avoid the latency and the hassle of dealing with multiple programs at once, though I personally never had luck using the Carla plug-ins in Ardour - Ardour would often crash when I tried that, so be careful.
@@unfa00 Thanks for the swift reply! :) I would export it and use the sample directly, but I've synthesized only a few kicks ever and would not want to "bake anything in" at this point, I want to be able to tweak the parameters in Geonkick still. And for some reason, Carla won't find Geonkick... For the plugins it does find, it seems like there is something weird happening as well. For example I pulled out a filter or a compressor on Carla in Reaper and even when I filtered or compressed the sound in such a way that almost nothing should be heard, it was still outputting almost the same sound, but kinda phasery sounding.
Btw, do you know of any tempo-sync capable oscilloscopes for Linux? It should also work in Reaper somehow unless I migrate to another daw... Ardour's midi felt clunky :
@@unfa00 For some reason neither Carla or Reaper seem to find the plugins I try to add even tho I am telling them to look in the right paths... Do I need to do something special to .so plug-in files or just point Carla / Reaper to the right place for them?
@@curiousmonkey8485 Hmm, weird. Maybe z Carla has a plug-in for filter set to something error so it didn't show you LV2 plugins?
Cells itself is available as a plug-in - have you managed to load it inside of Reaper maybe?
Ardour's MIDI is far from perfect, but still pretty usable. I'm in the process of editing footage for a Complete Ardour MIDI Tutorial. It's slowly getting better, too. Though some parts of it are just raw.
helpful info
Does JACK work with NO INTERNET CONNECTION ( no CABLES PLUGGED ... no WIFI ) ?
Absolutely. Any networking functions in JACK are purely optional. You don't need an Internet connection to use it.
Hi ! What's about ubuntu studio ? I'm running it with "old" FW Motu with no issue and jack is correctly setup on this distro.
Ubuntu Studio and AV Linux are examples of Linux distributions that are designed for multimedia production. Still - being able to understand and change JACK settings is going to come in handy :)
@@unfa00 sete up easily and running well are two different things in Jack's world !!!! :D
@@unfa00 sete up easily and running well are two different things in Jack's world !!!! :D
How can I connect the output of Guitarix to my Bluetooth headfone?
I think you should try using PipeWire for that. It lets you use JACK applications with Bluetooth audio devices (both in/out).
I have made a few videos about it. It's not perfect yet, but I am using PipeWire right now to edit a new video through BT headphones. Configuring PipeWire fro low latency may require some extra work though.
I think you could benefit from joining my community chat - people there can help you when I'm not available: chat.unfa.xyz
I'm using Jack to route audio out of Traktor, to Ableton. But the latency is the issue. I use a Scarlett 2i2 interface as my i/o devices within Jack. The Frames/Period are at 890, and sample rate at 44100. When I strike notes off my midi, I hear a 1 sec delay. Still throws me off a bit, but It was worse when the frames/period were at 1024. Reducing it to 890 actually reduced the delay.. but now it gets about 3 (2) Xruns. Would you recommend upgrading my hardware in this case? Great video btw.
890 frames/period sounds strange - the usual values are powers of 2 (256, 512,1024 etc). What operating system are you working on? Are you running Traktor and Ableton Live through Wine under Linux or what?
I'm working on Windows 7 64-bit. I customized the range to 890. I guess windows version has this capability. But yeah, doing this actually solved the delaying. Unfortunately it leaves Xruns going at around 3 (2). Surprisingly I don't get any pops or clicks coming off the audio at that rate. But i'm still thinking if I may need to upgrade to a better audio interface.. To be on the safe side as well.
I don't have any viable experience using JACK under Windows - but I'd rather guess that your CPU might be the bottleneck. The audio interface is only shoving data in and out - and even the simplest of dedicated interfaces will work with buffer sizes as small as 32 periods per buffer (unless they are broken), as long as the CPU can keep up. Another source of problems might be the Windows kernel. Could you share your machine specs?
have you tried doing the same thing with KX Studio LiveDVD or AVLinux just for a benchmark?
I use an M14x r2 alienware. i7-3720qm (2.60ghz), 16gb's of corsair vengeance ram, nvidia GT 650m, 2tb firecuda sshd. I haven't tried KX Studio, LiveDVD, or AVLinux.
Well, the hardware sound like surely capable of handling low latency audio operation.
Have you seen another video I made about KX Studio? There's a part dedicated to installing it on a USB drive so you can try out the Linux Live system without doing anything permanent on your hard disk:
czcams.com/video/RLojB7IhU94/video.html
It'll have I guess Ardour 3 installed in it, and it should work great out of the box.
Doesnt understand everything. how do i use Jack? where can I see whats going on?
I use a program called Cadence to control and monitor the sate of the JACK audio server.
kx.studio/Applications:Cadence
this guy is funny LOL! and informative!
I can't install the Jack on manjaro KDE ...
This seems as good a place as any to (Edit:)ask for help(/edit)... I'm not even sure where to start... I guess I'll give a basic rundown of my software/hardware and what I want to do, and maybe you can tell me whether I'm trying to run before I crawl, or if I just have crappy hardware that I'm wasting my time on. please forgive the layman's terminology as I'm somewhat new to this stuff...
Im using an old(ish) ASUS laptop, with 4 cores and +/- 6GB of RAM running kde fedora, the rockband 3 keytar, and a cheap $10 usb midi interface cable I got off of amazon/ebay (i forget which)
While I would certainly love to do fancier mixing, etc, someday(a funny idea i thought of was playing music using the Wilhelm scream played as different notes), right now, I just want to get the midi keyboard to play notes that I can then hear/record via the computer, so I can hopefully start learning to play a basic piano setup.
Please keep in mind I have to work on a budget atm, so I can't break the bank on new equipment, although if I have to get a better midi adapter, I'll bite the bullet, it just means I'll have to wait a bit.
thanks in advance for any help you can provide, and if you can't, no biggie either =)
maybe alsa force-reload is what i need. my audio interface Firestudio Project dosnt work on pulseaudio-jack-ardour or pulseaudio-alsa-ardour . just sounds from system
If that is a Firewire interface it may run in JACK using firewire or freebob driver instead of ALSA, but firewire devices can be more problematic to get working than a USB ALSA device
i am using jack for over a year now and its lovely one thanks for share this, but now i facing a problem i want to route my daw sound to discord but its in discord jack not show for select as imput any let me know if you can help in this pls share if you can help in this thanks for making lovely videos
Hi! To route audio from software like Discord or web browsers, games etc you'll need to have some kind of a bridge. For JACK and PulseAudio systems, there is a module for PA named pulseaudio-jack. If you need some extra help, the best idea would be to join my community chat at chat.unfa.xyz :)
@@unfa00 thanks really man for your help and info let me try with this and let you know for sure join the community already :) thanks for the link :)
@utpauldas You're welcome, good luck!
Dude, please... how can I use jack transport for kdenlive and ardour together? Thankssss a lot
I don't think Kdenlive supports JACK Transport. Blender does however. You just need to use JACK audio backend and set Playback mode to A/V Sync in Blender. In Ardour - switch to JACK transport instead of Internal and it should work :)
I came here with the question "why TF is OBS killing the audio to any of my Wine applications?" and i learned the basics of audio.. i will solve this issue yet
Jack, connect me, connect me ♪♫
Will jack work on Macs Logic Pro x and QuickTime player On OS Serria ?
JACK itself will work on Mac, but I don't think these programs have JACK support. Ardour is an opensource DAW that works on Mac OS and uses JACK. ardour.org
If you're using a usb interface the periods/buffer should be a multiple of 3 so that the buffers line up on millisecond boundaries which is usb's transfer minimum.
see wiki.linuxaudio.org/wiki/list_of_jack_frame_period_settings_ideal_for_usb_interface
Oh, that's interesting. Maybe this is why I get some dropouts at times. I had no idea about this.
Thank you
hi tobiasz, mam taki problem qjackctl mi nie pokazuje xrunów ani dużego dsp loadu a po puszczeniu clipu np z youtuba po kilku minutach zaczyna gliczować logi jackd nic nie mówią, gdzie oże tkwić problem ? testuje równże wartości buffer
Jaki jest Twój system operacyjny? Czy używasz kernela w wersji lowlatency?
ubuntu studio chyba defaultowo jest z RT kernelem - inwestyguję
Poleceniem 'uname -a' w terminalu możesz sprawdzić katualnie używaną wersje jądra.
4.10.0-37-lowlatency
przypuszczam że z mojego interfejsu coś nie idzie lsusb -t pokazuje mi coś takego :
Bus 02.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
możesz potwierdzić że masz podobnie 12M yo przypuszczam prędkość może to jest wąskim gardłem : ppp - pozdro
I have a problem: the system's audio is not showing up under the connection tab in JACK,, only my DAW is :(
sky bound zoo I guess you're using QJackCtl? Have you configured your soundcard properly? Have you picked the right device? Does JACK show any errors in the log console?
Wow you solved my problem without even answering my initial question. I'm not to versed with the program so I don't know the difference between the jackd Qjackctl thing, all of these jack things. I was using Jack Port Audio to access the control, not qjackctl. Everything works properly now that I am using the qjackctl !
I have another question for you: how do I set up midi such that I can
use my midi boards for two different DAWs at once? Is this possible?
sky bound zoo Yes, with JACK it's a simple thing. You might need to run something called A2J MIDI bridge (because there are two MIDI protocols in Linux - ALSA and JACK MIDI). Once you have MIDI output ports of your controllers in JACK, you can route them to as many inputs as you want, the data will be copied. Same with audio in JACK - you can connect one output to multiple inputs to split the signal, or you can connect multiplie outputs to a single input to mix down the signals.
I'm glad I somehow helped you out :D
I personally use Carla for managing and configuring JACK server - it has some nice tools for running ALSA-JACK audio and MIDI bridges, PulseAudio and such. It comes bundled with KX Studio.
Do you like MONO or th3 next orange is the new jack
I've never heard of these, so I don't know.
unfa lol mono is with one black thing on the jack and the other is nothing
Hey unfa. Please help me! i want to set up my Jack. There is nothing set up. Iwant to use my mice and Headphones just as a an audio Monitore. But how i have to use Jackctl? ive tried all that stuff like audour, Musescore, Blender and, and, and. I love linux but my skills in that OS and software is a bit inferior.
What Linux distribution are you running?
What is your soundcard?
@@unfa00
cat /proc/asound/cards
0 [PCH ]: HDA-Intel - HDA Intel PCH
HDA Intel PCH at 0xd2620000 irq 31
1 [CM900 ]: USB-Audio - Auna Mic CM900
Auna Mic CM900 Auna Mic CM900 at usb-0000:00:1d.0-1.2, full speed
uname -a
Linux thinkyT420 4.15.0-46-generic #49-Ubuntu SMP Wed Feb 6 09:33:07 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
@@unfa00 linux 18.10 with KDE :)
@@unfa00 Now im using the appklikation OBS to monitor the Audio, but the latency is awful
Looks like you'll need to configure JACK to use a different device for capture and playback. Do you have KX Studio Repositories and Cadence installed maybe?
There are a lot of pops in the audio for this video and you seem to blow out the microphone from time to time. You sound very convincing, but I can't help wonder why the audio in this video is so bad.
The audio is so bad for a few reasons:
- All I had at the time was a potato laptop that couldn't handle the increased load of recording very well, the CPu load is most likely causing the clicks (xruns) in audio. I also had a potato microphone without an extra pop filter.
- I have probably made some mistake with configuring the JACK server, or some random issue creeped up that I didn't notice in time.
I remember that I have only realized I have these clicks in editing, so I decided to run with it, as I couldn't afford the time to re-record it back then.
If given enough time I could manually fix that in Audacity, but it'd take a whole day probably, and I just couldn't do that then.
I know that if I'm making videos about sound, I should have no audio issues, but unfortunately making videos makes things way more complicated than just doing the production.
Yes, I keep noticing these errors and I am as frustrated an anyone hearing these problems.
Hopefully my recent videos show better quality :)
I got my JACK GUI with a LED Display Font.
Hello there. can this program be used as dictation software? I'm trying to translate voices into words.
I don't think I know of any speech recognition software that works with JACK. Is that what you're looking for?
Thank you very much for your interest.
No, I want to do exactly that. How can I play the sound that is playing on a dictation software?
For example; How can I listen to a sound (or the voice in the video) playing in a Dictation program, translate it into writing?
If you want to manually transcribe and translate a voice recording, you could just load the voice recording into Audacity, and play it back piece by piece, taking pauses to write down the text. You could be translating it right away, or just transcribe it first, and then go through the complete transcript and translate it to a different language. If you for example want to download this video's voice I'd use a Linux program called youtube-dl, then you can open a video file in Audacity and it'll extract the audio stream form it. I am not sure if this is what you need though :)
I would like to translate a publication that is currently playing into google documents simultaneously. Could it do JACK?
I don't know of any open-source tool to do speech recognition and translation for you, but you could use a loop station program like SooperLooper, Freewheeling or Luppp to record what you hear and re-play it immediately. You'd need to pause the original material playing at the same time, so I guess it'd be a bit tricky. I'm sorry - I still don't think I really understand what you are trying to achieve.
Why JACK isn't just part of the OS (much how ASIO should be in Windows, or quicktime IS part of OSX) escapes me.
What do you mean: part of the OS? It comes preinstalled on many Linux distributions, especially those meant for multimedia production. Does that count? :)
@@unfa00 - it should be part of the kernel or core OS. Windows has a similar problem. Even if WIN10 came with ASIO preinstalled, it's not really integrated into the OS itself. Apple doesn't have this problem - the Quicktime layer is very close to the metal and handles all audio / video / MIDI issues directly, which is why it's such a breeze to deal with. (OSX has a pile of other issues, but that's outside the scope of what I'm getting at here). It's just "how it works".
Linunx is in the same boat as Windows - support has to be outside the OS.
By integrating JACK (or something like it) into the core of the OS, people developing for Linux would have to program with that in mind, which would (actually) make things easier i nthe long run, and one heckuvalot easier for users.
On ya matey! How to 432htrz my linux?
ZynAddSubFX / Zyn-Fusion is a ln open-source synthesizer that supports custom tunings, so I'd go for that.
Apart from that I am really sure there's nothing special about that particular tuning :)
jack is a pain in m.y ................... Do you know if anyone that does what you do but in windows? Can't help but think the market share thats missed on here is massive
Are you tuning Windows? I know JACK runs on it, but I have never used it there.
@@unfa00 yep windows. Got it working matey thankthankfully for the advice. I'm going to smashing your channel for the next few months.
Yeaheeeee. Apologies in advance for the questions i will ask.
@@AdamEarleArtist nice! Good luck then :)
Can i use jack to link musescore and a video on vlc?
ivan herrera Do you mean syncing that together, so you can write music for the video?
yep, but it seems someone else has done it with xjadeo
If Musescore has JACK transport support I'd use Xjadeo too. I use Xjadeo with Ardour.
JACK TRANSPORT IS FUCKING DOPE WTF IS THAT