Well...... there is one maybe-sort-of-viable path to a low-quality,
"shovelware" direct port to something that would run on a phone.

Qt for WebAssembly is a thing that exists, and would theoretically let it
run in a browser or, say, an Electron app.Not all of Qt is supported, and I
haven't had a proper look to see if enough of what Hydrogen uses is
supported to make it at all viable, but conspicuously missing are top-level
windows (of course, because it's a browser) and I have no idea if sound is
even supported (Qt has its own audio API which we'd need to target a driver
to, it uses the regular Qt messaging system and is, I think,
single-threaded!).

Either way, Phil is entirely right -- the GUI isn't at all well suited to
mobile and making it usable would need a near-complete overhaul.

HOWEVER!

If you're prepared to live with an absolutely awful user experience, you
can run Hydrogen on an Android device already right now if you want to:

 - Install XServer XSDL and start it up
 - Install UserLand
    - Create an Ubuntu session
    - apt install hydrogen
    - export PULSEAUDIO_SERVER=tcp:127.0.0.1:<whatever port XSDL tells you
to use>
    - start hydrogen and select PulseAudio driver

The user experience is absolutely abysmal, of course, but.... it exists at
least.

-- 
C.


On Tue, 20 Jun 2023 at 07:25, Philipp Mueller via Hydrogen-devel <
hydrogen-devel@lists.sourceforge.net> wrote:

> Hey,
>
>
> On 6/19/23 18:25, Duck Horse wrote:
> > I'm wondering if this is a working list group. I tried to find the
> > hydrogen forum and couldn't, from its homesite without doing anything
> > unlazy. And ended up here.
> I think this is currently the best place to post such questions. We have
> no forum and Github discussions turned out to be a more accessible
> version of Github issues for general questions. But no general or
> boarder discussions. (There is still a Matrix channel I think).
> >
> > I really would love hydrogen on Android and can't imagine I'm not the
> > only one. I'm also a software dev and wonder if I came up with a
> > really functional work flow, if anyone has the experience with code
> > for hydrogen if they'd be interested in that joint.
> >
> > I bet hydrogen is too great for the phone, but what I'm really after
> > is the pattern base midi-like that can at least tone change samples.
> > Doable? Phones can be really comfortable, for art that's a good reason.
> >
> The most important aspect is the toolchain. Hydrogen is written in C++
> and uses Qt as a framework. The latter does support Android since the
> most recent version but just for Kotlin. This is showstopper since
> porting Hydrogen to another language is a huge project similar to
> writing an entirely new application. That said, the processors in smart
> phones would most probably work just fine. Hydrogen does not need a lot
> of resources and some people run it on raspberry pi.
>
> But even if it would be possible to port the application to Android one
> still has to bin the current GUI and write a new frontend designed for
> smaller displays and touch.
>
> A better approach might be to run Hydrogen on your local computer (or a
> server) and remote control it using Hydrogen's OSC (or even MIDI) API,
> like done in this project [1]. This can be done in any language. If
> someone wants to write such a frontend, I would happily introduce a
> bunch of new commands to the OSC API to allow it to be a full-fledged
> interface capable of the same things as our current GUI.
>
> All the best,
>
> Phil
>
> [1] https://github.com/pprchal/hydropad
>
> > I'll try finding the forum again in a minute. Or let me know, gmail
> > bullfrogma. Thanks for reading this.
> >
> >
> > _______________________________________________
> > Hydrogen-devel mailing list
> > Hydrogen-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/hydrogen-devel
>
>
> _______________________________________________
> Hydrogen-devel mailing list
> Hydrogen-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/hydrogen-devel
>


-- 
C.
_______________________________________________
Hydrogen-devel mailing list
Hydrogen-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hydrogen-devel

Reply via email to