<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <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 class="moz-cite-prefix">On 2022-11-28 13:16, Patrick Pouget
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:90cac18b8b8991b7586d2ee2abb20c393e09764c.camel@patrick.pouget.name">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div style="caret-color: rgb(0, 0, 0); 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; orphans: auto; text-align: start;
        text-indent: 0px; text-transform: none; white-space: normal;
        widows: auto; word-spacing: 0px; -webkit-tap-highlight-color:
        rgba(0, 0, 0, 0.4); -webkit-text-stroke-width: 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="caret-color: rgb(0, 0, 0); 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; orphans: auto; text-align: start;
        text-indent: 0px; text-transform: none; white-space: normal;
        widows: auto; word-spacing: 0px; -webkit-tap-highlight-color:
        rgba(0, 0, 0, 0.4); -webkit-text-stroke-width: 0px;
        text-decoration: none;"><br>
      </div>
      <div style="caret-color: rgb(0, 0, 0); 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; orphans: auto; text-align: start;
        text-indent: 0px; text-transform: none; white-space: normal;
        widows: auto; word-spacing: 0px; -webkit-tap-highlight-color:
        rgba(0, 0, 0, 0.4); -webkit-text-stroke-width: 0px;
        text-decoration: none;">I can see 2 causes</div>
      <div style="caret-color: rgb(0, 0, 0); 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; orphans: auto; text-align: start;
        text-indent: 0px; text-transform: none; white-space: normal;
        widows: auto; word-spacing: 0px; -webkit-tap-highlight-color:
        rgba(0, 0, 0, 0.4); -webkit-text-stroke-width: 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="caret-color: rgb(0, 0, 0); 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; orphans: auto; text-align: start;
        text-indent: 0px; text-transform: none; white-space: normal;
        widows: auto; word-spacing: 0px; -webkit-tap-highlight-color:
        rgba(0, 0, 0, 0.4); -webkit-text-stroke-width: 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 class="Apple-interchange-newline">
      <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!<svg aria-hidden="true"
              class="js-saves-btn-unselected svg-icon iconBookmarkAlt"
              width="18" height="18" viewBox="0 0 18 18"></svg> <a
              class="js-post-issue flex--item s-btn s-btn__unset
              c-pointer py6 mx-auto"
              href="https://sound.stackexchange.com/posts/51899/timeline"
              data-shortcut="T" data-ks-title="timeline"
              data-controller="s-tooltip"
              data-s-tooltip-placement="right" aria-label="Timeline"
              aria-describedby="--stacks-s-tooltip-803qw2ou"
              moz-do-not-send="true"><svg aria-hidden="true" class="mln2
                mr0 svg-icon iconHistory" width="19" height="18"
                viewBox="0 0 19 18"></svg></a></div>
          <div class="votecell post-layout--left">
            <div class="js-voting-container d-flex jc-center fd-column
              ai-stretch gs4 fc-black-200" data-post-id="51899"><br>
            </div>
          </div>
          <div class="s-prose js-post-body" itemprop="text">
            <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" moz-do-not-send="true">this
                tutorial:<br>
              </a></p>
            <p><a href="http://www.tedfelix.com/linux/linux-midi.html"
                rel="nofollow noreferrer" moz-do-not-send="true">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"
              moz-do-not-send="true" class="moz-txt-link-freetext">JackAudio@lists.linuxaudio.org</a><br>
          </div>
          <div><a href="https://lists.linuxaudio.org/listinfo/jackaudio"
              moz-do-not-send="true" class="moz-txt-link-freetext">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>
  </body>
</html>