<div dir="auto">Could CPU throttling be the problem? I have to disable it when I use synths in JACK or else I get noise, dropouts and IIRC the occasional pop.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Nov 28, 2022, 4:20 AM Fabio G <<a href="mailto:fabio.forall@gmail.com">fabio.forall@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<font face="monospace">Thanks a lot for your reply, Patrick!<br>
I will keep experimenting with different combinations of format
settings.<br>
<br>
About this:<br>
</font><br>
<font face="monospace">
<blockquote type="cite">Do you have a "layer" between the drivers
(alsa oss etc...) </blockquote>
<br>
I am not sure of what you mean (I am not an expert :) ). <br>
Of course the computer has alsa, but as far as I understand all
the software involved (virtual keiboard, QSynth, JACK) are
connected directly, without intermediaries.<br>
Can you give me some tests to do, to determine whether there is a
layer in between or not?<br>
<br>
Again, thanks a lot!<br>
<br>
Fabio</font><br>
<br>
<div>On 2022-11-28 13:16, Patrick Pouget
wrote:<br>
</div>
<blockquote type="cite">
<div style="color:rgb(0,0,0);font-family:Cantarell;font-size:14.666667px;font-style:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">White noise is, in general, due to
format mismatch. I mean data types, sample rate, number of
channels etc...</div>
<div style="color:rgb(0,0,0);font-family:Cantarell;font-size:14.666667px;font-style:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><br>
</div>
<div style="color:rgb(0,0,0);font-family:Cantarell;font-size:14.666667px;font-style:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">I can see 2 causes</div>
<div style="color:rgb(0,0,0);font-family:Cantarell;font-size:14.666667px;font-style:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">* Jack should be queried for the format
by the application. If you have the problem with many, it is not
the case</div>
<div style="color:rgb(0,0,0);font-family:Cantarell;font-size:14.666667px;font-style:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">* jack relay on drivers that return
wrong informations or no information or a default information.
Do you have a "layer" between the drivers (alsa oss etc...) and
jack?</div>
<br>
<div><br>
</div>
<div>On Mon, 2022-11-28 at 09:14 +0100, Patrick Pouget wrote:</div>
<blockquote type="cite" style="margin:0 0 0 .8ex;border-left:2px #729fcf solid;padding-left:1ex">
<div>White noise is, in general, due to format mismatch. I mean
data types, sample rate, number of channels etc...</div>
<div><br>
</div>
<div>I can see 2 causes</div>
<div>* Jack should be queried for the format by the application.
If you have the problem with many, it is not the case</div>
<div>* jack relay on drivers that return wrong informations or
no information or a default information. Do you have a "layer"
between the drivers (alsa oss etc...) and jack?</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>On Mon, 2022-11-28 at 09:03 +0500, Fabio G wrote:</div>
<blockquote type="cite" style="margin:0 0 0 .8ex;border-left:2px #729fcf solid;padding-left:1ex">
<div> Hello to all!<u></u><u></u> <a href="https://sound.stackexchange.com/posts/51899/timeline" aria-label="Timeline" aria-describedby="--stacks-s-tooltip-803qw2ou" target="_blank" rel="noreferrer"><u></u><u></u></a></div>
<div>
<div><br>
</div>
</div>
<div>
<p>I am experimenting with audio production under Linux Mint
20.3 (based on Ubuntu 20.04). I managed to install a low
latency kernel, then I have installed JACK, and Qsynth,
following the steps described in <a href="http://www.tedfelix.com/linux/linux-midi.html" rel="nofollow noreferrer noreferrer" target="_blank">this
tutorial:<br>
</a></p>
<p><a href="http://www.tedfelix.com/linux/linux-midi.html" rel="nofollow noreferrer noreferrer" target="_blank">http://www.tedfelix.com/linux/linux-midi.html<br>
<br>
</a>Everything seems to work fine if I use Qsynth and
pulseaudio: I use the vmpk simple virtual keyboard, and I
have good output sound.</p>
<p>I have also tested JACK, as suggested in the tutorial
using</p>
<br>
<blockquote type="cite" style="margin:0 0 0 .8ex;border-left:2px #729fcf solid;padding-left:1ex">
<p>$ jack-play test.wav</p>
</blockquote>
<p>and I hear the right clean output.</p>
<p>However, when I tell Qsynth to use JACK, I have a lot of
noise. When I hit a key I have "white noise" for few
milliseconds instead of the key sound, and only when it
fades I have a little bit of the note that I was supposed
to play.</p>
<p>I have the same "white noise" problem is I use Rose
Garden.</p>
<p>I have tried to change the sample rate and the
frames/period settings, and also the Timeout, in JACK, but
the problem stays the same.</p>
<p><br>
</p>
<p>Thank you in advance for any help you can give.</p>
<p><br>
</p>
<p>Best,</p>
<p><br>
</p>
<p>Fabio<br>
</p>
</div>
<div>_______________________________________________<br>
</div>
<div>JackAudio mailing list<br>
</div>
<div><a href="mailto:JackAudio@lists.linuxaudio.org" target="_blank" rel="noreferrer">JackAudio@lists.linuxaudio.org</a><br>
</div>
<div><a href="https://lists.linuxaudio.org/listinfo/jackaudio" target="_blank" rel="noreferrer">https://lists.linuxaudio.org/listinfo/jackaudio</a><br>
</div>
</blockquote>
<div><br>
</div>
<div><span></span></div>
</blockquote>
<div><br>
</div>
<div><span></span></div>
</blockquote>
<br>
</div>
_______________________________________________<br>
JackAudio mailing list<br>
<a href="mailto:JackAudio@lists.linuxaudio.org" target="_blank" rel="noreferrer">JackAudio@lists.linuxaudio.org</a><br>
<a href="https://lists.linuxaudio.org/listinfo/jackaudio" rel="noreferrer noreferrer" target="_blank">https://lists.linuxaudio.org/listinfo/jackaudio</a><br>
</blockquote></div>