• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Connection problem just with one library - Found the problem
#1
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
Reply
#2
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
Reply
#3
(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!
Reply
#4
You do have to tap the input and output ports, so it sounds like you are properly connected now.

Mike
Reply
#5
Hi Mike, 

It lost connection again earlier. I ended up having to tap the ports again. Let me monitor....
-Andy
Reply
#6
Hi Mike, 

Well I think this is the problem .... if not it is another one Smile

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
Reply
#7
I'll run some tests to see if I can reproduce that with my setup.

Mike
Reply
#8
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
Reply
#9
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
Reply
#10
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
Reply
#11
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
Reply
#12
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
Reply
#13
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
Reply




Users browsing this thread:
9 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2024 MyBB Group.