Transcription
Ladies and gentlemen, welcome to the CES Nation. My name is Secret Agent N and CS. I'm the founder and the director of the C industry spary, the Cugs Nation.
This is going to be a different tutorial than what I normally do on this channel. Now, you may be asking, Sendo, why is this a different tutorial? This is something I tend to cover on my secondary channel, which I will be linking in the description of this video below. I should probably do that. All the videos from my channel, from this point on, you'll see what I mean if you check the dooblydoo for this tutorial.
I will assume you have installed Linux Mint 21.3. I will be using Cinnamon, but if you have XFCE or MATE, this should also work. We're not going to waste any more time. I'm going to bring up the notes in which I've done for this tutorial. So, yeah, I'm just doing some planning beforehand.
Now, the first things first, we're going to go ahead and do Ctrl+Alt+T or bring up any terminal of your choice. In my case, I have this set up for the GNOME terminal, right? But let's actually, instead, I'm going to use Alacrity. Again, you can use whatever terminal you'd like.
So, the first thing you need to do, always do `sudo apt update` and then do a double ampersand, which means after this, do `sudo apt upgrade` and then `-y`, which means assume yes, basically it will default to yes instead of no. So, once you hit enter and place in your sudo password, which I will go ahead and do here for demonstrative purposes, let apt do its thing.
Now, obviously, you're going to get a shorter list of these list files, and they will be located inside of `/etc/apt/sources.list.d/`. So yours is probably going to be faster than mine, unless, of course, you've done what I've done and pretty much installed some outside packages, some PPAs, or whatnot. After the update is done, go ahead and reboot your machine.
Once the machine is rebooted, then do `sudo apt install mint-meta-codecs`. Now, this, this is for if you did not click the little box to say "install multimedia codecs." You're basically doing this command in a point-and-click environment, if that makes sense. Now, once you hit enter, let apt do its thing. That should be done.
After you get the multimedia codecs, go ahead and log out and then log back in. You should have the multimedia codec support.
Now, the next command will be `groups`. Simple as that. Just, just `groups`. This will display the groups you are in. Now, you should see that you do not have the `audio` group as of yet. If you do not have the `audio` group yet, then you'll be able to follow along. But if, for some reason, the `audio` group was added during the installation process, you should be fine. But I will assume the `audio` group is not in your groups list.
So, the first thing to do: `sudo groupadd audio`. This will add the `audio` group. Hit enter. It should automatically add the `audio` group for you. And then, after this is done, you'll do `sudo usermod -aG audio` and then the easiest way to tell your username, this `@` symbol, what's on the left of your `@` symbol, that's the username you'll be using on your machine. Another trick is to do `$USER` in all caps. But in my case, I'll use my own username. Hit enter. Go ahead, add yourself into the `audio` group.
Next, you'll do `groups` again, but this time do a pipe, which is Shift and backslash, and then do `grep`, which allows you to search for text, and then `audio`. Now, once you hit enter, you should see `audio` highlighted, as you see here in orange. The last time I did a tutorial like this, it was in red, but I was using GNOME terminal at the time, and I didn't know exactly how to do this properly back then. Probably, for you, it was so small, you couldn't even see squat. So now you should be in the `audio` group.
The next thing to do is to install `jackd2`. Basically, it's Jack 2. It's a daemon. It will be `sudo apt install jackd2`. You should also keep `jackd`, and basically, Jack 2 will be the default.
Now, you may be asking, Sendo, what in the world is Jack? Jack, or the Jack Audio Connection Kit, is an audio server designed to do very demanding audio work. In my case, because I use Ardour for my music, you're going to want to use Jack, since it has very low latency. With PulseAudio, you're basically... So now, once you install `jackd2`, hit enter after inputting this command. `jackd2` and some dependencies will install.
After this is done, you should have one of two files. Then go into your text editor of choice. `sudo`, I will use Vim today, but you can use Nano, Micro, whatever, and then `/etc/security/limits.d/audio.conf`. And then enter and your password if need be. In my case, I actually have the nice level set to -9. This will be commented with a hashtag by default, but if you want to add the nice level, go ahead and add in the nice level of -9. Of course, if you have that specific file, do anything, you can do whatever you need. Save the file and then go ahead and leave it be.
If you decide to not install the `audio.conf` file in `limits.d`, then you can go into `/etc/security/limits.conf`. It'll be the same thing. Go down to the end of the file and then after your username, do a couple of spaces, `@audio` and then do `rtpriority` which is real-time priority, set this to 95, and then `@audio` again, `memlock` and then `unlimited`. I do not know what these do, but if you do these two things, Jack will work just fine. And of course, for the audio, if you want the nice level set, set that to -19, as Jack guys already have it set, or whoever packaged this specific variant of `jackd2`. Of course, I will not save the file, and we should be able to exit there.
After this is done, log out and then log back in. You should now have the Jack daemon already installed.
The next step to do, we're going to go into Librewolf or whatever browser you have selected, and then we're going to find. If you're using Ardour, you'll want to use the Ubuntu Studio backports. The one that I would probably go ahead and use, go into this backport over here. This is for Ardour backports. It will be designed for Jammy in particular. Now, you'll want to very easily copy with Ctrl+C in your terminal, Ctrl+Shift+V. Hit enter. And then, if need be, enter your sudo password, and then hit enter, probably one more time, unless, of course, you do `-y`, which will be assume yes. This will add the latest backport of Ardour. It'll be Ardour 7 onto the Ubuntu 22.04 repositories, which you have set up, of course.
`sudo apt update`. Once you update the package information, you'll then get the latest version of Ardour. `sudo apt install ardour`. Now, you can do this for pretty much any free, libre, open-source software DAW. It won't just be Ardour, but for example, you could do Qtractor, which is another DAW. You could do LMMS through an AppImage. You could use whatever DAW you want. Go ahead and learn how to install that onto your system. In my case, I'll be using Ardour. I already have Ardour 7 installed, and it'll be just called `ardour7` or whatever Ardour is going to be. I think in my case, it will end up being `ardour7` if I'm not mistaken, but that doesn't matter.
After you have your DAW installed, you're going to want to get into your browser again and then do `kx.studio`. You'll go into the KX Studio. It's a collection of applications and plugins for audio production purposes. I do a lot of MIDI composition, especially too-style MIDI composition, of which I've actually probably been a pioneer in too-style Bossa Nova. If you don't know what I'm talking about, check the link below. My channel, my second channel will be there so you can learn the type of music in which I happen to produce.
Now, go into repositories on here and then do "About Slow". This will give you the tutorial on how to do this. And then probably I'll just do it here. `sudo apt update`. Enter. Booyah. Next, `sudo apt install apt-transport-https` and then do `gpgv` and then `wget`. Enter. Let those install. Then copy the `wget` command, Ctrl+C. Go into your terminal, Ctrl+Shift+V. Okay. Hit enter. You'll get this specific Debian-style package. It's a Debian package format. You'll be able to use that. And then to install it, do `sudo dpkg -i kxstudio` and then hit Tab. It should autocomplete this for you.
Once this is done, you now have the KX Studio repositories. Do a quick `sudo apt update` once again to update the repository information. Then you'll be able to use the KX Studio repositories and applications within KX Studio to your delight.
Now, once this is done, you should have one other app installed, which is in fact an optional dependency. This will be `qjackctl`. `sudo apt purge qjackctl`. You do not need this. Hit enter. Purge it from your system. Of course, the package managers will not touch your home directory, so you need to go to, I think, `~/.local/share/config` or whatever you see for `qjackctl` in your home directory. Get rid of it. Get it out of here. Make sure you type in `qjackctl` in the search for your file manager. Now, in my case here on Cinnamon, it will be Nemo, but in most cases, for me, I use PCManFM. That's just my personal preference.
Once `qjackctl` is completely removed from your system, then you can go ahead and do `sudo apt install cadence`. Cadence is the Jack toolbox in which I personally happen to use. I do not really need to use `qjackctl`. Cadence is so much better for my personal workflow. In fact, I have it right here on my toolbar alongside Catia, which is essentially one of the tools in Cadence for routing Jack applications to whatever is needed.
That is going to be it for this video. That being said, thank you and good night.