• cfry

    Hi,

    I would like to communicate through OSC (in this case with Unity), can I get a recommendation how get that going? What external should I use? I'm on Mac.

    Cheers

    posted in technical issues read more
  • cfry

    Thanks!

    Have you used it? I fail build at

    emcmake cmake .. -DPD_UTILS:BOOL=OFF -DCMAKE_BUILD_TYPE=Release
    

    getting

    omba:build Nicklas$ emcmake cmake -DPD_UTILS:BOOL=OFF -DCMAKE_BUILD_TYPE=Release
    configure: cmake -DPD_UTILS:BOOL=OFF -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=/Users/Nicklas/emsdk/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake -DCMAKE_CROSSCOMPILING_EMULATOR=/Users/Nicklas/emsdk/node/14.15.5_64bit/bin/node;--experimental-wasm-threads
    emcmake: error: 'cmake -DPD_UTILS:BOOL=OFF -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=/Users/Nicklas/emsdk/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake -DCMAKE_CROSSCOMPILING_EMULATOR=/Users/Nicklas/emsdk/node/14.15.5_64bit/bin/node;--experimental-wasm-threads' failed: [Errno 13] Permission denied: 'cmake'
    omba:build Nicklas$
    

    sudo still gives the same permission denied error

    Seems to suit my needs perfectly though.

    posted in technical issues read more
  • cfry

    Hi,

    I want to run a patch in the background (not visible) on a web page and with some very simple user interaction.

    What would my options be?

    At the moment I am messing around with WebPd with seems interesting. I still have not made a localhost test patch to work though. The project has.not been updated in 2 years so maybe it is broken?

    :/

    posted in technical issues read more
  • cfry

    @60hz Well, that was easy! Thanks!

    posted in technical issues read more
  • cfry

    @whale-av actually this is the absolute path

    /Applications/Pd-0.51-4.app/Contents/Resources/bin/pdsend
    

    that is what I get when I drag pdsend to Terminal

    Is there some flag I should use in Pd?

    I noticed that when I open the help patch and try it while already started my patch, Pd log window reports that [netreceive] channel is already active. So something is happening, at least.

    taken.png

    posted in technical issues read more
  • cfry

    Hi,

    trying to figure this out too. Followed the same tutorial. Nothing happens.

    I am on OSX 10.14.6 Mojave running Pd 0.51-4

    netstat -a --->

    tcp46      0      0  *.hbci                 *.*                    LISTEN     
    tcp4       0      0  localhost.51108        localhost.51109        ESTABLISHED
    tcp4       0      0  localhost.51109        localhost.51108        ESTABLISHED
    tcp6       0      0  localhost.51108        *.*                    LISTEN     
    tcp6       0      0  localhost.51108        *.*                    LISTEN     
    tcp4       0      0  localhost.51108        *.*                    LISTEN     
    tcp4       0      0  192.168.100.86.51101   dj-in-f95.1e100..https ESTABLISHED
    

    Python code:

    import os
    
    #write code here
    
    def send2Pd (message=''):
        
        # os.system("echo '" + message + "' | pdsend 3000")
        
        #quoted out above and replaced with:
    
        os.system("echo '" + message + "' | /Nicklas/Applications/Pd-0.51-4.app/Contents/Resources/bin/pdsend 3000")
    
    
    def audioOn():
        message = '0 1;' #Id = 0 (DSP), message=1 (turn it on)
        send2Pd(message)
    
    def setVolume():
       vol = 80 #Set volume value (0-100)
       message = '1' + str(vol) + ';' # make a string for use with psend
       send2Pd(message)
    
    print ("send to Pd done?")
    

    Pd code

    Pd_n_Python.png

    posted in technical issues read more
  • cfry

    I tested to just copy and paste some snippets into [text define] and to use it with [text sequence]. It works pretty well, stepping it through with [metro].

    Good point with Python. I'll have to look into that.

    posted in technical issues read more
  • cfry

    Hi,

    I intend to use data that I have received stored as excel files and alternatively text files. I would like to use this data as a stream of control messages.

    The text file is formatted like this:

    "here is"
    "information"
    "about this"
    "section"
    0
    0
    0
    12
    123
    3232
    12345
    1243132
    1233243
    232
    322
    112
    0
    0
    "here is"
    "information"
    "about the next"
    "section"
    0
    0
    0
    23
    54
    0
    0
    

    As a first test I would like to be able to something along these lines:

    conditional take action:
    skip/pause/etc depending on symbol (0,")
    and
    use [metro] to bang to output each line.

    I guess there are several ways to go, but the text files are huge so I prefer to not edit them, at least at this stage.

    EDIT: the excel/text file has 202569 lines... not that great to load at once, that is why I would like to read it like a stream.

    Cheers

    posted in technical issues read more
  • cfry

    thanks @bocanegra & @ingox

    cry$1al clear B)

    posted in technical issues read more
  • cfry

    Hi,

    Sorry for being a bit lazy, but how do you make abstractions (or even just subpatches?) that accept arguments, i.e [my_abs 10 12 42].

    Cheers

    posted in technical issues read more
  • cfry

    thanks, that is neat.

    So operations like this are more suitable for arrays, since there is no vanilla function?

    posted in technical issues read more
  • cfry

    Hi,

    I need to check a list with 11 elements for 0 (or 1) and would like to know which element has it.

    I could do it like this...

    [unpack f f f f f f f f f f f] and then on all outlets [sel 0]-[1(, [2( etx

    ...but rather just search the list.

    Thanks!

    posted in technical issues read more
  • cfry

    @jameslo said:

    @cfry Soundflower has attenuators....check that they are all the way up in Audio MIDI Setup.

    Hi, this was the solution but not in Audio/Midi Setup which I already double check, but in Sound Settings. There you can attenuate sound drivers in/output. I forgot this since I so seldom have to do it. Annoying that there are two different applications for this. It could at least be included in Audio/Midi settings.

    Thanks for helping me out!

    posted in technical issues read more
  • cfry

    Hi,

    Sorry if this is a bit off topic, but anyway:

    I have to give in and use Reaper for external multiband compression.

    But! When I connect reaper with Soundflower the signal is weak, its present but weak. 100 dB from Pd turns magically to -50 dB in Reaper.

    posted in technical issues read more
  • cfry

    Oh yeah, the room will be almost pitch dark. You will not see the walls of the room.

    posted in technical issues read more
  • cfry

    @bocanegra I like [vfreeverb~] although I find it strange that it seems to react different to parameter changes than (original) [freeverb~]. I have yet to try out rev2 and rev3, but I will. Why are there four outlets on these?

    My intuition says that it will sound better with four slightly different signals even though the person experiencing the installation will be in the center of the room. I want it to sound unreal, but good unreal.

    posted in technical issues read more
  • cfry

    @whale-av if I want to give the feel of a huge space, I guess I should add a short delay before the reverb. What would you suggest, if I may ask?

    posted in technical issues read more
  • cfry

    Hi,

    is there a patch out there that works well with a quad setup?

    I am not after panning but rather just simulate a room. The source sound will be in the center.

    Convolution or algorithm does not matter, but I prefer medium load on my cpu rather than mega high quality reverb.

    Thanks!

    posted in technical issues read more
  • cfry

    @emviveros Looking at WiringPi, it seems good but how do you get it to talk with Pd?

    posted in I/O hardware diyread more
  • cfry

    @JMC64 said:

    Yes it works very well. I own 2 of them. It also react very well with OSC protocol. I made a Drum machine based on it:
    The interface is on my main PC developed in Python + WxPython and the Terminal module is in my rack.. I have a fully flexible drum machine. I can share the patch + code if anyone is interested.

    Hi, I am exploring this now, looking at the terminal tedium code.

    I wish to accomplish a very simple thing, just add a PIR sensor and get the reading in to Pd.

    However I would like to add this function to an existing RPI OS (Patchbox Os) already set up to run a specific Pd patch using a multichannel USB card and I am a bit worried that if I just dive in and follow the instructions for setting up tedium on linux I will mess up the OS configuration.

    Could you give me a hint on where to start?

    posted in I/O hardware diyread more
Internal error.

Oops! Looks like something went wrong!