Posts: 55
Threads: 13
Joined: Jun 2024
Reputation:
0
12-06-2024, 02:27 AM
(This post was last modified: 12-14-2024, 04:11 AM by AndyT.)
Hello Mike et al,
I have 2 libraries - Default and Christmas. Both libraries have been working for months now both ways (Android <--> Genos 2).
Sudden change:
Christmas library only works 1 way, from Android to Genos, pull up a sheet sets the Genos up. Pull up a registration does nothing.
Importantly I can't set up any midi/smart button links as this library does not receive any commands from the Genos.
Default library still works both ways, so this seems to be a library thing relating to Christmas (which only has about 50 sheets in it)
i.e. not the USB cable or Genos setup.
All registrations files are stored in the same directory
I checked settings across both and they seem to be the same (so maybe shared?) Restarted Android and Genos.
What can I check/debug please?
- Andy
USB Cable, Midi Send Ch 1, Midi Rec Ch 1 Allow multiple midi channels is ticked, Midi Device Genos etc, Midi Library Default, Connection Type USB, No midi actions set up
Posts: 13,507
Threads: 302
Joined: Apr 2012
Reputation:
240
There are no separate application settings specified per library. So I'd like you to try the following test:
1) Switch to the Christmas library, then close MobileSheets completely
2) Start MobileSheets up. After the connection is established, tap "New" on the Songs tab, go to the MIDI tab, tap the MIDI listen dialog and press a key on the Genos keyboard
3) Please let me know what commands show up, if any
You said you are not receiving commands, so I just want to verify this. Also, is there a reason you are using the default MIDI library instead of the Google MIDI library? I often find that the Google MIDI library works better on newer Android devices. So you can try that out if you are needing to stick with the default MIDI library for some reason.
Mike
Posts: 55
Threads: 13
Joined: Jun 2024
Reputation:
0
(12-06-2024, 09:50 AM)Zubersoft Wrote: There are no separate application settings specified per library. So I'd like you to try the following test:
1) Switch to the Christmas library, then close MobileSheets completely
2) Start MobileSheets up. After the connection is established, tap "New" on the Songs tab, go to the MIDI tab, tap the MIDI listen dialog and press a key on the Genos keyboard
3) Please let me know what commands show up, if any
You said you are not receiving commands, so I just want to verify this. Also, is there a reason you are using the default MIDI library instead of the Google MIDI library? I often find that the Google MIDI library works better on newer Android devices. So you can try that out if you are needing to stick with the default MIDI library for some reason.
Mike
Hi Mike,
Thanks for the quick reply. Something strange happening here as this has been working fine for months. I ran through the tests and there was nothing in the MIDI listen dialog - there was a failure message. I switched to Google MIDI. I wasn't connected at the time and the screen didn't look much different to the USB. Then I went back to this screen for some reason after I connected and found that I had to click on each of the input and output ports. Once I had done that it seems to be okay at the moment. Fingers crossed!
Posts: 13,507
Threads: 302
Joined: Apr 2012
Reputation:
240
You do have to tap the input and output ports, so it sounds like you are properly connected now.
Mike
Posts: 55
Threads: 13
Joined: Jun 2024
Reputation:
0
Hi Mike,
It lost connection again earlier. I ended up having to tap the ports again. Let me monitor....
-Andy
Posts: 55
Threads: 13
Joined: Jun 2024
Reputation:
0
Hi Mike,
Well I think this is the problem .... if not it is another one
Steps to reproduce.
Plug into Genos 2 and set the following:
Midi: Device Genos etc. Library Google Connection USB
Midi Input Ports
Yamaha Corporation Digital Keyboard[0] (Connected)
Yamaha Corporation Digital Keyboard[1] (Connected)
Midi Output Ports
Yamaha Corporation Digital Keyboard[0] (Connected)
Yamaha Corporation Digital Keyboard[1] (Connected)
All works correctly
Unplug from Genos and plug into Windows PC (so I an copy a PDF to swap over)
Copy the file from the PC to a directory on the SSD
Plug back into the Genos
Not working
To fix the problem
Go back into midi settings
The Midi input and output ports still say the same (connected as above)
Tap each of the midi connections to disconnect and then tap again to reconnect
Then it works again
Cause (maybe)
When I was using the "Default" library and I plugged in to the Genos it used to ask for permission to connect (or something like that) every time! I think it must have reset the midi connections when you said OK
With the Google library, it doesn't ask and I think that something needs to happen to reset the connections when you plug it into the Genos again.
Hope this helps
- Andy
Posts: 13,507
Threads: 302
Joined: Apr 2012
Reputation:
240
I'll run some tests to see if I can reproduce that with my setup.
Mike
Posts: 55
Threads: 13
Joined: Jun 2024
Reputation:
0
Hi Mike
I am not sure that this could have happened every time, and I was trying to think why. I was using dropbox a lot up to a couple of weeks ago and I think that might be why this just recently started.
- Andy
Posts: 55
Threads: 13
Joined: Jun 2024
Reputation:
0
12-17-2024, 08:57 AM
(This post was last modified: 12-17-2024, 09:02 AM by AndyT.)
Hi Mike,
I went back to using dropbox and have the Samsung S9+ plugged in via USB all the time. I switched to the Google library as you suggested, but I am still getting drops. When I edit a score and click midi - I often get connection failure. I have to go back and toggle the midi connections again to fix the problem. Then it is okay again for a while. I wonder if this has been the issue all along.
- Andy
Posts: 13,507
Threads: 302
Joined: Apr 2012
Reputation:
240
12-17-2024, 10:48 AM
(This post was last modified: 12-17-2024, 10:55 AM by Zubersoft.)
For you to be having drops like that over USB doesn't make any sense. MobileSheets also would reconnect to any MIDI device if it was a standard disconnect/reconnect, which you can usually verify by just unplugging the USB cable and plugging it back in (I can do this, then go back to communicating with my Yamaha SX600 without having to do anything else). I just tested this with my S8 Ultra, and I can unplug it, plug it back in and link and it all works even after doing it 6 times in a row. The S9+ is nearly identical to the S8 Ultra, so I have no idea why you would be seeing drops. Are you using a USB-B to USB-C cable or an adapter?
Due to the fact that I'm jumping from bug report to bug report and feature request to feature request, I don't have bandwidth to spend hours testing to try to reproduce issues. So let me ask this - for how long would I need to be testing before I would see this issue occur? What actions do I need to be taking other than just linking to registrations? Do I have to switch the keyboard over to another Windows device like you described? Or is it sufficient to test just on the Android device? No other users seem to be reporting this, so I don't think it's a widespread issue, otherwise I would be hearing about it a lot.
Thanks,
Mike
Posts: 939
Threads: 84
Joined: Feb 2017
Reputation:
28
Have you tried a different USB cable?
I suspect the answer to this question is probably yes but, is the USB cable 5 metres or less? (5m is a USB limitation - although some people stretch it to 7m and even longer with an extender)
Geoff
Samsung Galaxy Tab A6
Posts: 55
Threads: 13
Joined: Jun 2024
Reputation:
0
Hi Geoff,
Thanks for the suggestion. I hadn't thought about that. I have 3M and it is quite a "posh" cable. but I changed it for a while to see what happens.
Hi Mike,
I need more time to figure out the exact problem, even if it just happens for me and nobody else! Please put this on hold until I can figure out what is happening and provide a more detailed and precise bug report with causation.
There are some great (but complex) debug tools for network like wireshark. Please let me know of any monitoring tools for Android, that don't want sole control of the port I don't mind steep learning curves.
- Andy
Posts: 13,507
Threads: 302
Joined: Apr 2012
Reputation:
240
Unfortunately, I have not used any monitoring tools for Android, so I'm not sure what's available. I can try to do a little research though.
Mike
|