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

Ableton Link integration with the sequencer #63

Open
teotigraphix opened this issue Nov 1, 2018 · 2 comments
Open

Ableton Link integration with the sequencer #63

teotigraphix opened this issue Nov 1, 2018 · 2 comments
Labels
feature request Request for a missing feature

Comments

@teotigraphix
Copy link
Contributor

Hi,

This is really just a question if you have thought about this implementation?

I am going to try it myself but I thought I would get your input first to see if there were any problems you see or even that you haven't thought about it. :) (either way)

Mike

@igorski
Copy link
Owner

igorski commented Nov 2, 2018

Had not thought about Ableton Link specifically but more towards inter application sharing like Audioroute.

Depending on the protocol in question, it shouldn't be more work to the engine than adding a hook in the same place where DriverAdapter::writeOutput() is called (when you desire to stream audio). If you look to send MIDI events, you could provide a similar hook within sequencer.cpp on the getAudioEvents()-call though you will have to translate buffer offsets to MIDI specific timings (shouldn't actually take a lot of effort as each AudioEvent in MWEngine can return its play offset and duration in seconds, similar to MIDI).

That's however the integration within MWEngine, there is also the other integration of getting it built alongside / within the library and getting the configuration to work (not entirely sure how quickly Ableton Link can be setup for Android, as only Windows / macOS / Linux support is provided out of the box according to their docs.

@teotigraphix
Copy link
Contributor Author

Thanks for the response.

Audioroute would definitely be a bonus, Android needs something like this to at least get things moving towards a collaborative approach.

I ask about Link because I have 2 apps up right now that are more/less island apps and I get the question all the time if Link is going to be added.

I pretty much have studied most of the source code, so your answer was a great start.

This shows some implementation on Android, albeit a "reach" since it's PD.

https://github.com/libpd/abl_link

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

No branches or pull requests

2 participants