brummer10 / XTuner

Tuner for Jack Audio Connection Kit
GNU General Public License v2.0
5 stars 2 forks source link

XTuner doesn't saves GUI state under NSM #5

Open Houston4444 opened 3 years ago

Houston4444 commented 3 years ago

XTuner doesn't saves GUI state under NSM. However I see the [visible] key in config file, but its value is always set to 0, even if GUI is displayed.

brummer10 commented 3 years ago

Ups, yes, the visible key wasn't implemented correct for use under NSM. It's fixed now, thanks for reporting the issue.

Houston4444 commented 3 years ago

ok brummer ! perfect, thanks !

Houston4444 commented 3 years ago

Hummm, finally it seems to not work here. config file saves the good visible value, but XTuner always starts hidden. Debugging RaySession, I do not see any /nsm/client/gui_is_shown or /nsm/client/gui_is_hidden message at client start. It would be nice to have it just when receiving the first reply from server.

brummer10 commented 3 years ago
raysession 
[ray-daemon]Registered with GUI
[ray-daemon]URL : osc.udp://192.168.2.104:16187/
[ray-daemon]      osc.udp://box:16187/
[ray-daemon]ROOT: /home/brummer/Ray Sessions
[ray-daemon]Attempting to open /home/brummer/Ray Sessions/test2
[ray-daemon]Commanding unneeded and dumb clients to quit
[ray-daemon]Commanding smart clients to switch
[ray-daemon]Process has pid: 582396
[ray-daemon]The client "JACK Connexions" at "osc.udp://127.0.0.1:15324/" informs us it's ready to receive commands.
[ray-daemon]patch sends clean
[ray-daemon]Process has pid: 582400
[ray-daemon]The client "Mamba" at "osc.udp://127.0.0.1:16827/" informs us it's ready to receive commands.

[Mamba-mamba]
NSM: Successfully registered. NSM says: Howdy, what took you so long?
[ray-daemon]Process has pid: 582403
[ray-daemon]The client "XTuner" at "osc.udp://127.0.0.1:18718/" informs us it's ready to receive commands.

[XTuner-xtuner]
NSM: Successfully registered. NSM says: Howdy, what took you so long?
[ray-daemon]Client 'xtuner' sends gui shown

[XTuner-xtuner]
Samplerate 48000Hz 
Buffersize is 128 samples 
jack running with realtime priority

[ray-daemon]Telling all clients that session is loaded...
[ray-daemon]Telling client JACK Connexions that session is loaded.
[ray-daemon]Telling client Mamba that session is loaded.
[ray-daemon]Telling client XTuner that session is loaded.
[ray-daemon]Loaded
[ray-daemon]Done

[Mamba-mamba]
Samplerate 48000Hz 
Buffersize is 128 samples 
jack running with realtime priority
fluidsynth: warning: SDL2 not initialized, SDL2 audio driver won't be usable

[ray-daemon]Client 'mamba' sends gui shown

That's what I get here.

brummer10 commented 3 years ago

Remember that you need to install it in order to get the new version run with NSM.