-
Jona
I made some progress, multithreading works now. It would be nice, to enable multiviewport support. And somehow it only works (at least with Windows) with an old libpd version (the one from the last Ofelia version). Would be great to update this, because this version crashes if audio is enabled while a Ofelia window exists.
-
Jona
@sergi.f said:
libglfw.so.3
Just a guess into the wild: Maybe you need to put
libglfw.so.3
into your GEM lib folder (where your PD externals are located). -
Jona
If I look around, I get the impression that Ofelia is gone, and GEM is used for graphics with PD again.
My question is: Is this, because development stopped (or paused), or because it seems to complicated?
I know, I am biased, because meanwhile I got used to Open Frameworks, so it is quite easy to handle Ofelia for me (and I also started to update and expand Ofelia). And I think, it has much more possibilities compared to GEM. -
Jona
ofxSvg needs a small edit, because ofXml::find does not work with SWIG: https://github.com/Jonathhhan/openFrameworks/tree/ofxSvg-SWIG
-
Jona
I guess, I found a nice way to add ofxAddons to Ofelia (besides updating it with the current libs).
Thats the current state:- Implemented internal Addons are:
ofxAssimpModelLoader
ofxOpenCv
ofxSvg
ofxVectorGraphics- Implemented external Addons are:
ofxImGui
ofxVolumetrics
ofxStableDiffusion
srtparserhttps://github.com/Jonathhhan/ofxOfeliaExtended
Only tested the Windows build for now, but to build it for Linux should be much easier (no idea regarding OSX).
I can upload the Windows build somewhere.And I opened an issue here, if someone wants to join:
https://github.com/cuinjune/Ofelia/issues/91 -
Jona
Here the compiled Win64 external: https://github.com/Jonathhhan/ofxOfelia/releases
-
Jona
I just updated Ofelia. It uses the current version of ofxPd, ofxMidi and ofxLua. There are no custom changes in ofxPd anymore, because Pure Data`s master branch officialy supports Emscripten now. I would be happy, if someone likes to test it (only tested it with Emscripten for now, but without any issues): https://github.com/Jonathhhan/ofxOfelia/tree/update-april-2024
-
Jona
It should be doable with midi pitchbend:
https://sites.uci.edu/camp2014/2014/04/30/managing-midi-pitchbend-messages/
https://forum.pdpatchrepo.info/topic/13028/midi-pitchbend -
Jona
Hello, I hope a double post is fine in this case (same as in the OF forum):
I am happy that this is possible, maybe without ofxPD too, but did not figure that out yet.https://audioplayer.handmadeproductions.de/
https://github.com/Jonathhhan/ofEmscriptenExamples/tree/main/emscriptenAudioPlayer2
This is the first case, besides audioWorklets, where I had to use the -s USE_PTHREADS=1 flag with Emscripten for making Pure Data`s [writesf~] work…
-
Jona
@Enkerli I thought it works exactly like you want it to, but maybe it does not work for floats like that (for example the MIDI-value 42.3).
I will have a look, if I have some time. Perhaps @ingox knows it better?Edit: I tested it and think no note is filtered out...
-
Jona
@60hz hmm. For me even the v3 version works without problems (with Windows) with Ofelia v4. And I don't think shaders need to be programmed differently for OSX. But maybe I am wrong. Maybe you need to specify the GL version in Ofelia?
Btw: I updated ofxOfelia (inofficial): https://github.com/cuinjune/Ofelia/issues/78 -
Jona
@svanya with [float $] you get the number if the [clone] instance. You can pass this as a variable into [expr].
Not sure about the second one, but I was thinking of this thread: https://forum.pdpatchrepo.info/topic/10798/setting-expr-formula-dynamically/20 -
Jona
I just applied recently with my midifilemarkovgenerator which is based on this abstraction for the MIDI innovation awards:
https://www.midi.org/component/zoo/item/midifilemarkovgenerator
Not sure, if it makes sense. But you can vote for it or something else until the 14th of may, if you like it...