Android 10 : Midi devices not displayed

Found a bug? Post it here.
Post Reply
bidinou
Posts: 3
Joined: Mon Oct 18, 2021 6:22 pm

Android 10 : Midi devices not displayed

Post by bidinou »

Hi !

I'm really sorry as I'm pretty sure this question must have been answered somewhere but I really couldn't find it.

I'm using an Android device (an e-ink tablet by Onyx based on Android 10 with the full blown stack - Google Play etc). On this device, I use my Roland e-piano with a USB OTG cable and it does work in quite a few apps (for instance, Synthesia, Simply Piano, Clef).

Typically, when plugged and when a compatible app is running, a dialog appears and asks whether I want to connect my device.

It does not happen with SunVox. No device is displayed in the configuration wizard. I also tried by using the bluetooth mode to no avail.

Any idea ? It would be such a relief to use it with this device as it has an e-ink screen - this way less eyestrain !

Cheers & thanks to the author for this amazing piece of software !
User avatar
NightRadio
Site Admin
Posts: 3941
Joined: Fri Jan 23, 2004 12:28 am
Location: Ekaterinburg. Russia
Contact:

Re: Android 10 : Midi devices not displayed

Post by NightRadio »

Hi!
Please insert your MIDI device, then launch SunVox, then go to the Main Menu -> Preferences -> MIDI -> check the list of available devices here
Bluetooth mode is not yet supported, sorry.
If no devices in the list - please send me the log: Preferences -> Main -> Log
bidinou
Posts: 3
Joined: Mon Oct 18, 2021 6:22 pm

Re: Android 10 : Midi devices not displayed

Post by bidinou »

Hi ! Here's what I get in the log (indeed there is no device in the list)

Code: Select all

SunDog Engine / Dec 15 2020 20:16:12
WM: initializing...
Android version: 10.0.0
OpenGL version: OpenGL ES 3.2 V@415.0 (GIT@b7efb54, I285e059637, 1572524574) (Date:10/31/19). Renderer: Adreno (TM) 509.
WM: 1872 x 1404; PPI 350; lang fr_FR
WM: font_zoom = 2
WM: flags SCALABLE FULLSCREEN TOUCHCONTROL OPTIMIZE_MOVE_EVENTS 
WM: ready
device_sound_init() begin
SLES: 48000Hz 192; optimal: 48000Hz 192
SLES: exclusive cores:
SLES: slCreateEngine
SLES: Create Output Mix object
SLES: Create the music player
SLES: Setup to receive buffer queue event callbacks
SLES: Play
device_sound_init() end
device_midi_client_open error -1
sundog_midi_client_open() error -1Stack ptr: 0
device_midi_client_open error -1
sundog_midi_client_open() error -1SunVox v1.9.6c Dec 15 2020 20:16:13; driver: OpenSL ES; 32bit floating-point; sample rate: 48000; ARCH: arm64; OS: android linux
When using my USB OTG cable.
User avatar
NightRadio
Site Admin
Posts: 3941
Joined: Fri Jan 23, 2004 12:28 am
Location: Ekaterinburg. Russia
Contact:

Re: Android 10 : Midi devices not displayed

Post by NightRadio »

Thank you!
Looks like it's some kind of Android problem :( Perhaps I can fix it somehow in the new version.
Some other apps use their own code to work with USB MIDI devices.
But SunVox only uses the USB MIDI API provided by the system - and for some reason this functionality is not always available...
bidinou
Posts: 3
Joined: Mon Oct 18, 2021 6:22 pm

Re: Android 10 : Midi devices not displayed

Post by bidinou »

Hmm, yes it seems to be quite a common issue ; quite a few apps do work around it by implementing their own API... Thanks for your reply !
Post Reply