-
cfry
posted in technical issues • read moreYes, the limit was in [openpanel 2]. Actually all three ways work fine with special characters ( [list-store], [text], and [list-drip] @oid, @ddw_music).
I copy the paths in Finder with alt-right click and paste it into the text object. Its a quick manoeuvre and I got the flexibility of the text object.
@ddw_music said:
Don't guess -- examine the data!
But one key here is that a list in Pd is not "space delimited."
...I hear you
Thanks for this clear explanation, it helped a lot. -
cfry
posted in technical issues • read moreI saw your last post flash by
and tried it out, worked fine. As does the version with list-drip.But! Now I can not load more than 40 something elements. And my list is really close to 200 elements, and may grow.
Is there some kind of limit in the text object?

edit: for this project I am on Mac Pd0.53-2. I probably can find a terminal script to remove special characters, I do that already with blank spaces. Its annoying that OSX name screen recordings with special characters when you set your OS language to something else than English.
-
cfry
posted in technical issues • read more-This works but not if using special characters:

[pd stored-list] just contains a blank message box: [(
I understand that for this type of operation should use the text object (maybe it even accepts file names with blank spaces?). However text seems to require semi-colons as separators for a list. I guess that open panel 2 returns a list with return as separators? How could I set this up with text object?
-
cfry
posted in technical issues • read moreHow can I save a list that I have created with [openpanel 2] and [list store]?
[bng]
|
[openpanel 2]
|
[list store]...I would like to store this output in the patch upon save.
If I edit the [list store] like this...
[list store /Users/me/my-videos/20230714_171857.mp4
/Users/me/my-videos/20230714_164304.mp4
/Users/me/my-videos/20230714_154610.mp4
/Users/me/my-videos/20230714_154522.mp4]...I get the result I want in the patch but I want to use openpanel 2 instead of copy&paste.
Should I convert the output of [openpanel 2] to a message and then loadbang this message into list store upon load or what? I usually save values in patches by setting messages but something is lost in translation... [list store] does not seem to store anything with the patch.
:/
-
cfry
posted in technical issues • read moreI have ran pd on a raspberry controlling it with VNC Viewer over wifi quite successfully. Since I keep editing the Pd project I need to have access to the GUI, but I would prefer run it headless on the rpi since that would free up quite a bit of cpu.
Could you run Pd's GUI on one computer (i.e. my laptop) and Pd audio process headless on another (i.e. the RaspberryPi)? That would be so neat.
-
cfry
posted in pixel# • read moreI solved it by having looped interludes where I could adjust and look at the projection. It worked quite OK. A plus is that I was not distracted by the visuals when performing, so the setup made sense in this way too.
But will try some the methods mentioned here next time I perform with this setup. I really like the OF/Ofelia setup, had almost no crashes or oddities happening and I even wasn't that careful. And CPU pressure was quite low too. -
cfry
posted in technical issues • read more@oid works fine once I initated it with [set 0 0 0 0 0 0 0 0 0 0(. Seems like [insert( will aso init a list even if none is declared/set. Sweet, thanks!
-
cfry
posted in technical issues • read more@oid awesome, tried but [list-store51] does not accept [get n -1( either. cool if you could update [list-store51] it to work.
-
cfry
posted in technical issues • read moreI was not aware that [list store] [insert( [delete( was a newer functions when I made this abs and I need to use it on a Raspberry Pi with custom OS with Pd 0.51.4 installed. Of course it would be better to upgrade Pd but I am not sure it is convenient. I am looking into it.
Any ideas on how I could rewrite this to work with Pd <0.52? I guess I could use prepend instead of insert, but how could I replace delete? If possible.

-
cfry
posted in pixel# • read moreIs there a sensible way of having the Ofelia window shown both on a full screen projector/monitor and at the same time windowed on my laptop sharing space with Pd-gui controls? Im on Mac for this. I was hoping that osx had some built-in feature for this but I at least have not found it. Thanks.
-
cfry
posted in technical issues • read moreThats is exactly how I did except that it now magically works...
thanks -
cfry
posted in technical issues • read moreHi,
I want to make messages out of a stream of lists, adding "add" and a timestamp (with [timer]). I am experimenting with recording serial data to text files with [qlist].
[list myserialinput-1 1 0.7 1 0 1 0.5]
Should become this:
[add 21 myserialinput-1 1 0.7 1 0 1 0.5(
(And then go to [qlist])
How can I achieve this without having to specify the length of the list? I would like to not use a message with dollars sign variable for each element in the list, since then I can not throw in any list of any length in there.
I have messed around with list operations, variable messages, symbols etc. The space separator in the list is probably the reason why I can not get it right.
Help? It must be a simple way to do this.
-
cfry
posted in pixel# • read more@oid I contacted the developer:
"I think that might be because the dependencies needed are outdated.
If you know how to build the Ofelia external on Raspberry Pi, it might work if you use this branch (https://github.com/cuinjune/Ofelia/tree/update/v4.1.0) to build the external (I tested it on macOS and Ubuntu). You can use openFrameworks 0.11.2 and follow this instruction: https://github.com/cuinjune/Ofelia#setup-guide"@oid said:
@cfry it would be less work just using a more suitable programming language and communicating between it and pd via UDP/[netsend].
I hear you. On my Mac in combination with https://github.com/60-hz/Ofelia-Fast-Prototyping abs it all went very smooth. I wanted to do glitchy experiments with a couple of junky web cams and just wanted to quickly get a feel for the concept before deciding to go on. For what I am trying achieve I think Ofelia is good enough. But I do not like the idea of locking the project to Mac only. What other programming languages would you consider?
-
cfry
posted in pixel# • read more@oid did you get this working? I have failed on two distros (Raspbian & PatchboxOS) and it all seems be due to a bash script looking in the wrong spot:
https://forum.pdpatchrepo.info/topic/14377/ofelia-on-raspberry-pi -
cfry
posted in pixel# • read more@alexandros hope hen chime in but has not been online here for 24 months. I tried to have chatgpt to help me out but it just faked it. Seemed promising at first.
-
cfry
posted in pixel# • read moreThanks, I found the folder with the make file (user/openFrameworks/addons/)!
Should I try to edit install_dependencies.sh or should I try to run the addon_config.mk manually? I am not sure about the consequences...
(PD comes preinstalled in patchbox os in user/Documents, maybe that has something to do with the error)
-
cfry
posted in pixel# • read moreHi,
I am trying to get ofelia to run on a couple of rpi. Right now I am trying a rpi 3B+ running https://blokas.io/patchbox-os/
I run ofeila with the ofelia-fast-prototyping abs on my mac successfully.
Following install instructions here https://github.com/cuinjune/Ofelia
after running
sudo ./install_dependencies.sh
it ends like this:detected Raspberry Pi installing gstreamer omx Reading package lists... Done Building dependency tree... Done Reading state information... Done gstreamer1.0-omx is already the newest version (1.0.0.1-0+rpi12+jessiepmg). The following package was automatically installed and is no longer required: raspinfo Use 'sudo apt autoremove' to remove it. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Updating ofxOpenCV to use openCV4 sed: can't read /home/patch/Documents/Pd/externals/addons/ofxOpenCv/addon_config.mk: No such file or directory sed: can't read /home/patch/Documents/Pd/externals/addons/ofxOpenCv/addon_config.mk: No such file or directoryWhen running the example patches in Pd I get this in PD console:
opened alsa MIDI client 130 in:1 out:1 JACK: cannot connect input ports system:midi_capture_1 -> pure_data:input_2 /home/patch/Documents/Pd/externals/ofelia/ofelia.l_arm: libboost_filesystem.so.1.67.0: cannot open shared object file: No such file or directory ofelia d $0-of ... couldn't create /home/patch/Documents/Pd/externals/ofelia/ofelia.l_arm: libboost_filesystem.so.1.67.0: cannot open shared object file: No such file or directory ofelia d $0-of ... couldn't create /home/patch/Documents/Pd/externals/ofelia/ofelia.l_arm: libboost_filesystem.so.1.67.0: cannot open shared object file: No such file or directory ofelia d $0-of ... couldn't create /home/patch/Documents/Pd/externals/ofelia/ofelia.l_arm: libboost_filesystem.so.1.67.0: cannot open shared object file: No such file or directory ofelia d $0-of ... couldn't create /home/patch/Documents/Pd/externals/ofelia/ofelia.l_arm: libboost_filesystem.so.1.67.0: cannot open shared object file: No such file or directory ofelia d $0-of ... couldn't create /home/patch/Documents/Pd/externals/ofelia/ofelia.l_arm: libboost_filesystem.so.1.67.0: cannot open shared object file: No such file or directory ofelia f ; ofBackground(20) ; ofSetSmoothLighting(true) ; ofSetSphereResolution(24) ; local width , height = ofGetWidth() * 0.12 , ofGetHeight() * 0.12 ; sphere = ofSpherePrimitive() ; sphere:setRadius(width) ; icoSphere = ofIcoSpherePrimitive() ; icoSphere:setRadius(width) ; plane = ofPlanePrimitive() ; plane:set(width * 1.5 , height * 1.5) ; cylinder = ofCylinderPrimitive() ; cylinder:set(width * 0.7 , height * 2.2) ; cone = ofConePrimitive() ; cone:set(width * 0.75 , height * 2.2) ; box = ofBoxPrimitive() ; box:set(width * 1.25) ; local screenWidth , screenHeight = ofGetWidth() , ofGetHeight() ; plane:setPosition(screenWidth * 0.2 , screenHeight * 0.25 , 0) ; box:setPosition(screenWidth * 0.5 , screenHeight * 0.25 , 0) ; sphere:setPosition(screenWidth * 0.8 , screenHeight * 0.25 , 0) ; icoSphere:setPosition(screenWidth * 0.2 , screenHeight * 0.75 , 0) ; cylinder:setPosition(screenWidth * 0.5 , screenHeight * 0.75 , 0) ; cone:setPosition(screenWidth * 0.8 , screenHeight * 0.75 , 0) ; pointLight = ofLight() ; pointLight:setPointLight() ; pointLight:setDiffuseColor(ofFloatColor(0.85 , 0.85 , 0.55)) ; pointLight:setSpecularColor(ofFloatColor(1 , 1 , 1)) ; pointLight2 = ofLight() ; pointLight2:setPointLight() ; pointLight2:setDiffuseColor(ofFloatColor(238 / 255 , 57 / 255 , 135 / 255)) ; pointLight2:setSpecularColor(ofFloatColor(0.8 , 0.8 , 0.9)) ; pointLight3 = ofLight() ; pointLight3:setPointLight() ; pointLight3:setDiffuseColor(ofFloatColor(19 / 255 , 94 / 255 , 77 / 255)) ; pointLight3:setSpecularColor(ofFloatColor(18 / 255 , 150 / 255 , 135 / 255)) ; material = ofMaterial() ; material:setShininess(120) ; material:setSpecularColor(ofFloatColor(1 , 1 , 1)) ; ... couldn't create /home/patch/Documents/Pd/externals/ofelia/ofelia.l_arm: libboost_filesystem.so.1.67.0: cannot open shared object file: No such file or directory ofelia f ; pointLight = nil ; pointLight2 = nil ; pointLight3 = nil ; collectgarbage() ; ... couldn't create /home/patch/Documents/Pd/externals/ofelia/ofelia.l_arm: libboost_filesystem.so.1.67.0: cannot open shared object file: No such file or directory ofelia f ; local width , height , time = ofGetWidth() , ofGetHeight() , ofGetElapsedTimef() ; pointLight:setPosition((width * 0.5) + math.cos(time * 0.5) * (width * 0.3) , height / 2 , 500) ; pointLight2:setPosition((width * 0.5) + math.cos(time * 0.15) * (width * 0.3) , height * 0.5 + math.sin(time * 0.7) * height , -300) ; pointLight3:setPosition(math.cos(time * 1.5) * width * 0.5 , math.sin(time * 1.5) * width * 0.5 , math.cos(time * 0.2) * width) ; ... couldn't create /home/patch/Documents/Pd/externals/ofelia/ofelia.l_arm: libboost_filesystem.so.1.67.0: cannot open shared object file: No such file or directory ofelia f ; local spinX = math.sin(ofGetElapsedTimef() * 0.35) ; local spinY = math.cos(ofGetElapsedTimef() * 0.075) ; ofEnableDepthTest() ; ofEnableLighting() ; pointLight:enable() ; pointLight2:enable() ; pointLight3:enable() ; material:beginMaterial() ; plane:rotateDeg(spinX , 1 , 0 , 0) ; plane:rotateDeg(spinY , 0 , 1 , 0) ; plane:draw() ; box:rotateDeg(spinX , 1 , 0 , 0) ; box:rotateDeg(spinY , 0 , 1 , 0) ; box:draw() ; sphere:rotateDeg(spinX , 1 , 0 , 0) ; sphere:rotateDeg(spinY , 0 , 1 , 0) ; sphere:draw() ; icoSphere:rotateDeg(spinX , 1 , 0 , 0) ; icoSphere:rotateDeg(spinY , 0 , 1 , 0) ; icoSphere:draw() ; cylinder:rotateDeg(spinX , 1 , 0 , 0) ; cylinder:rotateDeg(spinY , 0 , 1 , 0) ; cylinder:draw() ; cone:rotateDeg(spinX , 1 , 0 , 0) ; cone:rotateDeg(spinY , 0 , 1 , 0) ; cone:draw() ; material:endMaterial() ; ofDisableLighting() ; ofDisableDepthTest() ; ... couldn't createThankful for help!
-
cfry
posted in extra~ • read moreHi, I am trying out this external, curious about it.
Would it be possible for you to describe a bit more on how to explore and work with the examples provided? I have only a very basic understanding of neural networks and have not read the book you base the examples on.
My goal, at the moment, would be to find out if I could incorporate the use of neural networks in my practice as a /sound/ artist, more so than learn how to "make them from scratch". So far I have tried all the examples except 04.
All the best
-