Metronome does not start on linux

Discussion in 'Bug Reports' started by thefunnyside, Jul 24, 2024.

  1. thefunnyside

    thefunnyside Member

    Hi,

    I did a fresh linux install of Tonelib GFX 4.8.1 where it has never been installed before.
    When I start the the metronome, it gets stuck at 1.

    Last time I used 4.8.1, it was an upgrade from a previous version and it was working fine.

    Regards,
     
    Enea likes this.
  2. thefunnyside

    thefunnyside Member

    Replying to myself: it is a Pipewire issue. I switched back to Pulseaudio+JACK and it works fine.
    I wanted to use Pipewire again, but it is still not ready.
     
  3. thefunnyside

    thefunnyside Member

    Hi,

    Can anybody using Tonelib-GFX with Pipewire 1.2.x please confirm the metronome does not start please?
     
  4. Tkabir

    Tkabir New Member


    when you say you switched back to Pulseaudio+Jack and it worked, how and where did you make that selection in tonelib?
     
  5. thefunnyside

    thefunnyside Member

    You don't have to change anything in tonelib if you were using pipewire-jack.
     
  6. Tkabir

    Tkabir New Member

    I've attached two screenshots. As you can see, in my audio settings Jack is already selected. I did not find anything that says pipewire-jack.

    The Rhythm player is turned on but it does not produce any beats.
     

    Attached Files:

  7. Tkabir

    Tkabir New Member

    I've also tried tinkering the settings a bit as per the screenshots, changed audio technology from Jack to ALSA and changed the input and output and wired the connection in the QjackCtl graph. But nothing seems to make the Rhythm or Metronome function work.
     

    Attached Files:

  8. thefunnyside

    thefunnyside Member

    Are you using Pipewire ? If you're using Pipewire, it won't work.
     
  9. Tkabir

    Tkabir New Member

    From the screenshots shared, can you tell me which option to select for input and output to make the Rhythm work?

    The first screenshot shows list of input and output with ALSA. There are too many option. Whichever I select for input/output, the Rhythm does not work.

    The second screenshot shows list of input and output with JACK. So far I have been using Jack, and my audio interface for the default input/output. Here Rhythm did not work either in the first place.

    You mentioned Pipewire, I am new to these terms and not sure what that means. Are you talking about the Jack Connection Kit with the graphs where we connect input and output? Like in the third screenshot.

    If that is what's causing the issue, how do I then setup Tonelib for the Rhythm feature to work?
     

    Attached Files:

    • 1.png
      1.png
      File size:
      102.2 KB
      Views:
      3
    • 2.png
      2.png
      File size:
      71.7 KB
      Views:
      2
    • 3.png
      3.png
      File size:
      155.5 KB
      Views:
      2
  10. thefunnyside

    thefunnyside Member

    As far as I can tell, I can see Pipewire in the list so I guess you have Pipewire installed.
    JACK is a low latency sound server that Pipewire can emulate, if you have the pipiewire-jack package installed on your system, which I guess is the case.
    Now the problem is that the Rhythm feature doesn't work with the current Pipewire Jack emulation. I asked Pipewire developers but they have no clue about the problem.

    The only solution is to install the real JACK server and to remove pipewire-jack, but if you're new to this, it's going to be a hassle.
     
  11. Tkabir

    Tkabir New Member


    Well that sucks, Pipewire seems to be the default audio server for ubuntu based distros now a days. So Tonelib developers have to fix this issue. I've emailed them several times but it seems their customer support seems almost non existent. Not a single response.
     
  12. thefunnyside

    thefunnyside Member

    It's a problem with the Jack emulation in Pipewire, because it works fine with the real JACK server. Linux distributions have forced the usage of Pipewire and now everyone is stuck with its bugs.

    I must confess I moved to Windows 10 because I was fed up with all of these linux problems instead of playing music.
    It's certainly not ideal either but at least it works out of the box now.
     
    Last edited: Jan 16, 2025 at 3:48 PM