Hi, I’m trying to use Ableton Link with @danomatika’s ofxPd on iOS.
I followed these steps which I found from this link
(https://github.com/libpd/pd-for-ios/tree/master/abl_link)
Getting started
- Set up a libpd-based Xcode project as usual.
- Add the Link library and headers to your project setup as described here: http://ableton.github.io/linkkit/#getting-started
- Add
abl_link/ios
to your header search path. - Add
abl_link/ios/PdLinkAudioUnit.{h,m}
to the sources of your project. - Add the Link preference pane to your user interface (e.g., by cargo-culting the relevant bits of the LinkHut sample project).
- Create a Link instance, a PdLinkAudioUnit instance, and a PdAudioController instance:
ABLLinkRef linkRef = ABLLinkNew(120);
PdLinkAudioUnit pdAudioUnit = [[PdLinkAudioUnit alloc] initWithLinkRef:linkRef];
PdAudioContoller pd = [[PdAudioController alloc] initWithAudioUnit:pdAudioUnit];
- Create a Pd patch using the desktop version of the Link external,
abl_link~
. - Add the patch to your Xcode project.
Following these steps, I found out it requires iOS version of libpd and not C++ version which ofxPd uses.
Would it be possible to use [abl_link~] external in ofxPd?
Has anyone ever tried this?
Any advise or guidance would be greatly appreciated.