• RonHerrema

    I have multiple instances of an abstraction within a sub patch. I would like to place a canvas for each of these instances on the main patch and send messages from the abstractions to their corresponding canvas. What is the best way to go about this?

    Thanks

    posted in technical issues read more
  • RonHerrema

    I'm building an app using libpd and OpenFrameworks for iOS using Xcode 7. If I archive and install the app using a Release scheme, the app will run fine on 32 bit devices but not on 64 bit devices (an installed debug archive will run fine on either) - you can read some of the details re the crash log here:

    https://github.com/libpd/libpd/issues/144

    The crash almost always occurs on lines that involve loading tilde objects, and I've found some possibly related info re Apple's 64 bit transition guide here:

    http://stackoverflow.com/questions/19507456/sudzc-arc-version-objc-msgsend-call-causes-exc-bad-access-using-64-bit-archite

    https://developer.apple.com/library/ios/documentation/General/Conceptual/CocoaTouch64BitGuide/ConvertingYourAppto64-Bit/ConvertingYourAppto64-Bit.html

    In particular, I'm suspicious of the 'variadic function' issue, since the libpd code does contain variadic functions that appear to be used when tilde objects are loaded. What I know for sure is that as soon as I remove all tilde objects, I have no problems.

    I'd be curious to know if anyone here has been able to successfully run a release archive using tilde objects on a 64 bit device? (i.e. Am I barking up the wrong tree or the right one?)

    Needless to say, any other hints will be most welcome!

    posted in libpd / webpd read more
  • RonHerrema

    Thanks, David - she's going to have a look at the file names. I think the student is running Windows.

    cheers

    posted in technical issues read more
  • RonHerrema

    Hi David

    My wife is now doing workshops with this patch in Bangalore. It seems it's working great in general, but there's one student who gets the error message you see in this screenshot. Any ideas what might be happening?

    Screenshot (4).png

    posted in technical issues read more
  • RonHerrema

    Thanks, David - that was way too easy. And yes, that is what I was looking for.

    Cheers

    posted in technical issues read more
  • RonHerrema

    heyok, thanks. I've been playing with your patch but don't yet understand how to implement it. I've tried the following, but it doesn't work:

    [bang]
    |
    [tof/folderpanel]
    |
    {symbol]
    |
    {makefilename %s/*.aif]
    |
    [rand_file]

    posted in technical issues read more
  • RonHerrema

    Your head spins quite well, David! This works beautifully. Now that I use it, I can see that my original plan to have the user type in the folder name is not optimal, because there is no visual feedback given when the folder has been loaded. I did a bit of research about how to isolate a folder name from a path, but it's still not clear to me if it's doable ([strippath] and [stripfilename] won't work, for example). Is it??

    posted in technical issues read more
  • RonHerrema

    Hi Monetus.Thanks for checking in. in case it's not clear, I'm working with libpd within Xcode and iOS, using Objective-C. Here's the relevant website:

    https://github.com/libpd/pd-for-ios/wiki/ios

    In his book, Making Musical Apps, Brinkmann describes how he incorporates externals into this environment, which is otherwise based on Pd Vanilla. You basically need to drag the .c file into the project, make a declaration in the ViewController.m file:

     void fiddle_tilde_setup();
    

    And then call the function after PdBase and PdDispatcher have been set up:

     fiddle_tilde_setup();
    

    This works fine for externals written in C.

    (Note that working with references to C++ code requires changing the view controller to a .mm file. Also, I did find a freeverb~ written in C:

    https://svn.xiph.org/trunk/postfish/freeverb.c

    but it seems to depend on entire other framework, and it wasn't clear to me that this was going to work or be worth the time.)

    posted in libpd / webpd read more
  • RonHerrema

    Thanks - of course, with the abstraction it works. I've combined a large portion of your patch with mine. You'll see that I use alternate presses of the key to start and then fade out. The main problem I have at this point is that I have five copies of this sub patch, but there's just one abstraction, so I'm not sure how to deal with individualising the names. I don't totally grasp how to use $0.

    slow_down_david.pd

    posted in technical issues read more
  • RonHerrema

    Once again, many thanks. I am getting error messages:

    tracklist_button Track 01 Almost Like the Berlin Wall.aiff 1
    ... couldn't create
    tracklist_button Track 02 Private Property No Trespassing.aiff 2
    ... couldn't create
    tracklist_button Track 03 Steal the Common from the Goose.aiff 3
    ... couldn't create

    I should probably mention that I actually don't want to see the list of sounds, though I guess that is fairly easy to control through the 'vis' command? I only want to see the currently played sound displayed. I'm going to upload here the patch of my own that I'm trying to integrate this with. You'll see it's built to load just one file for each of the five buttons, so what I"m trying to do is to change it to load folders, and to display the name of the currently playing file (triggered randomly with the first five number keys) just below the current symbol object. For simplicity's sake, I'll just ask the user to type in the folder name into the current symbol objects you see there.

    slow_down.pd

    posted in technical issues read more

Internal error.

Oops! Looks like something went wrong!