Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use with Jack? #70

Open
nicolalandro opened this issue Feb 25, 2022 · 20 comments
Open

How to use with Jack? #70

nicolalandro opened this issue Feb 25, 2022 · 20 comments
Labels
Bug Compatibility MIDI Driver or Audio interface incompatibility

Comments

@nicolalandro
Copy link

I correctly compile it on my opensuse Tumbleweed, but I'm seeing Alsa or PlusAudio I cannot chouse Jack, what can I do to use Ensembles with Jack?

@SubhadeepJasu
Copy link
Member

If you have compiled it from source and you have jackd installed, then it should show up. Can you run it from the terminal and tell me what shows up. There's most likely a bug.

@nicolalandro
Copy link
Author

Yes I compiled It from source, and I have jackd, I use Jack abituali with LMMS and Reaper.

If I run by command line I see the following

suil error: Failed to open module /usr/lib64/suil-0/libsuil_x11.so (/usr/lib64/suil-0/libsuil_x11.so: cannot open shared object file: No such file or directory)
Alsa detected!
PulseAudio detected!
no message buffer overruns
no message buffer overruns
no message buffer overruns

Usage: jackdmp [ --no-realtime OR -r ]
               [ --realtime OR -R [ --realtime-priority OR -P priority ] ]
      (the two previous arguments are mutually exclusive. The default is --realtime)
               [ --name OR -n server-name ]
               [ --timeout OR -t client-timeout-in-msecs ]
               [ --loopback OR -L loopback-port-number ]
               [ --port-max OR -p maximum-number-of-ports]
               [ --slave-backend OR -X slave-backend-name ]
               [ --internal-client OR -I internal-client-name ]
               [ --internal-session-file OR -C internal-session-file ]
               [ --verbose OR -v ]
               [ --clocksource OR -c [ h(pet) | s(ystem) ]
               [ --autoconnect OR -a <modechar>]
                 where <modechar> is one of:
                   ' ' - Don't restrict self connect requests (default)
                   'E' - Fail self connect requests to external ports only
                   'e' - Ignore self connect requests to external ports only
                   'A' - Fail all self connect requests
                   'a' - Ignore all self connect requests
               [ --replace-registry ]
               [ --silent OR -s ]
               [ --sync OR -S ]
               [ --temporary OR -T ]
               [ --version OR -V ]
         -d master-backend-name [ ... master-backend args ... ]
       jackdmp -d master-backend-name --help
             to display options for each master backend

fluidsynth: Using PulseAudio driver
Connecting
Connected

** (com.github.subhadeepjasu.ensembles:2543): WARNING **: 14:32:44.532: MediaKeyListener.vala:42: Could not grab media player keys: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SettingsDaemon was not provided by any .service files
fluidsynth: Using PulseAudio driver
ts: 4
ts: 4
ts: 8
ts: 4
Voice: 0, Channel: 17
Voice: 49, Channel: 18
Voice: 33, Channel: 19
chan...to /usr/share/com.github.subhadeepjasu.ensembles/StyleFiles/Ball_Room@French_Waltz.enstl
changing...to /usr/share/com.github.subhadeepjasu.ensembles/StyleFiles/Ball_Room@French_Waltz.enstl
Making player
e:
f:
90 >>>>
g:
h
ts: 4

@nicolalandro
Copy link
Author

nicolalandro commented Feb 25, 2022

I just solved the sutil error by sudo zypper in suil-plugin-x11 but jack is not detected.

@SubhadeepJasu
Copy link
Member

I'll have to figure out a better way to detect jack.

@SubhadeepJasu SubhadeepJasu added Bug Compatibility MIDI Driver or Audio interface incompatibility labels Feb 25, 2022
@nicolalandro
Copy link
Author

Ok, If you add there also the wip branch I can beta test It if you need.

Thank you!

@SubhadeepJasu
Copy link
Member

Sure. I am gonna do it now.

@SubhadeepJasu
Copy link
Member

@nicolalandro Can you tell me what the output of jackdmp -V is?

@nicolalandro
Copy link
Author

I have jackd but not jackdmp, maybe is that the problem? I'm searching how to install it

@SubhadeepJasu
Copy link
Member

SubhadeepJasu commented Feb 25, 2022

Your output mentions jackdmp 😕, which mean may be you have jackdmp installed. Currently the app only detects jackd. But if jackdmp works for you, we can check if the app can work with that too.

@nicolalandro
Copy link
Author

but if I run jackdmp -V I reached "command not found", I'm wandering about that on the web for OpenSuse But I do not find nothing about

@SubhadeepJasu
Copy link
Member

@nicolalandro Can you pull from the style_debugging branch and see if it works now?

@nicolalandro
Copy link
Author

as before, but now after closing I also have a GTK error:

(com.github.subhadeepjasu.ensembles:16688): Gtk-CRITICAL **: 16:04:06.548: gtk_main_quit: assertion 'main_loops != NULL' failed

Jack is not detected. I do not find any package that have jackdmp, how can I install it?

@SubhadeepJasu
Copy link
Member

SubhadeepJasu commented Feb 25, 2022

Final approach. Remove detection of Jack and enable it by default for native builds.

(Ignore that gtk warning, it's all going to change when I move to gtk4 anyway)

@SubhadeepJasu
Copy link
Member

SubhadeepJasu commented Feb 25, 2022

Check now. Jack should be shown by default now.

Enable jack, exit app. Start Jack server, and then launch app again.

@nicolalandro
Copy link
Author

It is normal that I do not see it on Jack? I will try to get a more deep test tomorrow, Thank you! I will let you Know!
immagine

@SubhadeepJasu
Copy link
Member

SubhadeepJasu commented Feb 25, 2022

Its normal if you just changed it. Usually you will have to restart the app while jack server is running. The changes are applied when the app starts up next time.

@SubhadeepJasu
Copy link
Member

Screenshot from 2022-02-26 10-36-51

It connects on mine 😕

@nicolalandro
Copy link
Author

For now it do not works with jack, but maybe it will works with jack-example-tools? Maybe quickly it will arrive on opensuse and I will test it.

@luzpaz
Copy link

luzpaz commented Oct 17, 2023

Any update?

@SubhadeepJasu
Copy link
Member

SubhadeepJasu commented Oct 18, 2023

Jack works with a native build in my case. I am working on a beta version of Ensembles (basically restarted). I'll soon make test releases available. This jack issue is a head scratcher. I'll add some more debug options to see what's going on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Compatibility MIDI Driver or Audio interface incompatibility
Projects
None yet
Development

No branches or pull requests

3 participants