error opening audio: Internal PortAudio error
Hi all!
It’s been a very long time since I have been in the forum.
Ihave resurrected an old peace, and I am running David Wilcox’s PD compiled version MacBook Pro, and one pro chip. PD.52 – ARM.
I got it going!, Then I found the compiled abstractions by Andrew Brown, which look fantastic! I did this to rebuild some of the parts of patches no longer supported.
Came back to work on my patch and I’m getting an internal port error. PD doesn’t want to work/send audio out the headphone jack. Again, I had this all working when I first downloaded the latest version… with the headphone jack(!). Not sure what the culprit is. I did reach read this thread, but I don’t think I have any AU plug-ins that would cause this problem.
Any and all help would be most appreciated
all best,
d
macbook pro, late 2021,
M1 pro chip
monterey
Problems opening sound files with [openpanel]
Hi everyone, first time poster longtime lurker and this forum has helped me understand PD a lot better so firstly thanks a lot for that 
I recently changed my HD for an SSD and upgraded RAM on my old macbook pro, running mavericks 10.9.5. For the first few days PD and other audio programs worked fine, however now when I bang an [openpanel], it loads the window to select a sound file, then immediately hangs with beachball and needs to be force quit.
This happens on both 0.47, 0.48, so I installed 0.49 and the same thing happens. Interestingly other standalone audio programs like Spear audio analysis and Forester also crash when I try loading in a sound. From doing a bit of research I found out that PD uses tcl/tk wish to open so might be a corrupted library file or kext or whatever but don't really know how to troubleshoot.
Tried a fresh install of purrdata too, which actually doesn't even open - just hangs on startup. This second issue is also happening with Logic 9 freezing on startup, which was the reason I decided to install the SSD, and it seemed to be fixed for the first 2 weeks but is also happening again (although a workaround is opening from a specific logic file rather than clicking icon). Running macbook in safe mode makes everything work normally.
Wondering if at this point I should try a fresh install of a newer OS (and losing Logic 9), but wanted to ask if anyone has encountered anything similar first? Even getting a better idea exactly how to troubleshoot these sorts of problems on mac would be great.
Changing block size freezes PD
Hello!
I'm running into some issues with a relatively intensive granular patch I've been working on, and I'm wondering whether increasing my block size would be a good thing to try.
However I am unable to successfully change the block size from 64, either by using block~ or in the audio settings dialog. If I do it via block~ the size is unchanged. If I attempt to change the block size in my audio settings the window freezes - I'm unable to close it, PD becomes unresponsive, and I have to force quit and restart the application (at which point the block size is back to 64).
I have two Macs, and the behaviour is the same on both. One is a slightly older MacBook Pro running OS 10.13.3 and PD 0.48.0. The other is a new MacBook Pro running OS 10.13.4 and PD 0.48.0 (386). The behaviour is also the same both when I'm using my built-in audio card and when I'm using my RME Fireface UCX (over USB).
I have two interrelated questions - is changing the block size advisable as a method for trying to improve performance? I've always assumed it's similar to the "vector size" in Max/MSP, is that right? I'm not entirely certain that the problems I'm having will be fixed by changing the block size, but I'd like to try.
Secondly - is my inability to change the block size a known bug, or something I am doing wrong?
I'll be posting this on a few other PD forums, apologies if you read them all. Thanks!
Ofelia Jump On Click Slider
@cuinjune no hurries
i really like the pd style and all of the ideas. so its kind a simulation of a simulation of real electronic instruments
copy/cut/duplicate/paste/undo/redo also sounds great, if its not too much work. i think 2 modes would make sense, too. also the scaling is great, but it doesnt work with windows, so maybe there is something wrong with the keycode too? on my macbook i can only use "control + -" and make it smaller. but i have a very old (2009) macbook, perhaps they had a different keyboard layout? i also found that when i double click and then drag a new object, its position jumps to 0 0. everything else seems to work great.
i worked on the lissajous sequencer (which could be a module), its very minimalistic now. in the example you just need to click into the lissajous window to change the shape and then press play. it has 2 "voices" and is connect to 2 seperate synths. drag_v0.3k.zip
Purr Data 2.3.3
MacBook-Pro-de-Federico:~ federicocogo$ plutil -convert json -r -o - Applications/Pd-l2ork.app/Contents/Resources/app.nw/bin/pd-l2ork | sed -E -e 's/[{}]//g' -e 's/^ "(([^"]|\.))" : "(([^"]|\.))"./\1: \3/' -e 's/\(.)/\1/g'
Applications/Pd-l2ork.app/Contents/Resources/app.nw/bin/pd-l2ork: file does not exist or is not readable or is not a regular file (Error Domain=NSCocoaErrorDomain Code=260 "The file “pd-l2ork” couldn’t be opened because there is no such file." UserInfo=0x7fdb6a5037f0 NSFilePath=Applications/Pd-l2ork.app/Contents/Resources/app.nw/bin/pd-l2ork, NSUnderlyingError=0x7fdb6a503560 "The operation couldn’t be completed. No such file or directory")
MacBook-Pro-de-Federico:~ federicocogo$
Purr Data 2.3.3
placing another path gives as a result:
MacBook-Pro-de-Federico:~ federicocogo$ plutil -convert json -r -o - /Volumes/Macintosh HD/Users/federicocogo/Library/Preferences/org.puredata.pd-l2ork.plist | sed -E -e 's/[{}]//g' -e 's/^ "(([^"]|\.))" : "(([^"]|\.))"./\1: \3/' -e 's/\(.)/\1/g'
/Volumes/Macintosh: file does not exist or is not readable or is not a regular file (Error Domain=NSCocoaErrorDomain Code=260 "The file “Macintosh” couldn’t be opened because there is no such file." UserInfo=0x7feef9601640 NSFilePath=/Volumes/Macintosh, NSUnderlyingError=0x7feef96013b0 "The operation couldn’t be completed. No such file or directory")
HD/Users/federicocogo/Library/Preferences/org.puredata.pd-l2ork.plist: file does not exist or is not readable or is not a regular file (Error Domain=NSCocoaErrorDomain Code=260 "The file “org.puredata.pd-l2ork.plist” couldn’t be opened because there is no such file." UserInfo=0x7feef9513b80 NSFilePath=HD/Users/federicocogo/Library/Preferences/org.puredata.pd-l2ork.plist, NSUnderlyingError=0x7feef95062c0 "The operation couldn’t be completed. No such file or directory")
MacBook-Pro-de-Federico:~ federicocogo$
Purr Data 2.3.3
did not work 
terminal content:
MacBook-Pro-de-Federico:~ federicocogo$ plutil -convert json -r -o - ~/Library/Preferences/org.puredata.pd-l2ork.plist | sed -E -e 's/[{}]//g' -e 's/^ "(([^"]|\.))" : "(([^"]|\.))"./\1: \3/' -e 's/\(.)/\1/g'
path31: /Applications/Pd-l2ork.app/Contents/Resources/app.nw/extra/ekext
loadlib8: list-abs
loadlib14: motex
rate: 44100
loadlib28: jmmmp
path5: /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/fonts
path11: /Applications/Pd-l2ork.app/Contents/Resources/app.nw/extra/list-abs
nomidiin: True
loadlib17: pdogg
path14: /Applications/Pd-l2ork.app/Contents/Resources/app.nw/extra/maxlib
nloadlib: 35
path17: /Applications/Pd-l2ork.app/Contents/Resources/app.nw/extra/motex
noaudioin: False
nomidiout: True
audiobuf: 20
loadlib32: ekext
callback: 0
path20: /Applications/Pd-l2ork.app/Contents/Resources/app.nw/extra/pdogg
audiooutdev1: 0 2
path23: /Applications/Pd-l2ork.app/Contents/Resources/app.nw/extra/sigpack
noaudioout: False
path26: /Applications/Pd-l2ork.app/Contents/Resources/app.nw/extra/pan
loadlib21: sigpack
path6: /Applications/Pd-l2ork.app/Contents/Resources/app.nw/extra/cyclone
loadlib35: lyonpotpourri
path29: /Applications/Pd-l2ork.app/Contents/Resources/app.nw/extra/ext13
savezoom: 0
loadlib3: cyclone
loadlib10: markex
loadlib24: vbap
loadlib6: cxc
guipreset: default
path32: /Applications/Pd-l2ork.app/Contents/Resources/app.nw/extra/disis
audioindev1: 0 2
loadlib13: mjlib
loadlib27: hcs
loadlib9: mapping
path1: /System/Library/Fonts
npath: 33
loadlib16: pddp
path12: /Applications/Pd-l2ork.app/Contents/Resources/app.nw/extra/mapping
path7: /Applications/Pd-l2ork.app/Contents/Resources/app.nw/extra/zexy
path15: /Applications/Pd-l2ork.app/Contents/Resources/app.nw/extra/memento
path18: /Applications/Pd-l2ork.app/Contents/Resources/app.nw/extra/oscx
loadlib19: pmpd
flags: -helppath ~/Library/Pd-l2ork -helppath /Library/Pd-l2ork
loadlib31: iem_anything
midiapi: 4
path21: /Applications/Pd-l2ork.app/Contents/Resources/app.nw/extra/pixeltango
path2: /Library/Fonts
path24: /Applications/Pd-l2ork.app/Contents/Resources/app.nw/extra/smlib
loadlib34: disis
loadlib20: rradical
path27: /Applications/Pd-l2ork.app/Contents/Resources/app.nw/extra/hcs
path8: /Applications/Pd-l2ork.app/Contents/Resources/app.nw/extra/creb
loadlib1: libdir
nmidiin: 0
loadlib23: unauthorized
loadlib4: zexy
path30: /Applications/Pd-l2ork.app/Contents/Resources/app.nw/extra/ggee
loadlib12: memento
loadlib7: iemlib
loadlib26: freeverb~
path33: /Applications/Pd-l2ork.app/Contents/Resources/app.nw/extra/lyonpotpourri
loadlib15: oscx
naudioin: 1
loadlib29: ext13
path10: /Applications/Pd-l2ork.app/Contents/Resources/app.nw/extra/iemlib
verbose: 0
path3: ~/Library/Fonts
path13: /Applications/Pd-l2ork.app/Contents/Resources/app.nw/extra/markex
path9: /Applications/Pd-l2ork.app/Contents/Resources/app.nw/extra/cxc
loadlib18: pixeltango
path16: /Applications/Pd-l2ork.app/Contents/Resources/app.nw/extra/mjlib
path19: /Applications/Pd-l2ork.app/Contents/Resources/app.nw/extra/pddp
defeatrt: 0
naudioout: 1
loadlib30: ggee
blocksize: 64
path22: /Applications/Pd-l2ork.app/Contents/Resources/app.nw/extra/rradical
loadlib33: pdp
standardpath: 1
path25: /Applications/Pd-l2ork.app/Contents/Resources/app.nw/extra/unauthorized
path4: /usr/X11R6/lib/X11/fonts/TTF
nmidiout: 0
path28: /Applications/Pd-l2ork.app/Contents/Resources/app.nw/extra/jmmmp
loadlib22: smlib
loadlib2: Gem
loadlib5: creb
audioapi: 4
loadlib25: pan
loadlib11: maxlib
MacBook-Pro-de-Federico:~ federicocogo$
CPU keeps at 100% all time after launching pure data
Are you loading up any patches when it starts or are you starting it without any patches loaded? If it is a patch that is causing the problem, you could try starting with the -noloadbang flag. Also try starting it with -noaudio flag to see if it is indeed the dsp that is causing the issue. Also, check to see if other apps are causing similar behavior. I have worked on a few MBP models from 2012 recently, and it would seem that planned obsolescence is right on schedule, as there was a wave of 2011 and 2012 models having their GPUs spike performance and overheat late last year. Thats a long shot, but hell if I havent seen it with my own two eyes...
https://www.cultofmac.com/262861/early-2011-macbook-pros-dropping-like-flies-heat-issues-blame/
If that is relevant, try taking measures to ensure that your laptop stays cool and well ventilated. Even when the GPU isn't failing, overheating of the GPU causing those sorts of behavior is fairly common in MBPs from my experience.
MobMuPlat: can't save my files anymore
hi!
i have a big problem here and maybe someone knows how to fix it or can give me a tip:
i’m using the mobmuplat-editor and the app itself since a while now and up until yesterday everything worked quite well.
i’m designing an interface for a simple app on ipad. so, i’m using the mobmuplat-editor on my macbook in connection with pure data (works fine) and transfer the files to the
mobmuplat document folder on ipad to run them via the mobmuplat app (also works fine).
my problem: suddenly the mobmuplat-editor on my laptop does not save my .mmp files anymore. i can open a file but as soon as i add new elements (especially „label-objects“ for text) and try to save, the editor „freezes“ - it won’t save the changes i made and after 1-2 minutes i have to force-quit the program and the changes are lost.
it’s really strange because the patch itself is not very large or complicated, just some buttons/toggles in different colours, some sliders, some labels (the ones i already have are working fine).
i already tried to change the file directories, i tried to delete/reinstall the whole mobmuplat package, restarted the computer, even tried it on another macbook - but always the same problem.. as soon as i add label-objects and try to save afterwards, it loads and loads and then i have to force-quit the program. even if i make a complete new file and add some buttons or other objects.. when i add a label-object, i can’t save anymore..
does anyone know, what’s the problem? any suggestions what i can try? i’m really thankful for all
your help,
p
Best Audio Interface for a mac?
I second the notion that the Focusrite Scarlett line is a good way to go. I have the 18i8, since my setup needs a lot of inputs, but even that one was relatively affordable. Their newer Thunderbolt interfaces look even more enticing (although I'm biased, since I'm a drummer & always seeking lower latency).
As for Macs: until recently I was running PD on a 2010 iMac and a 2008 Macbook. The former was solid (until the graphics card gave out), the latter still to this day can run my most demanding patch at 70-80% CPU.
When the iMac died, I decided to upgrade to the new 2016 Macbook Pro (I was right in the middle of several Logic/FCP projects, and didn't want to jump ship to Linux at that precise moment). The new MBP is certainly slick & plenty fast enough for PD, but in terms of bang for your buck, you can get comparable processing speeds for far less money with an older Mac, or (as alexandros points out) a different brand of computer that can run Linux.
So, my advice would be to not do what I did....



