• cfry

    Hi,

    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 directory
    

    When 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 create
    

    Thankful for help!

    posted in pixel# read more
  • cfry

    @alexandros

    Hi, 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

    posted in extra~ read more
  • cfry

    Hah! That is awesome. Thnx.

    posted in technical issues read more
  • cfry

    Depending on what you mean by "not complicated": the Audiolab lib (its on deken) has a great granular sampler [pp.grainer~]. It is simple to use, sound good, rock stable.

    posted in technical issues read more
  • cfry

    Hi,

    I am making neat control panels with the goal to reach all crucial thingies from one spot.

    I would like to open the visual representation of a sample loaded in a table that exist in a subpatch and open this from another patch or subpatch.

    Basically same procedure as a mouse click on the [my-sound-table]. Or right click open.

    Maybe this is dead simple to achieve?

    :)

    posted in technical issues read more
  • cfry

    Yes, that is what I meant. But I wondered if there was some lib, mod, or hack that let you record without manually patching the sliders to be recorded.

    Anyway, some fun exploring qlist now.

    posted in technical issues read more
  • cfry

    Hi,

    Is there any way to record and play back gui interaction without manual patching using [send]?

    Purpose would be to be able to store a performance in control domain.

    :)

    posted in technical issues read more
  • cfry

    Hi,

    can you use Pd to convert audio to numeric values and store it in a text file?

    I am trying out this project in order to store/play a snippet of audio from an Arduino uno/nano.

    https://www.arduino.cc/reference/en/libraries/pcm/

    Following this guide you can use a Processing app or script to convert the audio to numeric values.

    http://highlowtech.org/?p=1963

    This is not working, probably since I am on OSX Monterey. I will try to get the Processing script working but then I though that maybe there is a way to do this in Pd. I need to get the data as numbers in a text file, so not streamed real time.

    ?

    posted in technical issues read more
  • cfry

    Hi,

    I am to enter a project where I need to use multiple webcams to show my performance in close up combined with some video processing. I use physical objects to control sound synthesis in Pd.

    I have been thinking about using Processing in tandem with Pd but I came across:

    https://forum.pdpatchrepo.info/topic/12790/fast-prototyping-for-ofelia/22

    by @60hz

    What route would quickly get me up and running?

    posted in pixel# read more
  • cfry

    @ddw_music thank you for this excellent input. I would actually prefer to just use the equation inside an expression object, feels it should be more intuitive.

    posted in technical issues read more

Internal error.

Oops! Looks like something went wrong!