A naive Gen question

    May 09 2015 | 9:53 am
    Hi all, not used Gen before but have a new project on the cards and want to ask a specific and perhaps naive question. We are building an app to run on both desktops and iPads. The GUI will be built using OpenFrameWorks but we are undecided about the audio side of things at the moment. The quick question then is can Gen output code that might be usable within OpenFrameWorks? :)

    • May 09 2015 | 10:29 am
      I've ported GLSL to Touchdesigner using the export code function in Gen. Don't know if you could use the 'port to C' in that case... #my2cents
    • Jun 01 2015 | 5:19 am
      Do you mean audio code (from gen~) or graphics code (from jit.gl.pix etc.)? In either case the answer is yes, but you'll need to do a bit of the glue coding yourself, unless somebody already has.
      Assuming you're talking about audio, this means after you hit send the 'export_code' message to gen~, you'll need to implement the details of the genlib.cpp to connect it to OpenFrameworks hook up the gen_exported.cpp to the OpenFrameworks audio routine. You only have to do this once, and it should work for any exported gen~ you care to try.
      Nothing too complicated if you've done OF programming before, and I'm willing to help along if you get stuck.
    • Jun 01 2015 | 5:20 am
    • Apr 08 2020 | 6:08 am
      Hello there! Do you know some tutorials on how to do this ? I have been trying to do it for a few days but it is too much for my c++ skills apparently... Graham if you are still willing to help it would be awesome.