d3cod3 / Mosaic

Mosaic, an openFrameworks based Visual Patching Creative-Coding Platform
https://mosaic.d3cod3.org
Other
427 stars 23 forks source link

Mosaic patch in xCode #58

Closed dimdieo closed 1 year ago

dimdieo commented 1 year ago

Is it possible to create a patch in Mosaic and then build on it project in xCode with Openframeworks for ios app?

Daandelange commented 1 year ago

Mosaic can compile via xCode for osx (a few years ago at least), but I don't think it will work on iOS. Technically, there's probably multiple incompatible ofxAddon libraries and the shaders might need to be ported to GL ES. This said, Mosaic is based on OpenFrameworks which supports iOS so porting it should not be that difficult.
@d3cod3 , you probably know the iOs situation better than me, can you confirm / complete my answer ?

d3cod3 commented 1 year ago

Sorry, but no, i never tested Mosaic code on iOS, so no idea!

That said, to have a patch transfered to an xCode project or a qtcreator one should not be trivial but probaby possible, it's something for sure worth researching.

Right now the ofxAddons list has been reduced, and probably it should not be difficult to make the code compile for iOS removing some objects, the one using thise addons for sure:

ofxFFmpegRecorder ofxHapPlayer ofxNDI

Then there is the big question about ofxPDSP ( i know that ofxPd can compile on iOS), because the entire audio part of Mosaic is builded over ofxPDSP, and if that do not compile then it's game over.

No more info on the subject for now, let's think about it!

dimdieo commented 1 year ago

Thanks a lot for the answers! It would be great to make prototypes in Mosaic and then finish the project in xCode working only on the interface for iOS app. Unfortunately, in Max and PD (with the ofxPD plugin) this is not very convenient. I am currently working on my first app in Openframeworks using ofxPDSP and accidentally found your project. The idea of ​​a graphical interface for ofxPDSP is great and I hope it will be continued!

d3cod3 commented 1 year ago

Yes, right now in Mosaic we have those implemented from ofxPDSP:

Captura de pantalla 2023-01-07 a las 15 35 09

and more stuff for audio analysis