• whale-av

    @Balwyn I wondered about [file cwd]
    Does that work? and does Pd still find objects once another directory is set if you then use [declare]?
    I have used [file glob] to find directories and search files in the past, but never changed the working directory.
    David.

    posted in technical issues read more
  • whale-av

    @jamcultur As @jameslo says...... something like this....... this.pd
    Although you probably want each array in an abstraction with the file name as an abstraction argument or you will have problems with multiple arrays with the same name.... so ignore that....
    So see the zip below which uses abstractions.
    Dollars in objects are translated as the patch is opened so then you could replace [pack s s] with [pack s $1] and remove the [loadbang]
    [EDIT... you cannot as the $1 needs to be a symbol so [loadbang] is still required.... I have changed that in the zip]

    The directory selection could be in your master patch and a message sent to the abstractions to change directory.
    Note that the $2 in the message is the same as the $1 in the objects in this case.....

    Try doing something like this to organise your files and the setting of the tables...... this.zip

    You will need to put all the abstractions in your Master patch but you only need to do that once. Future edits of the abstraction where necessary will be easy.
    David.

    posted in technical issues read more
  • whale-av

    @jamcultur
    Replace "disp" in the read message with a $1 and instead of banging the message send the directory name accel vel or disp into it,,
    David.

    posted in technical issues read more
  • whale-av

    @raynovich You are not doing anything wrong.
    Some external libraries are individual binaries for each external, so putting the path in preferences allows Pd to find them by name as they are created in the patch.

    But zexy and some others are a single binary containing all the externals. Only the help files are separate and can be found by name.
    That means that the whole library needs to be loaded into memory as Pd starts..... and that is what happens using the -lib flag at startup.
    The library can be loaded instead just for your patch using [declare].
    That means that all the externals are available for Pd in exactly the same manner as all standard objects are available because those are part of the Pd binary itself.
    David.

    posted in technical issues read more
  • whale-av

    @Yar You will find this useful....... https://curiousart.org/digital_proj/pd_eBook.pdf

    I have not tried with Gem. Tuio was an alternative in the past.
    David.

    posted in technical issues read more
  • whale-av

    @cfry You might find some help here........ https://github.com/agraef/pd-lua/issues/75
    There was a commit at the bottom of that page.
    David.

    posted in technical issues read more
  • whale-av

    @tildebrow Not getting such errors in windows with pd extended or vanilla..... but I think it is not working as you expect either.

    It is easier to do this though to hide the window......... hmm.pd
    To remove edit focus before closing also send "editmode 0"

    So
    [;
    pd-$2-subpatch editmode 0, vis $1(

    If you want it in editmode as it opens..
    [;
    pd-$2-subpatch editmode $1, vis $1(

    David.

    Capture.JPG

    posted in technical issues read more
  • whale-av

    @mezko I am fairly certain that in Pd fft objects will be used in small sample filters so an understanding is useful.
    It is not my subject so I could be talking rubbish....
    However..... https://www.katjaas.nl/minimumphase/minimumphase.html
    David.

    posted in technical issues read more
  • whale-av

    @mezko You should be able to remove the header using the -raw flag for [soundfiler]
    This......

    should help ypu, although I am unsure because I have not watched it (yet).
    You can probably put (a) header back by saving the result as a wav file.
    David.

    posted in technical issues read more

Internal error.

Oops! Looks like something went wrong!