• 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

Internal error.

Oops! Looks like something went wrong!