Unwanted distortion in Reaper
Moderators: MattKingUSA, khz
-
- Established Member
- Posts: 28
- Joined: Sat Oct 06, 2018 8:51 am
Unwanted distortion in Reaper
Hellol,
I have installed Reaper on my computer and it works.
The system is as follows
- Linux Mint 18.3 Cinnamon 64-bit
- AMD Ryzen 7 - 1700X eight core
- 32 GB ram
- Nvidia graphic card 1060
I have my external audio mixer connected to a Behringer U-control UCA 202 audio capture device that convert analog signals to usb.
The Behringer U-control also has an optical output that is connected to the optical input of my active speaker system (Logitach Z5500).
I started Jack with the QJack application.
When I produce sounds with Reaper it sounds very distorted in Linux. I also have Reaper for Windows on the same computer (dual boot) and there everything sounds fine)
The distortion in Linux is for:
- software instruments
- external hardware instruments
- recordings that I drag and drop in Reaper
So actually for everything
I don't have added a distortion plugin so that's not the case.
There also nothing clipping. Levels in the mixer looks fine.
The sound of the distortion sounds a little bit like there's a lo-fi plug in added.
Does anyone have an idea what this can be? I can't figure it out.
I have installed Reaper on my computer and it works.
The system is as follows
- Linux Mint 18.3 Cinnamon 64-bit
- AMD Ryzen 7 - 1700X eight core
- 32 GB ram
- Nvidia graphic card 1060
I have my external audio mixer connected to a Behringer U-control UCA 202 audio capture device that convert analog signals to usb.
The Behringer U-control also has an optical output that is connected to the optical input of my active speaker system (Logitach Z5500).
I started Jack with the QJack application.
When I produce sounds with Reaper it sounds very distorted in Linux. I also have Reaper for Windows on the same computer (dual boot) and there everything sounds fine)
The distortion in Linux is for:
- software instruments
- external hardware instruments
- recordings that I drag and drop in Reaper
So actually for everything
I don't have added a distortion plugin so that's not the case.
There also nothing clipping. Levels in the mixer looks fine.
The sound of the distortion sounds a little bit like there's a lo-fi plug in added.
Does anyone have an idea what this can be? I can't figure it out.
- lilith
- Established Member
- Posts: 1698
- Joined: Fri May 27, 2016 11:41 pm
- Location: bLACK fOREST
- Has thanked: 117 times
- Been thanked: 57 times
- Contact:
Re: Unwanted distortion in Reaper
Please post your Jack settings or make a screenshot, i.e. sample rate, buffer size, periods / buffer. What happens when you switch to ALSA instead of Jack in Reaper? Do you get good sound from other applications?
-
- Established Member
- Posts: 28
- Joined: Sat Oct 06, 2018 8:51 am
Re: Unwanted distortion in Reaper
In the attachment the Jack screenshot.
When I choose ALSA in Reaper I have an error message - see attachment - and no sound.
When I choose ALSA in Reaper I have an error message - see attachment - and no sound.
- Attachments
-
- Jack screenshot.png (37.12 KiB) Viewed 1507 times
-
- Error message Alsa.png (8.88 KiB) Viewed 1507 times
- lilith
- Established Member
- Posts: 1698
- Joined: Fri May 27, 2016 11:41 pm
- Location: bLACK fOREST
- Has thanked: 117 times
- Been thanked: 57 times
- Contact:
Re: Unwanted distortion in Reaper
Try setting the buffer size (= frames/period) to 1024 first and check if the sound changes. You have to stop and restart Jack after the change. If Reaper can't use ALSA maybe your soundcard is occupied by an other application. Do you use PulseAudio also?
Is anything written in the log window of Jack?
Is anything written in the log window of Jack?
-
- Established Member
- Posts: 28
- Joined: Sat Oct 06, 2018 8:51 am
Re: Unwanted distortion in Reaper
Yes! It works. I changed the buffer size from 64 to 1024 and then the sound is fine like it shoud be
I don't know what PulseAudio is, but when Jack is started I noticed that a Youtube video stopped working. When I stop Jack the video works again.
Luckily I don't need to watch video's when I record audio in Reaper.
I don't know what PulseAudio is, but when Jack is started I noticed that a Youtube video stopped working. When I stop Jack the video works again.
Luckily I don't need to watch video's when I record audio in Reaper.
- lilith
- Established Member
- Posts: 1698
- Joined: Fri May 27, 2016 11:41 pm
- Location: bLACK fOREST
- Has thanked: 117 times
- Been thanked: 57 times
- Contact:
Re: Unwanted distortion in Reaper
Great, if you need less latency you can go down again to 512 and 256 until you run into problems like dropouts (xruns). With bridged pulseaudio or bridged alsa it's possible to have sound from Reaper and e.g. youtube at the same time. So, in case you need this it's possible with some tweaking.
-
- Established Member
- Posts: 28
- Joined: Sat Oct 06, 2018 8:51 am
- bluebell
- Established Member
- Posts: 1925
- Joined: Sat Sep 15, 2012 11:44 am
- Location: Saarland, Germany
- Has thanked: 112 times
- Been thanked: 119 times
Re: Unwanted distortion in Reaper
Jackd's buffer size can be changed on the fly, see http://marzen.de/Holger/jack_bufsize/lilith wrote:Try setting the buffer size (= frames/period) to 1024 first and check if the sound changes. You have to stop and restart Jack after the change.
But some client programs have to be restarted after a change.
Linux – MOTU UltraLite AVB – Qtractor – http://suedwestlicht.saar.de/
- khz
- Established Member
- Posts: 1648
- Joined: Thu Apr 17, 2008 6:29 am
- Location: German
- Has thanked: 42 times
- Been thanked: 92 times
Re: Unwanted distortion in Reaper
Code: Select all
LM@LAW ~ $ jack_bufsize 1024
. . . FZ - Does humor belongs in Music?
. . GNU/LINUX@AUDIO ~ /Wiki $ Howto.Info && GNU/Linux Debian installing >> Linux Audio Workstation LAW
. . GNU/LINUX@AUDIO ~ /Wiki $ Howto.Info && GNU/Linux Debian installing >> Linux Audio Workstation LAW
- I don't care about the freedom of speech because I have nothing to say.
- AlexTheBassist
- Established Member
- Posts: 353
- Joined: Mon May 19, 2014 3:44 am
- Location: Russia, Moscow
- Been thanked: 1 time
Re: Unwanted distortion in Reaper
This is unplayable, because a total roundtrip in this case will be above 30 ms, which is noticed even by non-musicians. However, good sound cards like Presonus ones can be playable with 256 samples/buffer also, but only in case USB works fine with 2 periods per capture.lilith wrote:Great, if you need less latency you can go down again to 512 and 256 until you run into problems like dropouts (xruns).
Being creative does not imply being lazy, stupid, or illiterate.
Working in Harrison Mixbus and Ardour on KDE Neon + KXStudio.
Working in Harrison Mixbus and Ardour on KDE Neon + KXStudio.
- AlexTheBassist
- Established Member
- Posts: 353
- Joined: Mon May 19, 2014 3:44 am
- Location: Russia, Moscow
- Been thanked: 1 time
Re: Unwanted distortion in Reaper
96 is unsupported by some convolution software, like JConvolver, which can be found in Guitarix. It's better to use power of 2 buffer sizes to get more stable performance.khz wrote:96/128/256/512/1024/2048/4096Code: Select all
LM@LAW ~ $ jack_bufsize 1024
Being creative does not imply being lazy, stupid, or illiterate.
Working in Harrison Mixbus and Ardour on KDE Neon + KXStudio.
Working in Harrison Mixbus and Ardour on KDE Neon + KXStudio.
- lilith
- Established Member
- Posts: 1698
- Joined: Fri May 27, 2016 11:41 pm
- Location: bLACK fOREST
- Has thanked: 117 times
- Been thanked: 57 times
- Contact:
Re: Unwanted distortion in Reaper
For me everything <= 10ms is ok.AlexTheBassist wrote:This is unplayable, because a total roundtrip in this case will be above 30 ms, which is noticed even by non-musicians. However, good sound cards like Presonus ones can be playable with 256 samples/buffer also, but only in case USB works fine with 2 periods per capture.lilith wrote:Great, if you need less latency you can go down again to 512 and 256 until you run into problems like dropouts (xruns).
- AlexTheBassist
- Established Member
- Posts: 353
- Joined: Mon May 19, 2014 3:44 am
- Location: Russia, Moscow
- Been thanked: 1 time
Re: Unwanted distortion in Reaper
A total roundtrip is always longer than samplerate / (buffersize * n). There's an additional delay in the soundcard itself (that's why I love Presonus, they add up only 1-2 ms), there's a transfer delay on USB bus. To get to real 10< ms, you need to use buffer size of 64 or even 32, depending on your hardware.lilith wrote:For me everything <= 10ms is ok.
Being creative does not imply being lazy, stupid, or illiterate.
Working in Harrison Mixbus and Ardour on KDE Neon + KXStudio.
Working in Harrison Mixbus and Ardour on KDE Neon + KXStudio.