To register and login, use your Google, Twitter, Facebook, LinkedIn, or OpenID credentials.

This is allowing us to stop most spam registrations. We've deleted most of the spam accounts that got through, and we're closely watching for more.

libpd + Processing and Core Audio (no Jack on Mac)

MikeSperoneMikeSperone Posts: 16
edited December 2012 in Pd Everywhere


I can only seem to get libpd running with Processing via the Jack audio server with the class PureDataP5Jack
I read that there was a change in July or August 2011 where you can use non-Jack audio stuff (linux Port Audio, mac core Audio, etc...) But I can't seem to figure it out.

I thought, from reading around the internets, that you would change it to simply PureDataP5... but I get: Cannot find a class or a type named "PureDataP5"

What changes would I make in the XYpad example to not use Jack?


  • pbrinkmannpbrinkmann Posts: 686 ✭✭

    Sounds like you have an old version of PureDataP5. Please install the latest version from It's slightly different from the Jack-based version you've been using. Also, it's quite new and very experimental.

  • MikeSperoneMikeSperone Posts: 16

    I get: UnsatisfiedLinkError: org.puredata.core.PdBase.implementsAudio()Z

    even with the example patch... not sure if I missed something in installing the library, or if I forgot to uninstall something from the old version. I'll keep trying though

  • pbrinkmannpbrinkmann Posts: 686 ✭✭

    Sounds like you updated the pdp5 jar file but not the native binaries. First, remove any trace of libpd from your Processing/libraries folder. Then unpack the latest into that same folder. Quite and restart Processing and everything should be up to date.

  • MikeSperoneMikeSperone Posts: 16

    Still no luck...
    I did you you said, got the same error, then I searched my computer for: pdp5, puredata, pd, and libpd and I deleted everything remotely related to libpd

    I reinstalled pdp5, and double checked there wasn't anything else weird in there, and ran it again... same error. In Processing 2.0b7, and I tried it in 1.5.1 as well (same results).

    I'm on a macbook osx 10.7.5... any ideas?

  • MikeSperoneMikeSperone Posts: 16

    I've been reading and trying different things, but still getting this same error.

    It's hilighting this line:
    pd = new PureData(this, 44100, 0, 2);

    and the error it's sending is this one:
    UnsatisfiedLinkError: org.puredata.core.PdBase.implementsAudio()Z

    Any ideas? Thanks!
    Mike Sperone

  • MikeSperoneMikeSperone Posts: 16

    Could this be a 64Bit/32Bit processor issue?

    I don't think it would be, seeing as how I had read you had done extensive testing on the mac os. I'm just trying to think about any and all reasons I might be encountering this error.

  • MikeSperoneMikeSperone Posts: 16

    I just built the library in Eclipse following the directions, and I am getting the exact same error... any ideas?
    Is there a file I could look for to look for errors?
    I'm looking in /src/org/puredata/processing/ and there is only one file:
    is this correct? Is there supposed to be a /org/puredata/core/PdBase file?


  • MikeSperoneMikeSperone Posts: 16

    Hi again... Is the old version of libpd for processing - the one using jack still online anywhere... I can't seem to find it anymore

  • pbrinkmannpbrinkmann Posts: 686 ✭✭

    I think you can still find the old version at Gitorious. I really recommend against using it, though. It uses an old version of libpd, and the API is different from the current one.

  • MikeSperoneMikeSperone Posts: 16

    Thanks! I still couldn't get the new one working and I was using it in a computer science final exam. But the old version worked well enough that I got an A+ :)

    Gitorious just links to github now. The only place I was able to find the old version though was in a set of powerpoint slides that Peter Kirn put up on some website after a presentation he gave a couple of years ago. He had a link to a "temporary" web address that still worked. I found it in a google search on like page 5 of the results.

    I got a copy of your book through my school's interlibrary loan, but it came the day the assignment was due. I'm going to go look at that during the break and also try to teach myself a little bit more about compiling things from source. Hopefully I can get the new version working this week before I have to go back.

    Thanks for your help!

  • pbrinkmannpbrinkmann Posts: 686 ✭✭

    Congrats on the A+! Do you want to tell us more about your project?

    For what it's worth, the project description at Gitorious links to the new version GitHub, but the code is still there:

  • MikeSperoneMikeSperone Posts: 16

    Thanks, I made a simple drum machine, with a picture of each part of a drumset and when you click on it you hear that drum... and there was a "menu" on top where you could click on a guitar and the drum pictures changed to pictures of notes and you can play a scale with guitar sound. And you could also play it with your computer keyboard.

    I'm going through your book now, starting with RjDj/PdDroidParty. I had success yesterday getting one of my own patches to run in PdDroidParty :)

Sign In or Register to comment.