Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MIDI support for Android seems to be missing #15

Open
Micrologus opened this issue Jan 30, 2019 · 4 comments
Open

MIDI support for Android seems to be missing #15

Micrologus opened this issue Jan 30, 2019 · 4 comments

Comments

@Micrologus
Copy link

I'm trying to use Terra to play MIDI notes in an Android application.

The main MIDI unit (TERRA_MIDI.pas) uses TERRA_MIDI_IO.pas to send the notes, but TERRA_MIDI_IO.pas only seems to exist for Windows and Mac.

Is there any chance to get MIDI support for Android too?

Thanks!!

@Relfos
Copy link
Owner

Relfos commented Jan 30, 2019

Hi, this engine is already 7 years old, back then Android did not have a standard way to process MIDI messages so that's why there was no Android support. Now the situation might have changed, however I no longer work on this engine. I recommend that you first search around if there is an alternative to use MIDI + Pascal + Android somehow.

If you don't find anything useful, you could look at porting this library from C to Pascal:
https://github.com/schellingb/TinySoundFont

It implements a full sounfont synth plus MIDI playback in just 2 files. If you want to go this route and can't do the port yourself, I could do it myself but that would be a paid job that would have to be negotiated. I've done several similar works for this engine, like porting the TTF loader and OGG decoders from C to Pascal.

@Micrologus
Copy link
Author

Micrologus commented Jan 30, 2019 via email

@turric4n
Copy link

As alternative you can use http://www.un4seen.com/ libbass for non comercial projects.

@Micrologus
Copy link
Author

Micrologus commented Jan 31, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants