muse-sequencer / muse

MusE is a digital audio workstation with support for both Audio and MIDI
https://muse-sequencer.github.io/
Other
659 stars 70 forks source link

Routing doesn't work with sources/destinations contain utf-8 symbols #1119

Closed ChihHao-Su closed 1 year ago

ChihHao-Su commented 1 year ago

Target version MusE 4.1 Flatpak

Describe the bug

Expected behavior

Desktop (please complete the following information):

terminator356 commented 1 year ago

Hello. My initial tests: Screenshot_20230416_194039

The good news is that non-UTF8 characters seem to be working OK. Save and load are OK. I was worried that it might be broken.

(Hm, the lines are supposed to be different colours. Broken drawing?)

In the screenshot, I do not have any Jack Audio terminals with non-UTF8 characters like your screenshot. So I could only test renaming a couple of tracks to non-UTF8 characters. I must see if I can tell Jack to rename some ports to non-UTF8 characters so I can test that part. Maybe the Jack Meta system will help.

Therefore I must suspect that there might be a bug in our specific code section(s) that work with Jack port names, such that by the time the router displays the names in the 'Jack' source/destination sections, they are mangled. Because so far some of the other router source/destination types seem OK.

In the screenshot, even though I am in an en-US locale, I am temporarily using a French c locale and application locale for testing some other locale bugs. So this bug report comes at an interesting coincidental time.

ChihHao-Su commented 1 year ago

My system locale is zh_TW.UTF-8, shouldn't the broken jack port name (shown in my screenshot) be UTF-8?

On 2023/4/17 8:01, Tim wrote:

Hello. My initial tests: Screenshot_20230416_194039 https://user-images.githubusercontent.com/5422362/232349804-8dcf4840-7c51-4328-82ce-97633abd8851.png

The good news is that non-UTF8 characters seem to be working OK. Save and load are OK. I was worried that it might be broken.

(Hm, the lines are supposed to be different colours. Broken drawing?)

In the screenshot, I do not have any Jack Audio terminals with non-UTF8 characters like your screenshot. So I could only test renaming a couple of tracks to non-UTF8 characters. I must see if I can tell Jack to rename some ports to non-UTF8 characters so I can test that part. Maybe the Jack Meta system will help.

Therefore I must suspect that there might be a bug in our specific code section(s) that work with Jack port names, such that by the time the router displays the names in the 'Jack' source/destination sections, they are mangled. Because so far /some/ of the other router source/destination types seem OK.

In the screenshot, even though I am in an en-US locale, I am temporarily using a French c locale /and/ application locale for testing some other locale bugs. So this bug report comes at an interesting coincidental time.

— Reply to this email directly, view it on GitHub https://github.com/muse-sequencer/muse/issues/1119#issuecomment-1510526085, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFKCVURHCDGDLLX4AQBWWTDXBSB5LANCNFSM6AAAAAAXACI3SI. You are receiving this because you authored the thread.Message ID: @.***>

terminator356 commented 1 year ago

Sorry I was probably confusing terms. Wide characters is probably what I should have said. There is likely a bug with wide characters specifically in the router dialog's source/destination lists code. Clearly they are working in the lower connection list but not the upper lists.

terminator356 commented 1 year ago

I did a test. I added some wide characters to the upstream routes Jack audio port names. In other words, it is as if my audio device has Jack ports with wide character names, just like yours. I could not reproduce the problem, as shown: Screenshot_20230417_012647

Can you do some more checks for me? I need to know if other routing items are working for you. Please do what I did in my first screenshot: Create a Wave track and rename the track so it contains wide characters. (I use the KCharSelect character selection utility which lets me paste wide characters into text.) Maybe try creating a few more tracks just like that. Midi track, Group track etc.

Then, open the router and see what happens. Are all the wide character names of those tracks displaying properly?

Thanks.

ChihHao-Su commented 1 year ago

OK, I have created some track contain wide characters: 圖片 In the router, these tracks look fine. 圖片 The jack ports contain wide characters cannot display properly. 圖片

ChihHao-Su commented 1 year ago

I tried the latest AppImage release (4.1), the problem still exits.

ChihHao-Su commented 1 year ago

When I open the router, I found the console shows:

'o != NULL' failed at ../pipewire-jack/src/pipewire-jack.c:4695 jack_port_name()
'o != NULL' failed at ../pipewire-jack/src/pipewire-jack.c:5048 jack_port_get_aliases()
'o != NULL' failed at ../pipewire-jack/src/pipewire-jack.c:4695 jack_port_name()
'o != NULL' failed at ../pipewire-jack/src/pipewire-jack.c:5048 jack_port_get_aliases()
'o != NULL' failed at ../pipewire-jack/src/pipewire-jack.c:4695 jack_port_name()
'o != NULL' failed at ../pipewire-jack/src/pipewire-jack.c:5048 jack_port_get_aliases()
'o != NULL' failed at ../pipewire-jack/src/pipewire-jack.c:4695 jack_port_name()
'o != NULL' failed at ../pipewire-jack/src/pipewire-jack.c:5048 jack_port_get_aliases()
'o != NULL' failed at ../pipewire-jack/src/pipewire-jack.c:4695 jack_port_name()
'o != NULL' failed at ../pipewire-jack/src/pipewire-jack.c:5048 jack_port_get_aliases()
'o != NULL' failed at ../pipewire-jack/src/pipewire-jack.c:4695 jack_port_name()
'o != NULL' failed at ../pipewire-jack/src/pipewire-jack.c:5048 jack_port_get_aliases()

I don't know is that related to this issue.

terminator356 commented 1 year ago

Thanks very much for the tests. Hm, that pipewire output looks suspicious, especially since it happens when you open the router.

I looked very deep into the router source code yesterday. The missing connection lines are a big clue. These lines do not depend on the text being correct, they simply depend on the routes being there. Clearly the bottom list is able to show the routes do exist, but not the connection lines. This suggests invalid Jack ports, rather than incorrect text.

Are you able to build from github master source? If I push a few debugging output lines into the code base just for you, are you able to test? (This would be the next best thing to me being there - remote debugging! Apps like Team Viewer also come to mind.)

ChihHao-Su commented 1 year ago

Are you able to build from github master source?

Sure, I can try building form source after I get off my work.

If I push a few debugging output lines into the code base just for you, are you able to test?

I think yes, if I can compile MusE successfully. I think we can try this first. If things get complicated and you need to debug on my machine, I can allow you to remote control my PC for a period of time.

On 2023/4/18 0:12, Tim wrote:

Thanks very much for the tests. Hm, that pipewire output looks suspicious, especially since it happens when you open the router.

I looked very deep into the router source code yesterday. The missing connection lines are a big clue. These lines do not depend on the text being correct, they simply depend on the routes being there. Clearly the bottom list is able to show the routes do exist, but not the connection lines. This suggests invalid Jack ports, rather than incorrect text.

Are you able to build from github master source? If I push a few debugging output lines into the code base just for you, are you able to test? (This would be the next best thing to me being there - remote debugging! Apps like Team Viewer also come to mind.)

— Reply to this email directly, view it on GitHub https://github.com/muse-sequencer/muse/issues/1119#issuecomment-1511680188, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFKCVUQTUMMZIGN5RYMEOWTXBVTVNANCNFSM6AAAAAAXACI3SI. You are receiving this because you authored the thread.Message ID: @.***>

ChihHao-Su commented 1 year ago

Hi, I have built MusE from source (master branch) sucessfully.

於 2023年4月18日 上午12:12:06 [GMT+08:00],Tim @.***> 寫到:

Thanks very much for the tests. Hm, that pipewire output looks suspicious, especially since it happens when you open the router.

I looked very deep into the router source code yesterday. The missing connection lines are a big clue. These lines do not depend on the text being correct, they simply depend on the routes being there. Clearly the bottom list is able to show the routes do exist, but not the connection lines. This suggests invalid Jack ports, rather than incorrect text.

Are you able to build from github master source? If I push a few debugging output lines into the code base just for you, are you able to test? (This would be the next best thing to me being there - remote debugging! Apps like Team Viewer also come to mind.)

-- Reply to this email directly or view it on GitHub: https://github.com/muse-sequencer/muse/issues/1119#issuecomment-1511680188 You are receiving this because you authored the thread.

Message ID: @.***>

terminator356 commented 1 year ago

Thanks. I am just finishing some other work, I will push the tests later and inform when ready.

terminator356 commented 1 year ago

Hello @ChihHao-Su Sorry for the long delay.

I have reproduced the problem. And I have found the trouble. And I have just pushed a fix in github master.

Changed all QString::toLatin1()/tolocal8Bit() usages to QString::toUtf8() in the following files so far: jack.cpp, jackmidi.cpp, route.cpp. TODO: CHECK: Likely (many) more to do, EXCEPT some parts like xml, where we want SOME latin1 compatibility.

Try it and let me know if any more trouble. I expect there may be more troubles. We have many places still using QString::toLatin1() I am investigating...

Hope that helps with the issue so far. Good luck.

ChihHao-Su commented 1 year ago

Hi,

It seems that things get worse after pulling the master branch. When I startup muse4, I got:

➜  /opt muse4                                    
User instrument directory does not exist. Creating it.
Config File </home/chihhao-su/.config/MusE/MusE/MusE-seq.cfg>
no locale <muse_zh_TW>/</usr/local/share/muse-4.1/locale>
LOCALE zh_TW
Config File </usr/local/share/muse-4.1/themes/Dark Flat.cfc>
open projectfile: 沒有此一檔案或目錄
Denormal protection enabled.
Select audio device from configuration : 0
User JackAudio backend - backend selected through configuration
Using Jack
Initializing Native VST support. Using VESTIGE compatibility implementation.
WARNING: Cannot lock memory:: 無法配置記憶體
MusE: JackAudioDevice::realtimePriority: JACK is not running realtime
WARNING: Cannot lock memory:: 無法配置記憶體
jack connect <pw-MusE:jack-midi-0_out> - <Midi-Bridge:Midi Through:(playback_0) Midi Through Port-0> failed with err:22
jack connect <Midi-Bridge:Midi Through:(capture_0) Midi Through Port-0> - <pw-MusE:jack-midi-0_in> failed with err:22
jack connect <pw-MusE:jack-midi-1_out> - <Midi-Bridge:CASIO USB-MIDI 2:(playback_0) CASIO USB-MIDI MIDI 1> failed with err:22
jack connect <Midi-Bridge:CASIO USB-MIDI 2:(capture_0) CASIO USB-MIDI MIDI 1> - <pw-MusE:jack-midi-1_in> failed with err:22
starting with template /usr/local/share/muse-4.1/templates/default.med
jack connect <pw-MusE:Out 1-0> - <內部音效 類比立體聲:playback_FL> failed with err:22
jack connect <pw-MusE:Out 1-1> - <內部音效 類比立體聲:playback_FR> failed with err:22
jack connect <pw-MusE:jack-midi-0_out> - <Midi-Bridge:Midi Through:(playback_0) Midi Through Port-0> failed with err:22
jack connect <Midi-Bridge:Midi Through:(capture_0) Midi Through Port-0> - <pw-MusE:jack-midi-0_in> failed with err:22
jack connect <pw-MusE:jack-midi-1_out> - <Midi-Bridge:CASIO USB-MIDI 2:(playback_0) CASIO USB-MIDI MIDI 1> failed with err:22
jack connect <Midi-Bridge:CASIO USB-MIDI 2:(capture_0) CASIO USB-MIDI MIDI 1> - <pw-MusE:jack-midi-1_in> failed with err:22
MusE: JackAudioDevice::realtimePriority: JACK is not running realtime
WARNING: Cannot lock memory:: 無法配置記憶體

There's a lot of "jack connect \<xxxxx> - \<yyyyyy> failed with err:22" which are abnormal, others are just fine.

And, I cannot connect ANYTHING in muse to jack ports in muse4. For example, I have:

圖片

But the graph in qjackctl shows:

圖片

Now the only way to get output of muse form my device / get input in muse form my device is to connect them in qjackctl manually.

terminator356 commented 1 year ago

Hi @ChihHao-Su . I have been studying your posted results for a few days now. I am very puzzled about what's going on here.

I need to ask: Do you recall, about the text that was posted (the text with all the error 22), is this text the the actual output from the same session as the two pictures posted below the text? Or is the text from a different session than the one from the two pictures?

I am asking because there is something strange about the text vs. pictures. The text indicates PipeWire is altering MusE's Jack client name: It says "pw-MusE". (It is OK, it is allowed to do that). For example the "<pw-MusE:Out 1-0>" etc. But in the two pictures MusE's Jack client name is just "MusE". This could not be possible, I think. Please clarify.

About the textual jack connect errors:

We usually see error 17 (it is normal and means the connection already exists). But we do not usually see error 22. Error 22 means "invalid argument". This means one or more of the three arguments passed to Jack's jack_connect() function is invalid. They are: The client pointer, the source port name text, and the destination port name text. But from the textual error output everything seems OK. For example the source client is "pw-MusE" and the source name is "jack-midi-1_out", and the destination client is Midi-Bridge and the destination name is "CASIO USB-MIDI 2:(playback_0) CASIO USB-MIDI MIDI 1".

Both "jack-midi-1_out" and "CASIO USB-MIDI 2:(playback_0) CASIO USB-MIDI MIDI 1" do exist on your QJackCtl graph, in the second picture. However, our client name is just "MusE" in the second picture. It does not match the text.

So I am puzzled by this. Can you verify and maybe post some more pictures and console text? Please also use the -D command line option for more debugging output. Also if you could take a few pictures with MusE's router showing "Normal", "Alias1", and "Alias2", that would be good.

And last... what about the original issue, the utf8 characters? Is that working now?

Thanks for your help.

ChihHao-Su commented 1 year ago

Sorry for the super LONG delay due to something happened to my home town. After I came back, I did a full-system upgrade, I upgraded my system to Fedora 38, and it's pretty weird that the problem is gone, master branch works fine on my PC with UTF-8 jack devices, I can establish connections between tracks in muse and jack ports. I did nothing to my system configuration, hardware (include my midi devices). I think it might be some bug occurred by some packages were not up to date (mixing old and new packages) or just some problem in older version of Fedora.


I need to ask: Do you recall, about the text that was posted (the text with all the error 22), is this text the the actual output from the same session as the two pictures posted below the text? Or is the text from a different session than the one from the two pictures?

Yes, the text and the image below are from the same session. That also confused me cause I cannot find "pw-SomeThing" anywhere. I have no idea about why it appears.

Can you verify and maybe post some more pictures and console text? Please also use the -D command line option for more debugging output. Also if you could take a few pictures with MusE's router showing "Normal", "Alias1", and "Alias2", that would be good.

And last... what about the original issue, the utf8 characters? Is that working now?

Thanks for your help.

I'm sorry that I cannot verify anything now, 'cause I cannot reproduce the problem. This is the output now:

➜  muse4 -D
qt.qpa.qgnomeplatform.theme: The desktop style for QtQuick Controls 2 applications is not available on the system (qqc2-desktop-style). The application may look broken.
Config File </home/chihhao-su/.config/MusE/MusE/MusE-seq.cfg>
Qt system locale: zh_TW
Existing Qt locale: zh_TW
Existing std::locale: zh_TW.UTF-8
no locale <muse_zh_TW>/</usr/local/share/muse-4.1/locale>
New Qt locale: zh_TW
c locale decimal point: .
QtLibraryPath:
  </usr/lib64/qt5/plugins>
  </usr/local/bin>
loadTheme: Dark Flat
loadThemeColors: Dark Flat
Config File </usr/local/share/muse-4.1/themes/Dark Flat.cfc>
Muse: using unoptimized non-SSE dsp routines
3 soft synth found
Song::clear
TopWin::shareToolsAndMenu() called but has no effect
setRecord recordflag =0 f(record state)=0 autoRecEnable=1
Denormal protection enabled.
global lib:       </usr/local/lib/muse-4.1>
global share:     </usr/local/share/muse-4.1>
muse home:        </home/chihhao-su>
project dir:      <./>
user instruments: </home/chihhao-su/.config/MusE/MusE/instruments>
Select audio device from configuration : 0
User JackAudio backend - backend selected through configuration
initJackAudio(): registering error and info callbacks...
initJackAudio(): client MusE opened.
initJackAudio(): registering client...
Using Jack
JACK: sample rate changed: 48000
load user instrument definitions from </home/chihhao-su/.config/MusE/MusE/instruments>
load instrument definitions from </usr/local/share/muse-4.1/instruments>
READ IDF /usr/local/share/muse-4.1/instruments/Access_Virus.idf
READ IDF /usr/local/share/muse-4.1/instruments/Akai-SG01v.idf
READ IDF /usr/local/share/muse-4.1/instruments/Alesis-QS-78R.idf
READ IDF /usr/local/share/muse-4.1/instruments/AlesisQS6.idf
READ IDF /usr/local/share/muse-4.1/instruments/Classic_cantabile_sp-250.idf
READ IDF /usr/local/share/muse-4.1/instruments/Drumgizmo - CrocellKit.idf
READ IDF /usr/local/share/muse-4.1/instruments/Edirol-SD90.idf
READ IDF /usr/local/share/muse-4.1/instruments/Emu-4mbgsgmmt-sf.idf
READ IDF /usr/local/share/muse-4.1/instruments/emuproteus2000.idf
READ IDF /usr/local/share/muse-4.1/instruments/gm.idf
READ IDF /usr/local/share/muse-4.1/instruments/gm2.idf
READ IDF /usr/local/share/muse-4.1/instruments/gs.idf
READ IDF /usr/local/share/muse-4.1/instruments/Hammond_XB-1.idf
READ IDF /usr/local/share/muse-4.1/instruments/Korg Krome (Bank Map GM2).idf
READ IDF /usr/local/share/muse-4.1/instruments/Korg Krome (Bank Map KORG).idf
READ IDF /usr/local/share/muse-4.1/instruments/KORG microSTATION combinations.idf
READ IDF /usr/local/share/muse-4.1/instruments/KORG microSTATION.idf
READ IDF /usr/local/share/muse-4.1/instruments/Korg Wavestation EX.idf
READ IDF /usr/local/share/muse-4.1/instruments/Korg-MS2000R.idf
READ IDF /usr/local/share/muse-4.1/instruments/Korg-X50.idf
READ IDF /usr/local/share/muse-4.1/instruments/Korg-X5DR-PresetA.idf
READ IDF /usr/local/share/muse-4.1/instruments/Korg-X5DR-PresetB.idf
READ IDF /usr/local/share/muse-4.1/instruments/Kurzweil-SP2X.idf
READ IDF /usr/local/share/muse-4.1/instruments/Lexicon-MX200.idf
READ IDF /usr/local/share/muse-4.1/instruments/MC303.idf
READ IDF /usr/local/share/muse-4.1/instruments/MC505.idf
READ IDF /usr/local/share/muse-4.1/instruments/ns5r.idf
READ IDF /usr/local/share/muse-4.1/instruments/Roland SD-50.idf
READ IDF /usr/local/share/muse-4.1/instruments/Roland-E28.idf
READ IDF /usr/local/share/muse-4.1/instruments/Roland-JV90.idf
READ IDF /usr/local/share/muse-4.1/instruments/Roland-MT32.idf
READ IDF /usr/local/share/muse-4.1/instruments/Roland-SC55mkII.idf
READ IDF /usr/local/share/muse-4.1/instruments/Roland-SC88.idf
READ IDF /usr/local/share/muse-4.1/instruments/Roland-SCD70.idf
READ IDF /usr/local/share/muse-4.1/instruments/Roland-XP30.idf
READ IDF /usr/local/share/muse-4.1/instruments/Roland_FantomXR.idf
READ IDF /usr/local/share/muse-4.1/instruments/Roland_SC-88Pro.idf
READ IDF /usr/local/share/muse-4.1/instruments/Roland_SRX-02.idf
READ IDF /usr/local/share/muse-4.1/instruments/Roland_SRX-09.idf
READ IDF /usr/local/share/muse-4.1/instruments/Waldorf-microQ-Factory2000.idf
READ IDF /usr/local/share/muse-4.1/instruments/Waldorf-microQ-Factory2001.idf
READ IDF /usr/local/share/muse-4.1/instruments/Waldorf-microQ-Phoenix.idf
READ IDF /usr/local/share/muse-4.1/instruments/Waldorf-microQ.idf
READ IDF /usr/local/share/muse-4.1/instruments/Waldorf-Q.idf
READ IDF /usr/local/share/muse-4.1/instruments/Waldorf_Microwave-I.idf
READ IDF /usr/local/share/muse-4.1/instruments/xg.idf
READ IDF /usr/local/share/muse-4.1/instruments/yam_mo6_v4.idf
READ IDF /usr/local/share/muse-4.1/instruments/Yamaha-01v.idf
READ IDF /usr/local/share/muse-4.1/instruments/Yamaha-9000pro.idf
READ IDF /usr/local/share/muse-4.1/instruments/Yamaha-CS1x.idf
READ IDF /usr/local/share/muse-4.1/instruments/Yamaha-Motif XS.idf
READ IDF /usr/local/share/muse-4.1/instruments/Yamaha-Motif-Rack.idf
READ IDF /usr/local/share/muse-4.1/instruments/Yamaha-Motif.idf
READ IDF /usr/local/share/muse-4.1/instruments/Yamaha-MX49_MX61.idf
READ IDF /usr/local/share/muse-4.1/instruments/Yamaha-P100.idf
READ IDF /usr/local/share/muse-4.1/instruments/Yamaha-P50m.idf
READ IDF /usr/local/share/muse-4.1/instruments/Yamaha-PSR275.idf
READ IDF /usr/local/share/muse-4.1/instruments/Yamaha-PSR530.idf
READ IDF /usr/local/share/muse-4.1/instruments/Yamaha-Rex50.idf
READ IDF /usr/local/share/muse-4.1/instruments/Yamaha-S30_S80.idf
READ IDF /usr/local/share/muse-4.1/instruments/Yamaha-S90.idf
READ IDF /usr/local/share/muse-4.1/instruments/ZynAdd-1_4.idf
Plugins: loadPluginLib:  plugin:/usr/local/lib/muse-4.1/plugins/doublechorus.so type:ladspa class:effect name:DoubleChorus label:doublechorus1 required features:0
Plugins: loadPluginLib:  plugin:/usr/local/lib/muse-4.1/plugins/freeverb.so type:ladspa class:effect name:Freeverb label:freeverb1 required features:0
Plugins: loadPluginLib:  plugin:/usr/local/lib/muse-4.1/plugins/pandelay.so type:ladspa class:effect name:PanDelay label:pandelay required features:0
Plugins: loadPluginLib:  plugin:/usr/lib64/ladspa/amp.so type:ladspa class:effect name:Mono Amplifier label:amp_mono required features:0
Plugins: loadPluginLib:  plugin:/usr/lib64/ladspa/amp.so type:ladspa class:effect name:Stereo Amplifier label:amp_stereo required features:0
Plugins: loadPluginLib:  plugin:/usr/lib64/ladspa/delay.so type:ladspa class:effect name:Simple Delay Line label:delay_5s required features:0
Plugins: loadPluginLib:  plugin:/usr/lib64/ladspa/filter.so type:ladspa class:effect name:Simple Low Pass Filter label:lpf required features:0
Plugins: loadPluginLib:  plugin:/usr/lib64/ladspa/filter.so type:ladspa class:effect name:Simple High Pass Filter label:hpf required features:0
Plugins: loadPluginLib:  plugin:/usr/lib64/ladspa/filters.so type:ladspa class:effect name:4-band parametric filter label:Parametric1 required features:0
Plugins: loadPluginLib:  plugin:/usr/lib64/ladspa/ladspa-rubberband.so type:ladspa class:effect name:Rubber Band Mono Pitch Shifter label:rubberband-pitchshifter-mono required features:0
Plugins: loadPluginLib:  plugin:/usr/lib64/ladspa/ladspa-rubberband.so type:ladspa class:effect name:Rubber Band Stereo Pitch Shifter label:rubberband-pitchshifter-stereo required features:0
Plugins: loadPluginLib:  plugin:/usr/lib64/ladspa/ladspa-rubberband.so type:ladspa class:effect name:Rubber Band R3 Mono Pitch Shifter label:rubberband-r3-pitchshifter-mono required features:0
Plugins: loadPluginLib:  plugin:/usr/lib64/ladspa/ladspa-rubberband.so type:ladspa class:effect name:Rubber Band R3 Stereo Pitch Shifter label:rubberband-r3-pitchshifter-stereo required features:0
Plugins: loadPluginLib:  plugin:/usr/lib64/ladspa/noise.so type:ladspa class:effect name:White Noise Source label:noise_white required features:4
Plugins: loadPluginLib:  plugin:/usr/lib64/ladspa/sine.so type:ladspa class:effect name:Sine Oscillator (Freq:audio, Amp:audio) label:sine_faaa required features:4
Plugins: loadPluginLib:  plugin:/usr/lib64/ladspa/sine.so type:ladspa class:effect name:Sine Oscillator (Freq:audio, Amp:control) label:sine_faac required features:0
Plugins: loadPluginLib:  plugin:/usr/lib64/ladspa/sine.so type:ladspa class:effect name:Sine Oscillator (Freq:control, Amp:audio) label:sine_fcaa required features:0
Plugins: loadPluginLib:  plugin:/usr/lib64/ladspa/sine.so type:ladspa class:effect name:Sine Oscillator (Freq:control, Amp:control) label:sine_fcac required features:4
Initializing Native VST support. Using VESTIGE compatibility implementation.
scanVstNativeLib: adding vst synth plugin:/usr/lib64/lxvst/helm.so name:helm effectName:Helm vendorString:Matt Tytel productString:Helm vstver:2400
LV2: MusE supports these features:
    http://lv2plug.in/ns/ext/urid#map
    http://lv2plug.in/ns/ext/urid#unmap
    http://lv2plug.in/ns/ext/buf-size#boundedBlockLength
    http://lv2plug.in/ns/ext/buf-size#fixedBlockLength
    http://lv2plug.in/ns/ext/buf-size#powerOf2BlockLength
    http://lv2plug.in/ns/ext/buf-size#coarseBlockLength
    http://lv2plug.in/ns/extensions/ui#parent
    http://lv2plug.in/ns/ext/instance-access
    http://kxstudio.sf.net/ns/lv2ext/external-ui#Host
    http://lv2plug.in/ns/extensions/ui#external
    http://lv2plug.in/ns/ext/worker#schedule
    http://lv2plug.in/ns/extensions/ui#idleInterface
    http://lv2plug.in/ns/ext/options#options
    http://lv2plug.in/ns/extensions/ui#resize
    http://lv2plug.in/ns/extensions/ui#requestValue
    http://lv2plug.in/ns/ext/port-props#supportsStrictBounds
    http://kxstudio.sf.net/ns/lv2ext/programs#Host
    http://ardour.org/lv2/midnam#update
    http://lv2plug.in/ns/ext/log#log
    http://lv2plug.in/ns/ext/state#mapPath
    http://lv2plug.in/ns/ext/state#StateChanged
    http://lv2plug.in/ns/ext/state#loadDefaultState
    http://lv2plug.in/ns/ext/data-access
initLV2:  plugin:/usr/lib64/lv2/rubberband.lv2/lv2-rubberband.so type:lv2 class:effect name:Rubber Band Mono Pitch Shifter LV2 label:Rubber Band Mono Pitch Shifter LV2 required features:0
initLV2:  plugin:/usr/lib64/lv2/rubberband.lv2/lv2-rubberband.so type:lv2 class:effect name:Rubber Band R3 Mono Pitch Shifter LV2 label:Rubber Band R3 Mono Pitch Shifter LV2 required features:0
initLV2:  plugin:/usr/lib64/lv2/rubberband.lv2/lv2-rubberband.so type:lv2 class:effect name:Rubber Band R3 Stereo Pitch Shifter LV2 label:Rubber Band R3 Stereo Pitch Shifter LV2 required features:0
initLV2:  plugin:/usr/lib64/lv2/rubberband.lv2/lv2-rubberband.so type:lv2 class:effect name:Rubber Band Stereo Pitch Shifter LV2 label:Rubber Band Stereo Pitch Shifter LV2 required features:0
Load metronome presets from </usr/local/share/muse-4.1/metronome>
READ MDF /usr/local/share/muse-4.1/metronome/factory_presets.mdf
WARNING: Cannot lock memory:: 無法配置記憶體
WARNING: Cannot lock memory:: 無法配置記憶體
Thread <Prefetch, id 0x7f16d5fff6c0> has SCHED_OTHER priority 0
Audio::seek already at frame:0
MusE: STARTING Heartbeat timer
JACK: registration_callback
JACK: port connections changed: A:458 B:37 isConnect:1
graph_callback()
JACK: registration_callback
JACK: port connections changed: A:39 B:460 isConnect:1
graph_callback()
JACK: registration_callback
JACK: port connections changed: A:462 B:310 isConnect:1
graph_callback()
JACK: registration_callback
JACK: port connections changed: A:311 B:464 isConnect:1
graph_callback()
starting with template /usr/local/share/muse-4.1/templates/default.med
MusE: STOPPING Heartbeat timer
jack calling when audio is disconnected!

jack calling when audio is disconnected!

jack calling when audio is disconnected!

jack calling when audio is disconnected!

jack calling when audio is disconnected!

jack calling when audio is disconnected!

jack calling when audio is disconnected!

jack calling when audio is disconnected!

jack calling when audio is disconnected!

jack calling when audio is disconnected!

jack calling when audio is disconnected!

jack calling when audio is disconnected!

jack calling when audio is disconnected!

jack calling when audio is disconnected!

Song::clear
jack calling when audio is disconnected!

setRecord recordflag =0 f(record state)=0 autoRecEnable=1
jack calling when audio is disconnected!

jack calling when audio is disconnected!

jack calling when audio is disconnected!

jack calling when audio is disconnected!

jack calling when audio is disconnected!

setRecord recordflag =0 f(record state)=0 autoRecEnable=1
JACK: registration_callback
JACK: registration_callback
jack calling when audio is disconnected!

jack calling when audio is disconnected!

setRecord recordflag =0 f(record state)=0 autoRecEnable=1
setRecord recordflag =0 f(record state)=0 autoRecEnable=1
jack calling when audio is disconnected!

jack calling when audio is disconnected!

jack calling when audio is disconnected!

jack calling when audio is disconnected!

jack calling when audio is disconnected!

jack calling when audio is disconnected!

WARNING: Cannot lock memory:: 無法配置記憶體
Thread <Prefetch, id 0x7f16d5fff6c0> has SCHED_OTHER priority 0
jack calling when audio is disconnected!

jack calling when audio is disconnected!

jack calling when audio is disconnected!

jack calling when audio is disconnected!

jack calling when audio is disconnected!

jack calling when audio is disconnected!

jack calling when audio is disconnected!

jack calling when audio is disconnected!

jack calling when audio is disconnected!

jack calling when audio is disconnected!

jack calling when audio is disconnected!

jack calling when audio is disconnected!

jack calling when audio is disconnected!

jack calling when audio is disconnected!

jack calling when audio is disconnected!

jack calling when audio is disconnected!

jack calling when audio is disconnected!

jack calling when audio is disconnected!

jack calling when audio is disconnected!

jack calling when audio is disconnected!

jack calling when audio is disconnected!

jack calling when audio is disconnected!

jack calling when audio is disconnected!

jack calling when audio is disconnected!

jack calling when audio is disconnected!

jack calling when audio is disconnected!

jack calling when audio is disconnected!

jack calling when audio is disconnected!

jack calling when audio is disconnected!

jack calling when audio is disconnected!

jack calling when audio is disconnected!

jack calling when audio is disconnected!

jack calling when audio is disconnected!

jack calling when audio is disconnected!

jack calling when audio is disconnected!

jack calling when audio is disconnected!

jack calling when audio is disconnected!

jack calling when audio is disconnected!

jack calling when audio is disconnected!

jack calling when audio is disconnected!

jack calling when audio is disconnected!

jack calling when audio is disconnected!

jack calling when audio is disconnected!

jack calling when audio is disconnected!

jack calling when audio is disconnected!

jack calling when audio is disconnected!

jack calling when audio is disconnected!

JACK: port connections changed: A:466 B:49 isConnect:1
graph_callback()
JACK: port connections changed: A:467 B:51 isConnect:1
graph_callback()
jack connect <MusE:jack-midi-0_out> - <Midi-Bridge:Midi Through:(playback_0) Midi Through Port-0> failed with err:17
Audio::seek already at frame:0
jack connect <Midi-Bridge:Midi Through:(capture_0) Midi Through Port-0> - <MusE:jack-midi-0_in> failed with err:17
jack connect <MusE:jack-midi-1_out> - <Midi-Bridge:CASIO USB-MIDI 2:(playback_0) CASIO USB-MIDI MIDI 1> failed with err:17
jack connect <Midi-Bridge:CASIO USB-MIDI 2:(capture_0) CASIO USB-MIDI MIDI 1> - <MusE:jack-midi-1_in> failed with err:17
MusE: STARTING Heartbeat timer

Anyway, the issue about routing of jack ports contain UTF-8 characters is gone. I must thank you for your help and patience.

image

Thank you very much.

terminator356 commented 1 year ago

Thank you. I hope it works well for you. Let us know if any more trouble.