laamaa / m8c

Cross-platform M8 tracker headless client
Other
380 stars 81 forks source link

Termux and/or Android support #71

Closed xyproto closed 2 years ago

xyproto commented 2 years ago

Thanks for creating m8c! It's an amazing experience to try it out together with a Teensy 4.1 on Linux, and a great way to check out the Dirtywave M8 and "try before you buy".

I tried packaging m8c for Termux, but apparently packaging libserialport was not straightforward: https://github.com/termux/termux-packages/pull/9315

I also tried packaging m8c as an SDL2 application, for Android (as an .apk file), but including SDL2 in the various available Android build systems was more of a hassle than I had anticipated.

This is a feature request for somehow, either through Termux or as an Android application, support m8c on Android.

laamaa commented 2 years ago

Hi,

Thanks for checking out the program. As it would require significant changes to the current visual layout and input system + an integrated audio router to have a somewhat useful mobile app, it is probably easier to write a new app from scratch using native Android things than port the application directly - the protocol is quite simple. derkyjadex's Webdisplay should work already on many devices, too.

On Sun 29. May 2022 at 15.13, Alexander F. Rødseth @.***> wrote:

Thanks for creating m8c! It's an amazing experience to try it out together with a Teensy 4.1 on Linux, and a great way to check out the Dirtywave M8 and "try before you buy".

I tried packaging m8c for Termux, but apparently packaging libserialport was not straightforward: termux/termux-packages#9315 https://github.com/termux/termux-packages/pull/9315

I also tried packaging m8c as an SDL2 application, for Android (as an .apk file), but including SDL2 in the various available Android build systems was more of a hassle than I had anticipated.

This is a feature request for somehow, either through Termux or as an Android application, support m8c on Android.

— Reply to this email directly, view it on GitHub https://github.com/laamaa/m8c/issues/71, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABNUYFRWGIEAM6PCT7WMMETVMNNM3ANCNFSM5XICQSAA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

xyproto commented 2 years ago

Sadly, derkyjadex/M8Webdisplay does not work on Android:

The audio for Android is a known issue that I've described in the README. I'm not aware of any way of fixing it until Google changes the way that multiple audio devices are handled on Android and Chrome for Android.

https://github.com/derkyjadex/M8WebDisplay/issues/18#issuecomment-1134753313

laamaa commented 2 years ago

That's a bummer. You might be able to do the audio with some other program, if I remember correctly some people have been using Zenbeats for that.