Distortion in Waveform
Moderators: MattKingUSA, khz
-
- Established Member
- Posts: 57
- Joined: Fri Aug 27, 2021 5:07 am
- Has thanked: 8 times
- Been thanked: 6 times
Re: Distortion in Waveform
Ok guys...I've slept on it. Watched an inspiring video yesterday from an artist about why he makes music on linux. I don't like big tech, I'm into crypto...It's got to be linux for my audio production and I just have to learn more. I recently bought a new laptop just for that purpose so I can use this one in the meantime. I guess I have to learn about JACK and get over my aversion to it. Heading over to another section to ask about installation of AV Linux (which looks super cool) because I've hit a confusing bump. In return I can offer my talents as a mixer and someone who can add drums, bass and guitar to your tracks. Want people to think that David Gilmour did the guitar work on your track? I'm your man. Upwards and onwards (assuming we make it through the apocalypse)!
- Linuxmusician01
- Established Member
- Posts: 1548
- Joined: Mon Feb 23, 2015 2:38 pm
- Location: Holland (Europe)
- Has thanked: 784 times
- Been thanked: 144 times
Re: Distortion in Waveform
The way I do it:
Code: Select all
pulseaudio --kill
-
- Established Member
- Posts: 821
- Joined: Thu Mar 21, 2013 12:55 am
- Location: Vladivostok
- Has thanked: 65 times
- Been thanked: 124 times
Re: Distortion in Waveform
It's not. It can start if the daemon autospawn is on. And it will start on next logon.Linuxmusician01 wrote: ↑Tue Aug 31, 2021 8:35 amThe way I do it:PA is completely gone then.Code: Select all
pulseaudio --kill
- Linuxmusician01
- Established Member
- Posts: 1548
- Joined: Mon Feb 23, 2015 2:38 pm
- Location: Holland (Europe)
- Has thanked: 784 times
- Been thanked: 144 times
Re: Distortion in Waveform
I don't know on what Linux distribution AV Linux MX (link) is based. It's probably a great distro, but realize that if you have to ask Linux questions anywhere and they don't know your distro it might be difficult to help you out.
Some thing one should know about the distro one uses (in my opinion):
- Is it deb or rpm based?
- If based on another distro like Ubuntu: on what version?
- What repositories does it use? Standard repo's from the distro on which it is based or custom?
- To what date does the (long term) soppurt last?
- Can you use Chrome instead of Chromium? Do you know the difference?
- etc. etc.
Choose wisely.
- Linuxmusician01
- Established Member
- Posts: 1548
- Joined: Mon Feb 23, 2015 2:38 pm
- Location: Holland (Europe)
- Has thanked: 784 times
- Been thanked: 144 times
Re: Distortion in Waveform
Ooops! You're right. Forgot to mention that I also did the following. Uncomment the following 2 lines from /etc/pulse/client.conf:Kott wrote: ↑Tue Aug 31, 2021 8:49 amIt's not. It can start if the daemon autospawn is on. And it will start on next logon.Linuxmusician01 wrote: ↑Tue Aug 31, 2021 8:35 am The way I do it:PA is completely gone then.Code: Select all
pulseaudio --kill
Code: Select all
autospawn = no
daemon-binary = /bin/true
Code: Select all
systemctl --user mask pulseaudio.socket
systemctl --user stop pulseaudio
- sunrat
- Established Member
- Posts: 926
- Joined: Wed Jul 22, 2020 2:08 pm
- Has thanked: 152 times
- Been thanked: 247 times
Re: Distortion in Waveform
That will certainly stop it but it will respawn as soon as an application requests access to PulseAudio. A better way is to stop it using systemctl, or to run an application one time without PulseAudio start the application from terminal and prepend pasuspender which will stop it until you exit that application. Both methods are explained in https://wiki.debian.org/PulseAudioLinuxmusician01 wrote: ↑Tue Aug 31, 2021 8:35 amThe way I do it:PA is completely gone then.Code: Select all
pulseaudio --kill
I am doubtful that will help anyway. There are now several pages of posts and suggestions but no actual logs or error messages from which to base these. What is needed here is some proper diagnostics. Without that people can only blindly guess. Check journalctl, dmesg, system logs etc.
I have no trouble running JACK and PA together using pulseaudio-module-jack which is loaded from Qjackctl with a start command and patchbay preset. It can instead start automatically if D-Bus is active for JACK although I don't use that. But I doubt JACK will help in this case, probably just complicate matters further.
Also there is considerable optimisation possible to improve audio performance in Linux and I'm pretty sure Zorin doesn't do any optimisation. The proposal to install AVL-MXE is wise as it is well optimised out of the box. It is quite easy to install so keep at it. Soon you will find there is one step in the process which you may have done incorrectly and it will be plain sailing after that!
-
- Established Member
- Posts: 57
- Joined: Fri Aug 27, 2021 5:07 am
- Has thanked: 8 times
- Been thanked: 6 times
Re: Distortion in Waveform
Well I've been on Linux for almost two years now. Trying out AV Linux can only be instructional. If it's too hard then maybe I can use ubuntu studio. Just want a lean, resource efficient machine mainly to be used for music production. I'll give it try. Just have to get it installed first (looking into that).
As far as the topic, if I kill pulse audio then won't that stop me from hearing audio through the laptop speakers when I want to watch the news?
As far as the topic, if I kill pulse audio then won't that stop me from hearing audio through the laptop speakers when I want to watch the news?
- Linuxmusician01
- Established Member
- Posts: 1548
- Joined: Mon Feb 23, 2015 2:38 pm
- Location: Holland (Europe)
- Has thanked: 784 times
- Been thanked: 144 times
Re: Distortion in Waveform
Yep. It will. Pulse and Jack are "servers", the audio driver is, and will always be, Alsa. Alsa can only serve one application at the time. That's why we have Pulse. Then why do we have Jack? Because it's more configurable. It confuses me too sometimes...
P.S. Ubuntu Studio is also a distro that is not that widely used. Debian and Ubuntu are. Mint too, but that's Ubuntu in a nice suit. Debian Stable is always somewhat out of date. Many people that have up to date versions of their software (Qtractor for instance) have it for Ubuntu. Choose wisely.
Last edited by Linuxmusician01 on Tue Aug 31, 2021 9:18 am, edited 1 time in total.
- sunrat
- Established Member
- Posts: 926
- Joined: Wed Jul 22, 2020 2:08 pm
- Has thanked: 152 times
- Been thanked: 247 times
Re: Distortion in Waveform
AVL-MXE (and MX-19 upon which it is built) are based on Debian Buster and use primarily Debian repos with some MX repos. AVL-MXE includes some custom packages which are not in repos, plus several third party repos such as KX Studio.Linuxmusician01 wrote: ↑Tue Aug 31, 2021 8:55 amI don't know on what Linux distribution AV Linux MX (link) is based. It's probably a great distro, but realize that if you have to ask Linux questions anywhere and they don't know your distro it might be difficult to help you out.
Debian is possibly the easiest distro for which to find help.
- Linuxmusician01
- Established Member
- Posts: 1548
- Joined: Mon Feb 23, 2015 2:38 pm
- Location: Holland (Europe)
- Has thanked: 784 times
- Been thanked: 144 times
Re: Distortion in Waveform
Yep, Debian is. But I check out on the MX part and the custom packages that are not in repo's. Not gonna bother trying to instruct a fellow Linuxer how to use, configure or install that. Because that'll need me to delve into a distro I'll never use and at which point I'm stuck with knowledge that is useless to me at the cost of a lot of energy. Sorry, man.sunrat wrote: ↑Tue Aug 31, 2021 9:18 am AVL-MXE (and MX-19 upon which it is built) are based on Debian Buster and use primarily Debian repos with some MX repos. AVL-MXE includes some custom packages which are not in repos, plus several third party repos such as KX Studio.
Debian is possibly the easiest distro for which to find help.
- Linuxmusician01
- Established Member
- Posts: 1548
- Joined: Mon Feb 23, 2015 2:38 pm
- Location: Holland (Europe)
- Has thanked: 784 times
- Been thanked: 144 times
Re: Distortion in Waveform
As far as I know Jack can't. But now comes the confusing part. You can use Jack and Pulse at the same time. Jack can "sink" it's audio to Pulse (or vice versa, dunno how it works exactly). That way you can listen to Youtube and use your DAW with Jack at the same time. Most do not recommend this but I do it nontheless. I can always kill PulseAudio if I want to.
It is called jack_sink. I start it like this:
Code: Select all
pactl load-module module-jack-sink &
pactl set-default-sink jack_out &
-
- Established Member
- Posts: 57
- Joined: Fri Aug 27, 2021 5:07 am
- Has thanked: 8 times
- Been thanked: 6 times
Re: Distortion in Waveform
Alright, well this is all interesting. I always shut down other programs when I am focusing on music production. It's an interesting world. Lots to learn though but I have a nerdy streak so it's all good.
- Michael Willis
- Established Member
- Posts: 1460
- Joined: Mon Oct 03, 2016 3:27 pm
- Location: Rocky Mountains, North America
- Has thanked: 71 times
- Been thanked: 169 times
- Contact:
Re: Distortion in Waveform
@Matt73, I'm impressed with your patience and tenacity. A lot of folks give up within a week, but if you stick it out there are rewards to using libre software for audio work. (At least I keep telling myself that )
Earlier you asked about the definition of real-time audio. When I use this term, I just mean tuning your system to get low latency results from your DAW without all the snap crackle pop from x-runs. The low latency is only really important if you are doing live recording from a microphone, guitar, midi from digital piano, hardware synths/effects, etc. If you are not recording live, then you don't need to work about low latency and you can set your buffer size really high (say 1024 or more) and avoid buffer under runs.
Earlier you asked about the definition of real-time audio. When I use this term, I just mean tuning your system to get low latency results from your DAW without all the snap crackle pop from x-runs. The low latency is only really important if you are doing live recording from a microphone, guitar, midi from digital piano, hardware synths/effects, etc. If you are not recording live, then you don't need to work about low latency and you can set your buffer size really high (say 1024 or more) and avoid buffer under runs.
-
- Established Member
- Posts: 57
- Joined: Fri Aug 27, 2021 5:07 am
- Has thanked: 8 times
- Been thanked: 6 times
Re: Distortion in Waveform
Yeah, I don't lack tenacity. I'm just grinding away. At the end of the day it's your talent as a musician that matters most and there's all the software in the world to shine just as brightly as anyone with pro-tools and all the waves/kush plugins. Waveform support are halping me with this issue as well. Really looks like I will have to learn JACK but that's ok. It's interesting and even with the approaching apocalypse/new era of human freedom, we have to keep our minds stimulated.