Re: [PD] udoo board sound issues
Hi Dan, Thanks for sharing these notes. They arrived in my inbox to coincide nicely with the delivery of my quad Udoo this morning! It would be great to see a full writeup of your Udoo setup at some point as I think many people will want to be doing a similar thing. All best, Jamie On 11 Mar 2014, at 14:14, Dan Wilcox danomat...@gmail.com wrote: Heres a trim of my notes: Enable realtime audio priority (if you haven't done it already): sudo su -c 'echo @audio - rtprio 99 /etc/security/limits.conf' sudo su -c 'echo @audio - memlock 25 /etc/security/limits.conf' sudo su -c 'echo @audio - nice -10 /etc/security/limits.conf' I disable pulseaudio. Make sure pulseaudio does not respawn itself (from http://voices.canonical.com/david.henningsson/2012/07/13/top-five-wrong-ways-to-fix-your-audio): echo autospawn=no ~/.pulse/client.conf Also add the following to ~/.bash_login to kill pulse audio if it's running on login: # kill pulse audio if it was spawned pulseaudio -k I'm not looking at the udoo run script, but I'm pretty sure I'm using the following with the US-25EX USB soudcard: pd -rt -nogui -alsa -audiodev 5 Use pd -listdev to get the device list from alsa. I chose 5 as the first 4 (from memory) are 1-2 (built in hardware plugin) 2-3 (HDMI audio hardware plugin). 5 is the USB hardware alsa dev. On Mar 11, 2014, at 4:05 AM, Simon Iten itensi...@gmail.com wrote: without jack i should add... On 11 Mar 2014, at 08:55, Simon Iten itensi...@gmail.com wrote: hey dan, unfortunately i’m in switzerland :-) would be great if you could post your setup somewhere or send the infos! i compiled pd from source as well. i start it from console (with -rt) and it works without problems with the builtin sound card. maybe the cheap card from dx.com just does not work properly with udoo. but please post your setup. thanks On 09 Mar 2014, at 22:26, Dan Wilcox danomat...@gmail.com wrote: I've tried my both Roland Edirol UA-25 UA-25EX and both work great. The dedicated USB controller makes these guys work as compared to an RPI where I can't get full duplex without tons of dropouts. I'm using a Linaro install which boots to the console and runs the PD through scripting. The speed is great as compared to my old wearable computer. 4 cores makes a difference. I had to recompile my kernel to add midi support, but that's working great. It's not too bad, actually. I also built Pd-vanilal from source which was pretty easy using ./configure + make. I also have a script which fetches externals and builds/installs the agains vanilla so I have the few externals I need. As with my previous experience running Pd + embedded Ubuntu, I get great performance with RT permissions, the -rt startup flag, and ALSA. Jack is needless overheard unless you want to work with other Jack-enabeld apps. Same with X windows, although my setup was running great in X with pd + ALSA in testing. From your description, it sounds like your main issue is jack pd are probably not running in realtime. I can sent you my install notes if you want (or put them online, as I've been meaning to). Also, are based in the NE within driving distance to Pittsburgh? We could do a patching circle/UDOO setup afternoon :D On Mar 9, 2014, at 5:14 PM, pd-list-requ...@iem.at wrote: From: Miller Puckette m...@ucsd.edu Subject: Re: [PD] udoo board sound issues Date: March 9, 2014 at 5:07:54 PM EDT To: Simon Iten itensi...@gmail.com Cc: PD list pd-list@iem.at H iSimon - I haven't tried any but the built-in yet but I have a few USB interfaces around here that I can try. I'm about to go on an intense trip but should be able to do some tests when I get back, assuming nobody else has figured this out first. cheers Miller On Sun, Mar 09, 2014 at 09:57:45PM +0100, Simon Iten wrote: hey list, does anybody that uses an udoo board have any recommendations on a usb-soundcard? should be very compact. i tried a cheap one from dx and i could not get any good results (loads of xruns even with periods 3 and 1024 and up frames in qjackctl) this is on the ubuntu version from udoo. are there some tweaks i can do to improve usb-sound capabilities? i thought maybe recompile the kernel with only usb-1 support since there is no option as on the pi to disable usb-2 via config, or am i missing something? is it better to use the usb-soundcard without jack (pd does not like the usb-soundcard either when i tried briefly)? the internal sound-input is to noisy for my application (guitar effect) cheers. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list Dan Wilcox @danomatika danomatika.com robotcowboy.com Dan Wilcox @danomatika danomatika.com
Re: [PD] NRPN question
On 12 Mar 2014, at 14:58, José Luis Santorcuato Tapia santorcuat...@gmail.com wrote: Hello dear list, I have a question: I'm working with a hardware synthesizer and need to modify parameters that are not properly midi. These parameters are of type NRPN, and wanted to know what would be the best way. Best regards! José You need [nrpnin] and [nrpnout] in David Mccallum's abstractions: http://sintheta.org/html/downloads.html Jamie ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] libpd separating gui from core
On 23 Feb 2014, at 20:29, Jonathan Wilkes jancs...@yahoo.com wrote: Things maybe acceptable to us PD grey beards, but at some point it would be nice to find a way to enter the modern, multicore multithreaded world. Moores law has shifted from clock speed to just add more cores years ago now, so it's not like buy a faster machine is going to magically solve single threaded speed issues. It's not acceptable, but if you want to move forward _and_ do work that will be in sync with or accepted into Pd vanilla I don't see a way forward. I can't even get help docs into Pd vanilla, and they were written to the PDDP spec that this community came up with and approved. And as you know, there's a publicly viewable list of the same exact frustrations from all kinds of developers with various styles of communication. Indeed. This reminds of discussions on the pd dev list, some 7 years ago (!), which ultimately resulted in the Vibrez project a closed fork of Pd-devel, which added (among other things) basic multi-threading and a revamped GUI. http://g.org/research/software/vibrez/ http://g.org/pub/grill-2007-pdcon-vibrez.pdf IMHO, the introduction to that paper makes for sobering reading for anyone considering spending any significant effort on core Pd development. Jamie ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] [announce] Integra Live 1.6 released
We are delighted to announce the latest release of Integra Live — an interactive audio application for musicians and music education Integra Live supports Mac OS X 10.6 or later and Windows XP or later. It can be downloaded from the Integra Live website: http://www.integralive.org Here's what's new in this version... * Module Manager with facilities to install and manage modules created with the new Integra Module Creator * MIDI monitor * MIDI learn * Module Library keyword search * Module Library filter by tag * Mute control for Project and Tracks * Non-linear parameter scaling * “Curve mode” for Envelope editing * Lock individual envelopes for editing * New scripting syntax, e.g.: TapDelay1.delayTime = math.random(10) * Temporary parameter lock override New modules: * Brightness Analyser * Noise Gate * Multi-band Compressor * Noisiness Analyser * Partial Analyser * Perceptual Loudness Analyser * Quad Soundfiler * Tempo Detector Join the community... Follow us on Twitter: @integralive Like us on Facebook: http://www.facebook.com/integra.live Cheers! -- The Integra Live team ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] [announce] Integra Module Creator 1.6 released
We are delighted to announce the release of the Integra Module Creator — a new tool for creating Integra Live modules using the Pure Data programming environment. Module Creator supports Mac OS X 10.6 or later and Windows XP or later. It can be downloaded from the Integra Live download site: https://sourceforge.net/projects/integralive/files (on Windows it comes bundled with the main installer) Module Creator provides a seamless workflow for: * Defining module parameters including ranges, allowed values, types and widgets * Laying out module widgets in a graphical editor * Creating module implementations using the Pure Data programming environment * Testing modules in the Integra Live software * Exporting modules to be loaded into the Integra Live module library A Quick Start guide including download links can be found here:http://www.integralive.org/tutorials/module-development-quick-start/ Detailed module development documentation can be found here:http://www.integralive.org/tutorials/module-development-guide/ Join the community... Follow us on Twitter: @integralive Like us on Facebook: http://www.facebook.com/integra.live Cheers! -- The Integra Live team ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] earGram: concatenate sound synthesis/generative music
Hi Gilberto, For me this is a really exciting and interesting project. Congratulations on the great work, I look forward to reading through your publications. best, Jamie On Sat, Oct 26, 2013 at 1:56 PM, Gilberto Bernardes bernard...@gmail.com wrote: Hi, I’m working on a project for my PhD that recombines audio segments according to pre-defined generative methods. For those familiarised with concatenative sound synthesis, earGram reformulates the notion of unit selection algorithms to encompass generative music strategies. It relies heavily on timbreID a known library for PD by William Brent. So, here's the website that hosts the project: https://sites.google.com/site/eargram/ You can find project examples in the download section as well. P In addition there are plenty of abstractions that may interest you, in particular clustering and dimensionality reduction algorithms... As you can guess, I would like to get feedbacks and advises. Best, Gilberto Bernardes ___ Pd-announce mailing list pd-annou...@iem.at http://lists.puredata.info/listinfo/pd-announce ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Direct-from-disk audio with position, loop, varispeed
On 8 Oct 2013, at 17:14, Thomas Grill g...@g.org wrote: Hey, you are right, there should be a packaging, or integration into pd-extended - but actually, i am not currently maintaining my externals at all because of a serious lack of time. They just work (or they don't). I have tried for years, but no one seems interested in volunteering to package or integrate flext and flext-based externals (xsample, py, dyn~, pool, fsplay~, clk, zeroconf and many others) for more general use. Well FWIW, I've now uploaded Mac OS build that includes the necessary localised dependencies: http://d.pr/f/RJok Obviously feel free to distribute this from your own server or whatever. If we do a Windows one I'll upload that too. best, Jamie ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Direct-from-disk audio with position, loop, varispeed
On 2 Oct 2013, at 03:19, Thomas Grill g...@g.org wrote: There are compiled binaries for Windows and Mac in http://g.org/data/dev/ext/windows/pd/ and http://g.org/data/dev/ext/macos/pd/ Please let me know if they work for you. best, Thomas Thanks Thomas, this seems to do what I need, however the external just hangs whilst loading on my 10.8 Mac. It's like the external goes into an infinite loop and never returns to the caller. I managed to compile from source, and this seems to work just fine, so maybe you just need to link your binary against more recent SDKs best, Jamie 2013/10/1 Thomas Grill g...@g.org Hey Jamie, there's a project sitting in my repo i developed some years ago. In my memory it worked pretty well. It depends on libsndfile and the quicktime API, although there might be a way to exclude the use of either one. https://svn.g.org/ext/trunk/fsplay/ best, Thomas 2013/10/1 Jamie Bullock ja...@jamiebullock.com Hi folks, I'm looking at options for direct-from-disk audio with Pd. My requirements are: - scrub / set current position within audio file - variable speed playback - looping - works on Mac OS X and Win32 So far I've come up with: [sfread2~] — crashes as soon as DSP is switched on (Mac OS X 10.8) [readanysf~] — seems good, but a few issues (e.g. audible clicking when changing playback speed) Any other options? best, Jamie ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- Thomas Grill http://g.org -- Thomas Grill http://g.org ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Direct-from-disk audio with position, loop, varispeed
On 8 Oct 2013, at 15:37, Thomas Grill g...@g.org wrote: Hi Jamie, thanks for the effort! - would you mind sending me the binary? Please also let me know whether it works for your task. Hi, I've uploaded the binary here: http://d.pr/f/UkwJ We're using readanysf~ for now since there are ready-built binaries for both Mac and Windows we can just drop into our deployment builds with curl. However, the disk footprint is a concern for us, so we may switch to fsplay~ if we can't build readanysf~ with fewer dependencies. best, Jamie 2013/10/8 Jamie Bullock ja...@jamiebullock.com On 2 Oct 2013, at 03:19, Thomas Grill g...@g.org wrote: There are compiled binaries for Windows and Mac in http://g.org/data/dev/ext/windows/pd/ and http://g.org/data/dev/ext/macos/pd/ Please let me know if they work for you. best, Thomas Thanks Thomas, this seems to do what I need, however the external just hangs whilst loading on my 10.8 Mac. It's like the external goes into an infinite loop and never returns to the caller. I managed to compile from source, and this seems to work just fine, so maybe you just need to link your binary against more recent SDKs best, Jamie 2013/10/1 Thomas Grill g...@g.org Hey Jamie, there's a project sitting in my repo i developed some years ago. In my memory it worked pretty well. It depends on libsndfile and the quicktime API, although there might be a way to exclude the use of either one. https://svn.g.org/ext/trunk/fsplay/ best, Thomas 2013/10/1 Jamie Bullock ja...@jamiebullock.com Hi folks, I'm looking at options for direct-from-disk audio with Pd. My requirements are: - scrub / set current position within audio file - variable speed playback - looping - works on Mac OS X and Win32 So far I've come up with: [sfread2~] — crashes as soon as DSP is switched on (Mac OS X 10.8) [readanysf~] — seems good, but a few issues (e.g. audible clicking when changing playback speed) Any other options? best, Jamie ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- Thomas Grill http://g.org -- Thomas Grill http://g.org -- Thomas Grill http://g.org ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Direct-from-disk audio with position, loop, varispeed
On 8 Oct 2013, at 16:12, Jamie Bullock ja...@jamiebullock.com wrote: On 8 Oct 2013, at 15:37, Thomas Grill g...@g.org wrote: Hi Jamie, thanks for the effort! - would you mind sending me the binary? Please also let me know whether it works for your task. Hi, I've uploaded the binary here: http://d.pr/f/UkwJ We're using readanysf~ for now since there are ready-built binaries for both Mac and Windows we can just drop into our deployment builds with curl. Just to clarify, the advantage of readanysf~ here is that it is packaged with the requisite dependencies. I find this very helpful, and I don't think it would take much to package up fsplay~ in a similar way i.e. with libsndfile, libvorbis or whatever zipped up in the same directory as fsplay~ with the rpaths in the binary modified accordingly. Of course, I also appreciate you are maintaining a massive amount of externals, not just this one, so the above approach may be unfeasible. Jamie ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] writesf~ time to flush to disk…?
On 1 Oct 2013, at 09:27, Thomas Mayer tho...@residuum.org wrote: On 30.09.2013 17:22, Jamie Bullock wrote: Could an outlet be added to writesf~, outputing the number of samples written to disk? The parent patch could then use this outlet to establish when writesf~ is ready to receive another open. I like the idea, but the outlet could just output a bang, when it is done, otherwise how do you determine that writesf~ has written all samples to disk? I meant that it should just output the _total_ samples written after it has flushed to disk. This would be consistent with the behaviour of [soundfiler] I believe. But yes, a bang would do the job. best, Jamie ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] Direct-from-disk audio with position, loop, varispeed
Hi folks, I'm looking at options for direct-from-disk audio with Pd. My requirements are: - scrub / set current position within audio file - variable speed playback - looping - works on Mac OS X and Win32 So far I've come up with: [sfread2~] — crashes as soon as DSP is switched on (Mac OS X 10.8) [readanysf~] — seems good, but a few issues (e.g. audible clicking when changing playback speed) Any other options? best, Jamie ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] writesf~ time to flush to disk…?
Hi folks, The documentation for writesf~ states that: You need not provide any disk access time between open and start, but between stop and the next open you must give the object time to flush all the output to disk This suggests that once writesf~ has received a stop after writing to disk, there is no way to determine whether i) writesf~ is ready to receive another open or ii) the file written to disk is ready for reading. Could an outlet be added to writesf~, outputing the number of samples written to disk? The parent patch could then use this outlet to establish when writesf~ is ready to receive another open. Jamie ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] csoundapi~ external question
On 18 Aug 2013, at 09:09, peiman khosravi peimankhosr...@gmail.com wrote: Dear all, When trying to load the csoundapi~ object I get this error: Library/Frameworks/CsoundLib64.framework/Versions/6.0/Resources/PD/csoundapi~.pd_darwin: dlopen(/Library/Frameworks/CsoundLib64.framework/Versions/6.0/Resources/PD/csoundapi~.pd_darwin, 10): no suitable image found. Did find: /Library/Frameworks/CsoundLib64.framework/Versions/6.0/Resources/PD/csoundapi~.pd_darwin: mach-o, but wrong architecture csoundapi~ ... couldn't create I have been told that the reason for this is because my build of PD is i386, and csoundapi~ is x86_64. I am on OS X 10.7.5 and have tried this with both vanilla and extended PD. Is there a x86_64 build available that I could try? You could try compiling Pd yourself, but it's not straightforward as either autotools is needed or you use the fallback makefile.mac in src/ which often needs tweaks to make it work. I notice Miller now has a 64-bit test build on his site, so you might want to (upgrade to OS X 10.8 and) try that. http://crca.ucsd.edu/~msp/software.html Good luck! Jamie ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] csoundapi~ external question
On 22 Aug 2013, at 10:13, peiman khosravi peimankhosr...@gmail.com wrote: Thanks Jamie, I saw the 64-bit test build but it's for OS X 10.8 or higher, I'm on 10.7. Is there a homebrew formula for PD? That would be really nice. I don't think so. I was considering putting one together actually, but it's all a question of time :) best, Jamie ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Reverse Kickstarter Update
On 30 Jul 2013, at 21:56, Jonathan Wilkes jancs...@yahoo.com wrote: At the very least, I think Connect is a bit confusing. It implies that there can be an unconnected state when the main purpose of the dialog is managing which things are connected. Maybe Apply Settings, Update Connection Settings, or even Update, etc is better. Ok. I think Update or Update Connection Settings is probably best. When would a user want to change a setting but not apply? Surely you want the actual settings in the backend to always reflect the current state of the preferences dialog and vice versa. best, Jamie ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Reverse Kickstarter Update
On 31 Jul 2013, at 16:11, Dan Wilcox danomat...@gmail.com wrote: On Jul 31, 2013, at 6:00 AM, pd-list-requ...@iem.at wrote: At the very least, I think Connect is a bit confusing. It implies that there can be an unconnected state when the main purpose of the dialog is managing which things are connected. Maybe Apply Settings, Update Connection Settings, or even Update, etc is better. Ok. I think Update or Update Connection Settings is probably best. When would a user want to change a setting but not apply? Surely you want the actual settings in the backend to always reflect the current state of the preferences dialog and vice versa. best, Jamie I think you misunderstand me. Of course the changes should be applied, I'm just saying I thought the Connect button label was a little confusing. Apply would work as well in this case, but I think something like Update Connection Settings etc is more verbose, but also more clear. What I meant by not having an apply button a few posts ago, was that in most Mac apps you don't have a 2 step process to change settings aka change then apply. When you change a setting that's it, it's both changed and updated at the same time. I do agree with Jonathan that, in this case, it makes sense to have a 2 step process. I was mainly pointing out I thought the labeling could be more clear. Actually, I don't think I expressed myself very well as I was arguing the opposite. I think the settings should take effect immediately and there shouldn't be an apply or connect or anything button — you just change a setting and that's it — done! Hence my question about when you would want to not apply the settings. I can't find any other application on my Mac that has an apply button in the audio prefs dialog, and FWIW, in Integra Live we managed to create an audio prefs without an apply step, based on Pd using IOhannes' [mediasettings] externals, so it's definitely possible. best, Jamie ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Reverse Kickstarter Update
On 31 Jul 2013, at 16:46, Jonathan Wilkes jancs...@yahoo.com wrote: Actually, I don't think I expressed myself very well as I was arguing the opposite. I think the settings should take effect immediately and there shouldn't be an apply or connect or anything button — you just change a setting and that's it — done! Hence my question about when you would want to not apply the settings. I can't find any other application on my Mac that has an apply button in the audio prefs dialog, and FWIW, in Integra Live we managed to create an audio prefs without an apply step, based on Pd using IOhannes' [mediasettings] externals, so it's definitely possible. My question: are all current (and imaginable future) audio APIs able to handle quick changes to the setttings? Say, if a user toggles Use Callbacks three times within 500ms and Pd tries to connect to ALSA each time, does ALSA handle that gracefully? (Or whatever backend-- I can't remember if ALSA has that option available atm.) I think that's a separate issue to whether or not you have an apply button. That is, you could have an apply button, but still be in a situation where the user can change state faster than the backend can respond. In any case, I think adding a UI component the purpose of which is to throttle user input is a bad idea. I don't want to be slowed down ;) I think you should design what you think is the best UI for humans, and then figure out how to make the business logic robust enough to handle problematic cases like the one you describe above as and when they arise. Just my 2¢ All best, Jamie ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Reverse Kickstarter Update
On 31 Jul 2013, at 17:07, Martin Peach martin.pe...@sympatico.ca wrote: I think you should design what you think is the best UI for humans, and then figure out how to make the business logic robust enough to handle problematic cases like the one you describe above as and when they arise. What if someone wants to change two or more settings without having them activated until all is correct? On the Mac network settings you have an apply button so you can change multiple things without getting stupid error messages because it's only half set up... That makes sense (kind of) for Network Settings because there's a degree of mutual interdependence between the settings — although I'd still prefer no apply (iOS doesn't have one for example). But in the case of audio / MIDI prefs the settings are independent once you've selected driver and device, so users explicitly wanting _not_ to apply a setting immediately seems like an unlikely corner case to me. Jamie ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [announce] Integra Live 1.5 released
Hi Patrick, Absolutely! We have a 1.6 release planned over the next few release with lots of improvements and fixes, and most interestingly for the Pd community, a module development SDK. I'll announce it when it's out. best, Jamie On 9 Jul 2013, at 22:54, Pagano, Patrick p...@digitalworlds.ufl.edu wrote: Is there any development with this Promising Software? I really liked how it worked and I am wondering if you are still working on it? Patrick -Original Message- From: Jamie Bullock [mailto:ja...@jamiebullock.com] Sent: Friday, January 18, 2013 10:48 AM To: Pagano, Patrick Cc: Nicolas Montgermont; pd-list@iem.at Subject: Re: [PD] [announce] Integra Live 1.5 released On 18 Jan 2013, at 15:29, Pagano, Patrick p...@digitalworlds.ufl.edu wrote: I agree. It looks very smooth and sexy, but I cannot figure out how to get it to make a peep. Hahaha. Include a demo song so people can hear it in action. Very sleek looking pp -Original Message- From: pd-list-boun...@iem.at [mailto:pd-list-boun...@iem.at] On Behalf Of Nicolas Montgermont Sent: Friday, January 18, 2013 10:27 AM To: pd-list@iem.at Subject: Re: [PD] [announce] Integra Live 1.5 released It is really impressive, specially the way pd is embedded so transparently inside it. Is there some place we can find a demo example track? Best, n Thanks both for these comments. There will at some point be on the website the set of works produced as part of the Integra Project, once these have been updated to the latest version of the software. However, I do also think a demo project is a good idea. In the interim -- there is a set of demo blocks that come with the application. Just drag a block from the Block Library on the left to a track. E.g. if you drag SoundfileLoop you should within a few seconds hear an african drum loop start. If this doesn't work for you, it would be helpful if you could report on the forum: http://integralive.uservoice.com Best, Jamie ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] Ninja Jamm is released
On 12 Apr 2013, at 11:16, Ed Kelly morph_2...@yahoo.co.uk wrote: Greetings. After 2 years of gestation, the Ninja Jamm iPhone app is finally released, running my Pure Data audio engine in libPd. This iPhone app requires iOS 5 or 6, iPhone 4/iPad 2 or better. The app is now available in the itunes store. Congratulations Ed, this is an impressive piece of work! best, Jamie ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] git repositories for all of pure-data/trunk?
Hi, I notice git repositories exist for the Pd and Pd-extended sources, but not for externals, abstractions or any of the other stuff currently in pure-data/trunk. Has there been any discussion about switching all of this over to git? Jamie ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] State of dssi/plugin support on Linux (Ubuntu 12.04)
Hi, On 7 Apr 2013, at 05:15, Ivica Ico Bukvic i...@vt.edu wrote: On 04/07/2013 12:08 AM, Ivica Ico Bukvic wrote: All, I did some digging around existing plugin solutions for fluidsynth and other synths on Linux and so far had no luck. pluginhost~ segfaults as soon as it is loaded (help patch does). Removing :hexter from the [pluginhost~ hexter.so:hexter 2] fixes this but one cannot open any of the guis (they all either do not do anything or eventually crash pd. The old fluid~ is gone, nowhere to be found, so is dssi~. It is possible that this problem stems from some weird configuration on my system but before I try digging in that direction, just wanted to see what everyone else's thoughts were on this one. The problem btw manifests both on local build of pd-extended and pd-l2ork. Not sure about vanilla... To add to this, jack-dssi-host fluidsynth-dssi.so works perfectly fine. In pd/pd-l2ork when creating [pluginhost~ fluidsynth-dssi.so] works (creates 3 outlets and reports no errors) but trying to open the gui does nothing. I do get a warning about DSSI path not set, but its defaults are correct (and the external finds the .so file fine). Trying something like [pluginhost~ calf.so:Reverb] (or reverb) or any other legitimate combo that uses :plugin crashes pd immediately. Has anyone else had any luck with it or has any alternatives? My intention is to fully support [pluginhost~] on Linux (dssi~ is deprecated and surpassed by pluginhost~), although I don't use Linux much these days, so I may not notice bugs quickly. I am away from my computer right now, but I'll take a look at these issues tomorrow morning and hopefully provide a fix. Best, Jamie -- http://jamiebullock.com -- Ivica Ico Bukvic, D.M.A Composition, Music Technology Director, DISIS Interactive Sound Intermedia Studio Director, L2Ork Linux Laptop Orchestra Head, ICAT IMPACT Studio Virginia Tech Department of Music Blacksburg, VA 24061-0240 (540) 231-6139 (540) 231-5034 (fax) disis.music.vt.edu l2ork.music.vt.edu ico.bukvic.net ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [announce] [pd-fileutils] released, a command-line tool for managing pd files
On 1 Mar 2013, at 15:34, s p seb...@gmail.com wrote: Actually I've had a crappy demo of patching in the browser running for quite a while now : http://funktion.fm/webpd/demos/simple-gui/simple-gui.html It works (not so well in Firefox, but in chromium it's fine). Wow! That's impressive, when I saw this thread I was just expecting a patcher, but you've actually got audio streaming back to the browser. How are you achieving that? A friend of mine is developing a generic graph editor for dataflow programming, and I've been planning to migrate to this forever now, but didn't have the time ... Do you have a link to that project? best, Jamie ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] Pd Vanilla download stats
Hi, Does anyone have download stats (monthly / yearly) for Pd Vanilla? I know there are some on Sourceforge, but that's not the complete picture — how about the downloads from Miller's site? Thanks, Jamie ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [announce] Integra Live 1.5 released
On 19 Jan 2013, at 10:55, Eran Sachs eransa...@hotmail.com wrote: Wow Jamie, This seems like something for which I've been waiting for ages. Amazing job! I have tested it with windows 7 Enterprose 64-bit and it works great. Can't wait to delve deeper into Integra... I might be getting ahead of myself, but any prjections as to when one could start creating one's own modules? Thanks for your work! Thanks for the kind words! I should point out that this was very much a team effort. Thanks should at least be given to the IEM team, who were responsible for a large portion of the module library. The full list of credits can be accessed via the application About window. Regarding module development, we plan to release the developer SDK in the Spring. I have now set up an Integra Live forum, so you might want to head there for announcements: http://integralive.org/forum/ Best, Jamie ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] Integra Live forum
Hi folks, I don't want to spam the Pd list with Integra Live announcements, but given the level of interest here, I thought I'd post a link to the new Integra Live forum in case it got buried in the other thread: http://integralive.org/forum I look forward to meeting some of you over there! best, Jamie ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [announce] Integra Live 1.5 released
On 18 Jan 2013, at 15:29, Pagano, Patrick p...@digitalworlds.ufl.edu wrote: I agree. It looks very smooth and sexy, but I cannot figure out how to get it to make a peep. Hahaha. Include a demo song so people can hear it in action. Very sleek looking pp -Original Message- From: pd-list-boun...@iem.at [mailto:pd-list-boun...@iem.at] On Behalf Of Nicolas Montgermont Sent: Friday, January 18, 2013 10:27 AM To: pd-list@iem.at Subject: Re: [PD] [announce] Integra Live 1.5 released It is really impressive, specially the way pd is embedded so transparently inside it. Is there some place we can find a demo example track? Best, n Thanks both for these comments. There will at some point be on the website the set of works produced as part of the Integra Project, once these have been updated to the latest version of the software. However, I do also think a demo project is a good idea. In the interim -- there is a set of demo blocks that come with the application. Just drag a block from the Block Library on the left to a track. E.g. if you drag SoundfileLoop you should within a few seconds hear an african drum loop start. If this doesn't work for you, it would be helpful if you could report on the forum: http://integralive.uservoice.com Best, Jamie ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [announce] Integra Live 1.5 released
On 18 Jan 2013, at 15:48, Pierre-Olivier Boulant po.boul...@free.fr wrote: Hi, It looks very nice indeed. Running the Windows version, I have a problem with the mouse. I can't interact at all with the GUI. I can click on the menu bar (File Edit View etc.), this much works but that's it. The GUI does not respond to any clicks. Windows 7, 64bit OS. I'm sorry to hear that. I must admit, we haven't yet tested on 64-bit Windows, so it's possibly to do with that. I hope you don't mind but I've added your report to the UserVoice forum: http://integralive.uservoice.com/forums/58883-general/suggestions/3565091-mouse-interaction-not-working-on-64-bit-windows If you vote for the issue, you will get an automatic notification when it is resolved. Jamie ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [announce] Integra Live 1.5 released
Hi Julien, On 18 Jan 2013, at 17:20, APO33 i...@apo33.org wrote: Hey Jamie, any chance to see a version for Gnu/Linux? it will be nice to help mac/winwin users to move on to flossOS ;-) Any help for the coding on nux, there is plenty people here that could help us, include us at apo33. That's really good to hear. There used to be a Linux version before Adobe withdrew support for the AIR runtime. That's the main issue TBH, since the binary swf produced by Flex compilers on any platform are actually portable provided you have the runtime to load it. This is all of course very annoying, since portability was one of the reasons we chose the AIR platform in the first place. It seems like the idea of Apache Flex for Linux is mainly to target Flex in the browser, which probably wouldn't work for Integra Live due to sandboxing issues. The upshot is that I think we will at some point end up porting our UI to something more robust. best, Jamie ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [announce] Integra Live 1.5 released
On 18 Jan 2013, at 19:26, Jonathan Wilkes jancs...@yahoo.com wrote: But I do have a question about: http://www.integralive.org/ Specifically, the png accompanying Turnkey Audio Processing-- specifically the outputs of GranularDelay1 going to the inputs of StereoReverb1. Look quickly then answer the question: Does out1 connect to in1 or in2? I'm not against bezier curves, but the GUI engine must handle them with care or they'll cause unnecessary problems. Good catch! I've added an issue to our tracker to devise a means to clarify connection flow in the case of overlaps. Jamie ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] [announce] Integra Live 1.5 released
Hi folks, I am delighted to announce the latest release of Integra Live — an interactive audio application for musicians and music education based on a Pure Data engine. Integra Live supports Mac OS X 10.6 or later and Windows XP or later. It can be downloaded from the Integra Live website: http://www.integralive.org Here's the walkthrough... - Connect over 60 audio modules from delays to granular synths - Incorporate live interaction with the routing and scripting panels - Automate parameters using linear or logarithmic envelopes - Setup audio scenes with keyboard and MIDI triggers - Add parameter controls to the live view for performance - Share and reuse your work with our integrated file format Coming soon… - Write your own Integra Live modules in Pure Data using our module developer SDK For news... Follow us on Twitter: @integralive For bugs and feature requests... Post on our forum: http://integralive.uservoice.com Have a great year! ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] bi-directional OSC over TCP from liblo
On 10 Nov 2012, at 17:10, Martin Peach martin.pe...@sympatico.ca wrote: On 2012-11-10 05:24, Roman Haefeli wrote: On Fre, 2012-11-09 at 17:19 +0100, IOhannes m zmölnig wrote: On 11/09/2012 02:51 PM, Jamie Bullock wrote: So, it seems like [packOSCstream] and [unpackOSCstream] are (un)packing message in a format that can't be used with external clients/servers. Is that correct? anyhow: originally OSC did not define how to transmit OSC-packets over a stream-based protocol like TCP/IP (that has no notion of ending packets). implementations that wanted to transmit OSC over stream-based protocols had to find solutions for themselves. a few years ago, the OSC specs have been extended, to explicitely mention SLIP encoding as the means to packetize streams of OSC-data. This was added to OSC 1.1, iirc. OSC 1.0 proposed to prepend to each OSC packet a 4 byte header that contains the byte count of following OSC packet. Old versions of [packOSCstream]/[unpackOSCstream] implemented this proposal. The latest version of liblo does exactly this. See liblo-0.26/src/send.c at line 411. It actually sends a packet containing only the length of the OSC message that is sent next. Thanks everyone, for the helpful suggestions and insights. It turns out that liblo-0.26 does indeed use the 4-byte header extension, however the current liblo git revision also contains functionality for using SLIP instead. I tested this with [unpackOSCstream], and I am now able to correctly receive OSC messages over TCP from liblo just fine. In case anyone finds this thread, looking at a similar issue, the solution on the liblo side is (with liblo from git), to add a call to lo_address_set_flags() on your lo_address before calling lo_send_*, i.e.: lo_address_set_flags(address, LO_SLIP); best, Jamie ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Resolved : Problem with alsa and command line option -nogui
On 9 Nov 2012, at 09:21, contact cont...@billard-francois-marie.eu wrote: With the delay betwen the loadbang and pd dsp 1 it's ok, This seems like a hack. Why 1000ms? Can we guarantee the DSP will be ready in 1second? Does it ever take longer? I think it would be a lot better to have a way to query when Pd is ready to process |pd dsp 1( It might be possible to do this with the [audiosettings] external, if not, it would definitely be a useful addition. best, Jamie thank's. François-Marie BILLARD Le 09/11/2012 02:22, James Dunn a écrit : Are you turning on dsp with a loadbang like this ? [loadbang] | [; pd dsp 1( If so, try adding a delay after the loadbang: [loadbang] | [delay 1000] | [; pd dsp 1( James Quoth contact, on 08/11/2012 15:53: Hello I'm new on this list and have any problem with pd in command line. When i try this command under linux pd-extended -nogui -alsa -audiodev 1 ./test.pd I haven't any sound and this message snd_pcm_open (input): Device or resource busy snd_pcm_open (output): Device or resource busy and when I try this one pd-extended -alsa -audiodev 1 ./test.pd the sound is ok. Thank's for your help François-Marie BILLARD ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list contact.vcf___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] bi-directional OSC over TCP from liblo
Hi all, Apologies for the rather esoteric question. I'm trying to send OSC to/from Pd over TCP using the liblo OSC library and the mrpeach/ OSC externals [tcpserver], [packOSCstream] and [unpackOSCstream]. I've attached my testing patch. I am able to connect to [tcpserver] from liblo, and receive raw bytes. However, [unpackOSCstream] seems unable to unpack the data. It just outputs nothing for the bytes received. Likewise, if I send to liblo from [tcpserver] using the |client( selector, liblo crashes with the message error? message too short?. So, it seems like [packOSCstream] and [unpackOSCstream] are (un)packing message in a format that can't be used with external clients/servers. Is that correct? Has anyone else managed bi-directional communication using OSC over TCP with an external application? Thanks, Jamie ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] bi-directional OSC over TCP from liblo
Hi Pedro, Thanks for the reply. To clarify I can OSC over *UDP* from liblo to/from Pd just fine using the mrpeach externals. It's using TCP, where I run into trouble. I think it's due to the streamed nature of TCP, and message boundaries, but I am not an expert on this. On 9 Nov 2012, at 14:00, Pedro Lopes pedro.lo...@ist.utl.pt wrote: hey jamie, Yep, in this project (https://vimeo.com/24818342) it was going back and forth from the core app (cpp) to pd. Using OSC. Cannot recall if TCP or not, but can probably track it down. (that should not make much of a difference at least outside the network layer). So you send from liblo and pd receives, but no data unpacks? Did I get it write? If you open a ./oscdump on command line you get the data? (meaning it would be a pd-side issue...) Yes that's correct. There is an example echo server that comes with liblo. I can get bidirectional communication liblo - using this example. If I replace one end of the communication with [tcpserver], liblo can connect, [tcpserver] receives data, but [unpackOSCstream] can't seem to unpack the data. Likewise [packOSCstream] doesn't seem to generate a data format that liblo can understand. best, Jamie ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Control-rate phasor~ clone
Replying to myself, here's an updated version based on [line]. Much more efficient, better resolution and with correct phase setting via the right inlet. phasor.pd Description: Binary data On 17 Oct 2012, at 17:29, Jamie Bullock ja...@jamiebullock.com wrote: Hi list, I have a requirement for a phasor that will run when DSP is off. I've therefore attempted a kind of phasor~ clone, which outputs floats in the range 0-1 at a given frequency. This could obviously be used as the basis for a range of control-rate oscillators. I've attached my first attempt, along with a help patch, based on the Pd A06 help patch. I consider my approach naïve. It seems to work, but I'm sure it could be improved. Anyone else attempted this? Any suggestions? best, Jamie phasor-help.pdphasor.pd ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Parsing .pd file to get dependency graph
On 12 Oct 2012, at 14:23, Claude Heiland-Allen cla...@mathr.co.uk wrote: On 12/10/12 14:10, Jamie Bullock wrote: Has anyone written a script to parse a .pd files and get its full tree of dependencies (externals and abstractions)? Vaguely started something like this in 2008, attached are some almost-trivial bash scripts etc. Not very robust, but it's a start. Doesn't work recursively yet (so no dependency tree). Feel free to modify/extend/etc, consider it under the same license as Pd itself. Thanks Claude, I'll take a look at this. If we get any further (e.g. recursive), I'll share the results back. best, Jamie ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] PD- dynamic patching - how to keep track of object creation number?
On 8 Oct 2012, at 18:30, adr...@gmail.com wrote: I know the command for creating an object, but I didn't know there's a command to destroy one. Which one is it? One option is to add some kind of UID to your object creation arguments, and then use find + cut messages to delete them. For example instantiate your objects: [MyObject unique-identifier extra arguments] You can delete them like this: |find +unique-identifier 1, cut( | [s pd-some-canvas] Of course, this solution only works if the thing you are trying to delete is an abstraction you've authored. best, Jamie -- http://jamiebullock.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] Control-rate phasor~ clone
Hi list, I have a requirement for a phasor that will run when DSP is off. I've therefore attempted a kind of phasor~ clone, which outputs floats in the range 0-1 at a given frequency. This could obviously be used as the basis for a range of control-rate oscillators. I've attached my first attempt, along with a help patch, based on the Pd A06 help patch. I consider my approach naïve. It seems to work, but I'm sure it could be improved. Anyone else attempted this? Any suggestions? best, Jamie phasor-help.pd Description: Binary data phasor.pd Description: Binary data ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] Parsing .pd file to get dependency graph
Hi, Has anyone written a script to parse a .pd files and get its full tree of dependencies (externals and abstractions)? Jamie ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] compiling pluginhost~ on Ubuntu/Mint
On 10 Oct 2012, at 21:24, Hans-Christoph Steiner h...@at.or.at wrote: I've got mixed feelings about this. It's clearly much preferrable to do it this way on Linux distros, which provide these packages. On Mac it's a minor headache to 1. install a package manager 2. install the dependencies 3. make sure the build system can find the dependencies On Windows: ?? OTOH, for the sake of including 3 headers in svn, everyone could just type make, and they're done. Anyhow, to conform to the policies and conventions of the Pd svn, I've removed the headers and added the requisite instructions to the README as suggested. I've seen people include external headers many times over the years, and I've also seen bugs arise because of it, because those included headers were out of date, and the person building didn't realized that the project included its own version of the header rather than using the 'official' one. The question to answer is: who are the people going to be building this from source? The vast majority of users will want to download the binaries and never even think about the source code. From my experience, I would guess that people who would want to compile it themselves will likely be interested in DSSI and LADSPA for other things also, and therefore will need to have those headers in a simple place for other projects too. I probably came across as more grumpy about this than I actually am! I agree with the exact points you've made here, but I can also think of cases where it's more desirable to commit things to svn. I tend to take a pragmatic view, weighing up the reasons for / against on a case-by-case basis. In this specific case I think you're right that the people compiling from source are likely to be on either a Linux audio box or Mac with Fink / MacPorts / Homebrew so I'm perfectly happy with the decision to remove the headers :) Does pluginhost~ work on Windows? I didn't realize that. Does anyone distribute dssi or ladspa binaries for Windows? It *should* work on Windows. The Audacity project provides a bunch of LADSPA plugins for Windows: http://wiki.audacityteam.org/index.php?title=Ladspa_Plug-ins pluginhost~ doesn't require that the UI part of DSSI is running, so it should make it possible to run some of the synths under Windows with no GUI. Jamie ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] compiling pluginhost~ on Ubuntu/Mint
On 10 Oct 2012, at 01:15, Hans-Christoph Steiner h...@at.or.at wrote: That fixed it. I just updated the Makefile to the latest version from the template. It now allows you to include the extra sources without having to modify the Makefile. It also has better support for building on Mac OS X = 10.7, since Xcode 4.x doesn't install the PowerPC tools by default. Great! I've just updated the Makefile so if looks in the include/ directory for headers as before. See svn 16376. Also, I noticed that some of the liblo code says it has a CPL license. It seems that code is not compatible with the GPL: https://en.wikipedia.org/wiki/Common_Public_License That was a typo. The version of liblo I took the code from was GPL v2. The website of liblo says its under the LGPL, which would be compatible. That's something that will need to be clarified before this can be uploaded to Debian. I've now added clarification to handlers_osc.c For the BSD-licensed code, the BSD license does have one requirement: that you include the original license file. You can just append it to the LICENSE.txt file. I've now added the necessary BSD inclusion to the affected .c files, it's only four lines. Generally tidied up all included licensing information so everything is clear and GPL-compatible in svn revision 16375. I just committed the debian-izing. If you want to try it, do this: sudo apt-get install debhelper devscripts dpkg-dev cd /path/to/externals/postlude/pluginhost~ make dist mv pluginhost~-1.0.tar.gz ../pd-pluginhost_1.0.orig.tar.gz debuild -uc -us Great. I don't have a Linux box around right now, but thanks for doing this. Jamie ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] compiling pluginhost~ on Ubuntu/Mint
On 10 Oct 2012, at 16:04, Hans-Christoph Steiner h...@at.or.at wrote: Great! I've just updated the Makefile so if looks in the include/ directory for headers as before. See svn 16376. It would be much preferrable if those headers were removed from the SVN and instead the README.txt included instructions for installing the packages needed to get those headers. Its actually against Debian policy to include files in a package that already exist in another package. For example, on Debian-derivs, its: I've got mixed feelings about this. It's clearly much preferrable to do it this way on Linux distros, which provide these packages. On Mac it's a minor headache to 1. install a package manager 2. install the dependencies 3. make sure the build system can find the dependencies On Windows: ?? OTOH, for the sake of including 3 headers in svn, everyone could just type make, and they're done. Anyhow, to conform to the policies and conventions of the Pd svn, I've removed the headers and added the requisite instructions to the README as suggested. The licensing stuff was probably the only blocker for uploading to Debian, so once you make a 1.0 release, that should be pretty straightforward. I've just bumped the version number to 1.0. svn 16380. best, Jamie ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Audio Preferences device list usability
On 8 Oct 2012, at 18:09, Hans-Christoph Steiner h...@at.or.at wrote: Using Pd-extended 0.43.3-20120930 on my Mac OS X 10.6.8 install, I see the whole string: Screen shot 2012-10-08 at 1.08.40 PM.png .hc So is this the result of a fix that has been applied to extended, but hasn't propagated upstream? 0.43.3 Vanilla on 10.8.2 still has the problem. Should I report it against vanilla on the tracker? Jamie On Oct 5, 2012, at 7:51 AM, Jamie Bullock wrote: Hi, Does anyone know where the device names that populate the Audio Settings preferences panel come from? For example on my Mac, I'm getting things like: (0)Built-in Microph What does (0) mean? Not the zero'th device, because for Output devices, both outputs are prefixed with (0). Why is Microphone truncated to Microph? Are these names coming from Portaudio? Or is Pd additionally mangling the names? best, Jamie ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] compiling pluginhost~ on Ubuntu/Mint
On 9 Oct 2012, at 19:26, Hans-Christoph Steiner h...@at.or.at wrote: I just tried to compile pluginhost~ on my Mint install. I have dssi-dev and ladspa-sdk installed. I just ran make and got: hans@palatschinken pluginhost~ $ make cc -I/usr/local/include/pd -I./include -DPD -DVERSION='1.0' -DHAVE_SYS_CLOSE_AUDIO -DHAVE_SYS_CLOSE_MIDI -fPIC -Wall -W -g -g -O0 -o jsearch.o -c jsearch.c jsearch.c: In function ‘LADSPADirectoryPluginSearch’: jsearch.c:40:5: error: unknown type name ‘bool’ jsearch.c:40:20: error: ‘false’ undeclared (first use in this function) jsearch.c:40:20: note: each undeclared identifier is reported only once for each function it appears in jsearch.c:82:27: error: ‘true’ undeclared (first use in this function) make: *** [jsearch.o] Error 1 Thanks for the bug report. Just fixed it in svn revision 16368. best, Jamie ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] nearest neighbour matching?
Hi Claude, On 5 Oct 2012, at 09:47, Claude Heiland-Allen cla...@mathr.co.uk wrote: Hi list, I have a -batch patch that randomly samples the parameter space of control signals to (some black box)* and uses [sigmund~] to detect pitched-ness vs unpitchedness, keeping the pitch info and then a notch filter to detect distortion: http://mathr.co.uk/softrockiii/2012-10-05_probe-puredata.png So I end up with gnuplots that look something like this: http://mathr.co.uk/softrockiii/2012-10-05_pitching-distortion.png Now I want to find the best match for a given pitch and distortion and get back the corresponding parameters that approximately reconstruct the desired sound. What's the best way to go about this? I might end up just hand-rolling some Lua for this kind of matching if no one has any better ideas. You may be interested in the [knn] external, which implements the k's nearest neighbour algorithm. It can be found in svn in postlude/knn. The classic paper on its use can be found here: http://www.music.mcgill.ca/~ich/research/icmc00/icmc00.timbre.pdf best, Jamie -- http://jamiebullock.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] nearest neighbour matching?
On 5 Oct 2012, at 10:20, Ed Kelly morph_2...@yahoo.co.uk wrote: There may be a way to use the simile algorithm (from ekext) that gives the matched-ness of two numbers based on an arbitrary window size, but it still might involve rolling your own. I have a feeling KNN is very efficient... Ed It's efficient, but there may still be room for optimisation in the implementation if that is a priority. It's also conceptually very simple, which is one reason I like it. best, Jamie ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] Audio Preferences device list usability
Hi, Does anyone know where the device names that populate the Audio Settings preferences panel come from? For example on my Mac, I'm getting things like: (0)Built-in Microph What does (0) mean? Not the zero'th device, because for Output devices, both outputs are prefixed with (0). Why is Microphone truncated to Microph? Are these names coming from Portaudio? Or is Pd additionally mangling the names? best, Jamie ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Looking for a way to add bytes to beginning of a file using [binfile]
On 20 Sep 2012, at 17:33, Antonio Roberts anto...@hellocatfood.com wrote: I'm attempting to use [binfile] to add additional bytes to a file. If I first read the file - using [read( - and then specify the write position - [writeat 0 ( - when I add bytes they _overwrite_ the already existing bytes instead of adding new ones. Previously I have used one [binfile] object to read a file output each byte of it to another [binfile] object. This method has worked great for small files but when I'm faced with 60mb files it takes far too long! Is there a way to add bytes to the beginning of a file without overwriting? DId you solve this in the end? [binfile] could be trivially extended to allow an |insert( method, which inserts bytes without overwriting. However, I suspect this kind of insert operation is going to be relatively inefficient even if it's done on the C side. Another option, as I suggested off-list is to use [shell] + cat, but this isn't portable. Something else you could explore is using [pdlua] and a bit of Lua script: http://www.lua.org/pil/21.2.2.html For the sort of work you're doing it wouldn't hurt to incorporate pdlua into your toolbox anyhow. best, Jamie ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] packOSC integer marshalling
Hi list, It looks like the mrpeach [packOSC] external converts Pd floats to OSC integers if the float value is equal to the float value cast to an int. From the source code: /* It might be an int, a float, or a string */ switch (a-a_type) { case A_FLOAT: f = atom_getfloat(a); i = atom_getint(a); if (f == (t_float)i) { /* assume that if the int and float are the same, it's an int */ returnVal.type = INT_osc; Implicitly converting floats to integers based on an arbitrary rule seems a bad idea to me. Why bother making the conversion? Why not send floats as floats? It's certainly going to cause problems for some clients. For example, if the client is expecting floats on a given OSC address, it may get: 0.5 - float 1.0 - int ??? 1.5 - float Which may result in dropped values or other anomalies. I am happy to send a code patch if people agree that this is a bug or at least bad design... best, Jamie ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] packOSC integer marshalling
Hi Martin, On 7 Sep 2012, at 14:13, Martin Peach martin.pe...@sympatico.ca wrote: I guess it's because all numbers in Pd are floats, but usually integer floats are meant to be integers. But obviously it's impossible for the code to know what the user wants, so you can also force the type by using the [sendtyped ...( message. Probably sending all numbers as floats will annoy an approximately equal number of people. Hmm... surely if it's impossible to know what the user wants, the best thing to do is just pass the values along without converting them. The client then has the option to coerce whole-number floats to ints if it wants to. Anyhow, if I can force all numbers to be floats with [sendtyped ...( that solves my my problem in practical terms. best, Jamie ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] 0.43.2 on Mountain Lion
Hi Paul, On 15 Aug 2012, at 11:19, Paul Money p...@apfrod.com wrote: Hi Anyone running pd vanilla on OSX 10.8 Mountain Lion? I tried vanilla 0.43.2 and nothing works. I can't open patches, switch DSP on/off or even quit. With full logging I see the actions are requested but nothing happens after that. 0.43.2 vanilla is working fine for me on Mountain Lion. Are you able to open a test patch by running Pd from the command line? Jamie ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] neural network for recognizing specific sounds?
see also this paper by Fujinaga and MacMillan: http://www.music.mcgill.ca/~ich/research/icmc00/icmc00.timbre.pdf ...and the [knn] external from Pd svn: http://pure-data.svn.sourceforge.net/viewvc/pure-data/trunk/externals/postlude/knn/ best, Jamie -- http://www.jamiebullock.com On 5 Aug 2012, at 17:29, tim vets timv...@gmail.com wrote: see also [bonk~]: bonk~-help.pd 'templates' subpatch gr, Tim 2012/8/5 patrick pured...@11h11.com have a look at timbreID from William Brent: http://williambrent.conflations.com/pages/research.html ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] PD file parsing lib
Hi Dan, On 18 Jun 2012, at 06:29, Dan Wilcox wrote: Has anyone written a plain C/C++ patch file parser? As in, load a patch and get objects, positions, etc ... I haven't written one, but I think such a library would be highly useful! My vote would be for plain C. best, Jamie ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] cheapest production-scale pd-anywhere platform?
Hi Tedb0t, On 16 May 2012, at 01:32, Tedb0t wrote: I see that the BeagleBone has had PD running on it, which is awesome, but ideally I'd find something cheaper/simpler still (I know this may be a pipe dream!) —t3db0t On May 15, 2012, at 8:19 PM, Tedb0t wrote: Hi all, I'm researching a possible project that would embed a pd patch into a product. It would basically be a couple of knobs and a 16-bit audio output. Anyone have any idea what's the cheapest way to do this that's production-scale? i.e. for hundreds of units, not hacked ipods, etc.. I'm looking for something on the order of $25, and ironically, Raspberry π is way, WAY overkill. There is the Cstick Cotton Candy, but I suspect this is too expensive for your requirements. http://store.cstick.com/ best, Jamie -- http://www.jamiebullock.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] what makes Pd-extended 0.43 so CPU-hungry?
Hi Katja, On 5 May 2012, at 20:43, katja katjavet...@gmail.com wrote: I've tried to use Oprofile on Debian, but this gives me a kernel failure soon as I start sampling. Does anyone know of a fine performance profiler for GNU/Linux? Katja You might want to try callgrind + kcachegrind... http://www.slac.stanford.edu/BFROOT/www/Computing/Optimization/genprof.html best, Jamie -- http://www.jamiebullock.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [pd] tables as patch storage
On 27 Mar 2012, at 18:41, Roman Haefeli wrote: I can only speak for myself (your opinion obviously differs), but I actually find the list-abs library pretty useful. Though, I am sometimes not using it directly, but copypasting stuff from it to my patches. And sometimes I really use it as a library. I find the goal of it being only vanilla rather a pragmatic than an academic one. I also expect Frank not to have made it only for academia's sake. I also find it useful especially for pure Pd projects. However, I would add that had it been developed for academic reasons only, this wouldn't necessarily be a bad thing. [list-abs] is a gold mine of Pd patching techniques and there's a lot to learn from it even if you don't use it. It's like a pragmatic API, with a very informative implementation! best, Jamie -- http://www.jamiebullock.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] latest Pd-Extended cpu usage (was: new editing features of Pd-extended 0.43, now in beta)
On 28 Feb 2012, at 21:10, katja wrote: On Tue, Feb 28, 2012 at 9:06 PM, Jamie Bullock ja...@postlude.co.uk wrote: Yup, I think this is related to the Portaudio driver. I reported it here: http://sourceforge.net/tracker/?func=detailaid=3100679group_id=55736atid=478070 I don't think it's Portaudio itself that's at fault, but rather the way it interfaces with Pd. DspFuncLib is in: /System/Library/Extensions/AppleHDA.kext/Content/Plugins/DspFuncLib.kext/Contents/MacOS. If you run command nm on the lib, you'll see a plethora of dsp functions like MultiBandCompressor, NoiseCanceller, Loudness, Softclip, Limiter and whatnot. Functions in this lib are called when the internal soundcard is used. When using an external soundcard with Pd, DspFuncLib is not called and that makes the big difference in CPU load. AppleHDA and mach_kernel are Apple libs as well and together with DspFuncLib they are responsible for the crazy CPU load in the 'idle-but-dsp-on' case. PortAudio functions are apparently statically built into Pd and they consume very little CPU time. It seems that you're right, so I've closed the bug (my apologies to PortAudio!). I guess the real 'fix' for this is that Pd now has a block size setting in Preferences. With a block size of 1024, using the PortAudio driver I get a CPU use of 2% with DSP on. Checking use callbacks also seems to reduce CPU. Here, I got a reduction of ~2% with that checked. Also, I'm not sure if this is an improvement in recent versions of OS X, but Pd now runs at only ~5% with DSP on using the PortAudio driver with a blocksize of 64. This is on a MacBook Air i7/1.8. best, Jamie -- http://www.jamiebullock.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] latest Pd-Extended cpu usage (was: new editing features of Pd-extended 0.43, now in beta)
On 28 Feb 2012, at 19:58, katja wrote: On Tue, Feb 28, 2012 at 7:12 PM, Rich E reakina...@gmail.com wrote: Anywho, the latest nightly build is still running at around 17% cpu for me before ever opening a patch. It's just enough to make my fans hum. :) I've attached a process sample from Activity Monitor, hope it helps track it down. An interesting question. On my MacBook with OSX 10.5 Pd is sometimes running as much as 27% in 'idle' state. When Pd is started, dsp if off but the adc/dac are not. Only after turning dsp on, and off again, the adc/dac are off. As you're on OSX, you can use the magnificent performance profiler Shark.app to get a better view of CPU load of functions. Most CPU time for adc/dac is consumed by DspFuncLib, AppleHDA and mach_kernel. Apparently, the system does a lot of processing on the audio stream without us asking for it. There's denoise, equalizer and fft functions amongst others. I don't think Pd can influence these routines, except by not using the adc/dac. CPU load for adc/dac depends on hardware. Using an external audio interface reduces the load. Yup, I think this is related to the Portaudio driver. I reported it here: http://sourceforge.net/tracker/?func=detailaid=3100679group_id=55736atid=478070 I don't think it's Portaudio itself that's at fault, but rather the way it interfaces with Pd. best, Jamie ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] libpd, the book!
Congratulations Peter. Just pre-ordered my copy! best, Jamie On 24 Feb 2012, at 01:42, Peter Brinkmann wrote: Hi, I'm happy to announce the release of my book on mobile audio development with libpd: http://shop.oreilly.com/product/0636920022503.do The ebook version is available now; printed copies will be available from amazon.com next week. Cheers, Peter ___ Pd-announce mailing list pd-annou...@iem.at http://lists.puredata.info/listinfo/pd-announce ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-announce mailing list pd-annou...@iem.at http://lists.puredata.info/listinfo/pd-announce ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] PD externals with Faust Online Compiler
Congratulations Yann, this is brilliant work. The new website looks great. I look forward to having a thorough play with it all. Best wishes, Jamie -- http://www.jamiebullock.com On 8 Feb 2012, at 16:48, yann orlarey wrote: Hi, We have recently redesigned the Faust website (http://faust.grame.fr) and its online compiler (http://faust.grame.fr/index.php/online-examples). It is now possible to generate Pure Data externals for Linux, Mac OSX and Windows. Here is how to proceed : - click on online examples in the main menu - (the first visit you have an help window, close it). - choose an example in the catalog, for instance Synthesizers/karplus32 - (customize the faust code to your needs) - click on tab C++ code - select puredata in the architecture menu - click on tab Exec File (can take several seconds to compile the code) - and then press the download button and unzip the content somewhere in your PD path. If you are using Firefox or Chrome you can directly drag and drop faust files from your desktop to compile them. You can also upload your own examples in the user sections to share them. If you have problems let me know... Cheers Yann ___ Pd-announce mailing list pd-annou...@iem.at http://lists.puredata.info/listinfo/pd-announce ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] pd~ search path
Hi all, I'm confused about how pd~ locates files loaded into its process using |pd~ start filename( Where does pd~ look for files? Does it make use of the search paths for the parent Pd instance? Can I use relative paths? I'd like to do something like: |pd~ start mydir/mypatch.pd( But where should I put mydir? Thanks! Jamie -- http://www.jamiebullock.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] CouchPdb 0.1
Hi Thomas, Congratulations, this sounds like a really useful project. The URL https://github.com/residuum/CouchPdb is giving me a 404 error however. All best, Jamie -- http://www.jamiebullock.com On 5 Sep 2011, at 19:31, Thomas Mayer wrote: Hello, I am proud to announce CouchPdb 0.1, a library for communication with CouchDB, a document-oriented database. The library consists of three objects: [couchdb] for the communication with CouchDB, [json-encode] for building JSON objects for storing in the database, and [json-decode] that uses the same mechanisms as [couchdb] for outputting JSON objects. Currently the Makefile is only optimized for Debian GNU/Linux Wheezy, you will need a version of libcurl-dev and libjson0-dev (alias json-c) installed. Help patches for the objects are included, please report bugs on the project homepage. For the help patches to work, you will need to have a running instance of CouchDB on localhost and port 5984 (standard port). https://github.com/residuum/CouchPdb Thanks for your attention and your help, Thomas -- When one's home has a really excellent computer capable of reaching other computers anywhere in the Galaxy, one scarcely needs to budge. (Janov Pelorat in: Isaac Asimov - Foundation's Edge) http://www.residuum.org/ ___ Pd-announce mailing list pd-annou...@iem.at http://lists.puredata.info/listinfo/pd-announce ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Compile on OS X 0.43-0
On 8 Jul 2011, at 19:21, Hans-Christoph Steiner wrote: I believe that's fixed in the HEAD of the pure-data git, but there isn't a 0.43.1 release yet. I just did a fresh git clone, but it doesn't seem to be fixed. Maybe someone has an uncommitted change? Is there a simple way to fix the problem? Jamie .hc On Fri, 08 Jul 2011 14:19 +0100, Jamie Bullock ja...@postlude.co.uk wrote: Hi all, I'm trying to compile the latest vanilla sources (0.43-0) on OS X 10.6.8. All goes fine, but on running pd I get: Error in startup script: couldn't read file 5400: no such file or directory Any ideas how to fix this? Thanks, Jamie ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] Compile on OS X 0.43-0
Hi all, I'm trying to compile the latest vanilla sources (0.43-0) on OS X 10.6.8. All goes fine, but on running pd I get: Error in startup script: couldn't read file 5400: no such file or directory Any ideas how to fix this? Thanks, Jamie ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] multiple [udpreceive n] instances
Hi all, It seems that both the mrpeach and iemnet udpreceive implementations are designed to not handle multiple object instances receiving on the same port. What I want to do is instantiate [udpreceive 5000] and then another [udpreceive 5000] I get the same data to both objects. Instead, in the case of mrpeach, the second object can't be instantiated, and iemnet/udpreceive just fails silently. Would the respective authors of these objects consider adding this 'multiple instances with same port' functionality? Alternatively, can anyone suggest away to achieve the same result with the existing objects? All best, Jamie ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] multiple [udpreceive n] instances
On 4 May 2011, at 13:26, IOhannes m zmoelnig wrote: well, problem is that ports are designed to be used exclusively (e.g. if you have a web-server running on port 80, you cannot have another webserver running on port 80. I get that, but it doesn't mean our Pd externals have to mirror the behaviour of lower-level operations. Currently [udpreceive 5000] means 'open a UDP socket on port 5000 and give me the received data', but that's not the only way. I'd like it to behave a little higher level: 'give me data received over UDP on port 5000'. In my version, we don't care if the object is creating a new socket, or giving us data from an already established socket. Jamie ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] multiple [udpreceive n] instances
On 4 May 2011, at 13:29, IOhannes m zmoelnig wrote: But: expect problems if you delete the original instance with the working/instantiated [udpreceive]... iemnet's [udpreceive] should take over in this case (at least that's what it does here; i cannot remember having designed this) Ah yes, just checked and you're right - nice feature! Jamie ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Making a Realtime Convolution External
Hi Seth, On 5 Apr 2011, at 01:54, Seth Nickell wrote: I'm planning to release our realtime convolution engine (extracted from http://meatscience.net/pages/convolution-reverb) as a GPLed Pd external. What is the advantage of this over Ben Saylor's [partconv~] external, which provides partitioned convolution? Jamie ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] sample stretcher?
There is also Phil Stone's [polygrainsynth], which can do the synchronous granular stretching thing too. http://www.pkstonemusic.com/polygrainsynth.html Jamie -- http://www.jamiebullock.com On 1 Apr 2011, at 14:40, Derek Holzer wrote: Miller's phase vocoder patch in the help files could do this using FFT resynthesis. Also my ParticleChamber abstraction (http://macumbista.net/?page_id=514) or Frank's [syncgrain~] object would do it with granular synthesis. Each approach has it's pluses and minuses. I don't know how long the Ableton folks worked on their stretching functions, but I think a long time. And there are still 5 different ones to choose from depending on the source material, which basically correspond to different grain lengths, density and overlap. Best, D. On 4/1/11 2:57 PM, João Pais wrote: Hi, I am looking for an object (or patch) that can stretch samples (rate of or than 1), like e.g. elasticx~ for max. I'm already looking around, but thought if I ask here for sugestions, people who know more than me can give a better example. Does anyone have a good sugestion? ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] pd 0.43-0 released
On 21 Mar 2011, at 23:26, Hans-Christoph Steiner wrote: On Mar 21, 2011, at 11:54 AM, Bernardo Barros wrote: Hi Miller and other devs, PD 0.43 has an annoying bug... He somehow capture a color from the default color theme system and applies to background color of the canvases. I use Openbox, but I have KDE installed (Arch). I reported this last year, but it seems nobody looked at it... Happy debugging season! :-) Cheers Try fixing it with a GUI plugin: So is this really a bug, or a feature? Either way, it seems to me that users should have to write GUI plugins to make Pd have a usable background colour. Jamie - make a new file, call it ANYTHING-plugin.tcl, replace ANYTHING with what you want to call it - save this file into your externals path: http://puredata.info/docs/faq/how-do-i-install-externals-and-help-files - try adding this line to your ANYTHING-plugin.tcl file: option add *PatchWindow*Canvas.background blue You can see an example here: http://pure-data.svn.sourceforge.net/viewvc/pure-data/trunk/scripts/guiplugins/simple_examples/gtklook-plugin.tcl?revision=15038view=markup .hc “We must become the change we want to see. - Mahatma Gandhi ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] Read/write of raw binary data
Hi all, Does there exist an external for reading and writing raw binary data from file? I tried with with [msgfile], which kind of works, but it doesn't give me an identical file if I read/write e.g. a JPEG. Context: I have a student who works on 'glitching' images and video by editing the files in a text editor and the saving. He'd like to experiment with doing this dynamically in Pd. Jamie ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Read/write of raw binary data
On 8 Mar 2011, at 17:55, David dfket...@gmail.com wrote: Hi! I developed some abstractions for reading/writing binary files, but they're somewhat limited in capability. They just load the data into a list of floats (one per byte), or save a list of floats to a file, and they read/write the entire file at once. They don't support repositioning within the file, or writing/reading a portion of the file. But if the files are relatively small, they might be suitable. I can send them to you later if you're interested, I'm at work right now. Thanks, that would be great! Jamie ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Scheduling events, libpd, and sequencing
Hi Peter, On 15 Feb 2011, at 22:56, Peter Kirn wrote: The notion is that the language side of things - Java, C++, Objective-C, Python, whatever -- will have the logic that determines how events are scheduled, and would handle user input that might alter the sequence of those events. The question is how best to have the *language* communicate with Pd. So, the structure would be: external logic message to Pd qlist/textfile scheduling inside Pd sound source in Pd audio callback in the embedded instance Can't the caller just communicate with Pd by passing messages through the libPd API? I thought the whole point of libPd was that you have your code and Pd's code running in the same process, with a lightweight wrapper in between, so there should be virtually zero latency in passing messages from your code to a running Pd. Certainly it shouldn't require timestamping to de-jitter. Or maybe I'm missing the point of your question... Jamie ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] [PD announce] timbreID spectrograms
Ditto, this is great work William, as is the rest of timbreID. Wonderful! Thanks for sharing, Jamie On 14 Feb 2011, at 23:01, Ed Kelly wrote: Your PD externals are exactly what we need! I was dreaming of some, but I don;t have the math. BRAVO Ed Metastudio 4 for Pure Data - coming soon! Metastudio 3 still available at http://sharktracks.co.uk/puredata - Original Message From: William Brent william.br...@gmail.com To: PD-List pd-list@iem.at Sent: Mon, 14 February, 2011 4:48:49 Subject: [PD] [PD announce] timbreID spectrograms Hi, If anyone needs to plot spectrograms, I just updated the timbreID examples with improved plotting patches. The old patches used structs, which were really really slow to draw. The new ones rely on GEM and are much more useable. You can plot cepstrograms as well. I also recently added a classic vocoder patch based on a Bark-spaced filterbank. You'll need the latest version of timbreID for all of this to work. If you're interested, the library example patches can be downloaded in separate packages here: http://williambrent.conflations.com/pages/research.html#timbreID -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-announce mailing list pd-annou...@iem.at http://lists.puredata.info/listinfo/pd-announce ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] zero crossing
On 16 Jan 2011, at 14:15, ronni montoya wrote: Hi, how can i calculate zero crossing in pd? is there any librery or something? Do you want the zero-crossing locations, or the zero-crossing rate? Jamie ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] what is the status of lv2 support in Pd?
Hi, I'm in the process of refactoring dssi~ (now called pluginhost~). It currently supports LADSPA and DSSI, but my intention is that it will eventually support LV2, VST and AudioUnit too. LV2 will come first, early next year I guess. Jamie On 24 Dec 2010, at 00:47, i...@vt.edu wrote: Hi all, I saw the gsoc page on the pd webpage suggesting efforts towards providing lv2 support for Pd but was unable to locate anything beyond that. Has there been any progress made in this direction? Ivica Ico Bukvic, D.M.A. Composition, Music Technology Director, DISIS Interactive Sound and Intermedia Studio Assistant Co-Director, CCTAD CHCI, CS, and Art (by courtesy) Virginia Tech Department of Music Blacksburg, VA 24061-0240 (540) 231-6139 (540) 231-5034 (fax) ico.bukvic.net ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Javascript in PD?
On 17 Dec 2010, at 13:40, Mathieu Bouchard wrote: On Fri, 17 Dec 2010, ALAN BROOKER wrote: Java for PD: http://www.le-son666.com/software/pdj/ Ah yeah, you can see on Pascal Gauthier's page (that page) that PDJ also supports JavaScript and any other language for which you can find an interpreter running on the JVM, and the example here is Rhino, a JavaScript interpreter. And don't forget k_cext, which allows you type C code directly into an object box, compiles it and runs it when the object gets a passed a message! Jamie ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Javascript in PD?
On 17 Dec 2010, at 18:08, ALAN BROOKER alan.brooker2...@gmail.com wrote: hmm.. sounds interesting do you have a link? It's in the pure-data svn repository on sourceforge under externals/k_cext On Fri, Dec 17, 2010 at 5:01 PM, Jamie Bullock ja...@postlude.co.uk wrote: On 17 Dec 2010, at 13:40, Mathieu Bouchard wrote: On Fri, 17 Dec 2010, ALAN BROOKER wrote: Java for PD: http://www.le-son666.com/software/pdj/ Ah yeah, you can see on Pascal Gauthier's page (that page) that PDJ also supports JavaScript and any other language for which you can find an interpreter running on the JVM, and the example here is Rhino, a JavaScript interpreter. And don't forget k_cext, which allows you type C code directly into an object box, compiles it and runs it when the object gets a passed a message! Jamie ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] libraries in Pd-extended 0.43
On 14 Dec 2010, at 04:58, Hans-Christoph Steiner wrote: On Mon, 2010-12-13 at 20:25 -0800, Jonathan Wilkes wrote: --- On Tue, 12/14/10, Mathieu Bouchard ma...@artengine.ca wrote: From: Mathieu Bouchard ma...@artengine.ca Subject: Re: [PD] libraries in Pd-extended 0.43 To: Jonathan Wilkes jancs...@yahoo.com Cc: PD List pd-list@iem.at, Hans-Christoph Steiner h...@at.or.at Date: Tuesday, December 14, 2010, 3:04 AM On Mon, 13 Dec 2010, Jonathan Wilkes wrote: As far as improving documentation, I'd say every object in Pd-ext should be documented clearly in a help patch that outlines: I'd say every class in Pd-ext should be documented clearly in a help patch that outlines: You're right. I'm an object-o-phile. But do you find Related Objects troubling-- should it be Related Classes? Pd doesn't really have classes like OOP (i.e. no inheritance), so I think it can be confusing to use that term. People have been saying objects for a long time with Pd and Max. The concept of classes doesn't have anything to do with inheritance, it's about separating the abstract representation of something (class), and a concrete instance of that thing (object). The terminology is used liberally in the Pd html manual http://www.crca.ucsd.edu/~msp/Pd_documentation/x2.htm and I think it's perfectly clear and not confusing at all. In fact it's more confusing to avoid the term class, since this then makes Pd inconsistent with other languages. Jamie ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] libraries in Pd-extended 0.43
On 14 Dec 2010, at 08:12, IOhannes m zmoelnig wrote: On 2010-12-14 05:58, Hans-Christoph Steiner wrote: Pd doesn't really have classes like OOP (i.e. no inheritance), so I as a matter of fact Pd implements a simple OOP system in C (including rudimentary inheritance). think it can be confusing to use that term. so i think that we should use the term People have been saying objects for a long time with Pd and Max. which doesn't make it any better. people have been saying objects for a long time in OOP, and you could use this very definition for Pd/Max like objects as well: it's the little rectangle things in your Pd-patch. iirc, this has all been discussed to the end, and since then the term objectclass has been pretty much established for what matju refers to as class right now. objectclass is a pleonasm and leads to: an object is an instance of an objectclass, eugh! ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Object vs Class
-- http://www.jamiebullock.com On 14 Dec 2010, at 15:51, Martin wrote: On 14/12/10 09:35 AM, Mathieu Bouchard wrote: Either object class (or objectclass) or class can do, as long as object is synonymous with instance, and there's a separate word meaning class in one way or another. Pd differs from C/python/lua etc. in that it's a graphical/visual language so I tend to think of the object as the thing that gets drawn on the screen by an instance of the class. So in Pd, object has a meaning distinct from instance. No it doesn't. If you look at Miller's carefully-worded manual, he refers to what you are talking about (the graphical representation) as an object box. We have classes , objects (instances), and object boxes (the graphical representation). This makes it very clear: http://www.crca.ucsd.edu/~msp/Pd_documentation/x2.htm#s1.2 Jamie ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Pd+pachube+python
On 6 Dec 2010, at 01:26, FernandoG dataf...@gmail.com wrote: Hi I am trying to comunicate pd with data coming from pachube (www.pachube.com) using a python script. The script ask for data from pachube web and convert the data to OSC protocol. Then the OSC mesagge is sent to pd. Pd recibe the OSC mesagge but something is wrong when unpack and route the data. It looks like someone is solving the same problem in Max. Maybe worth a look... http://www.frankmacdonald.co.uk/digital-economy-news/parsing-pachube-xml-data-directly-into-maxmsp-updated-version.html Jamie Data can not get in a number box object, this error mesagge is diplayed in console: error: gatom: no method for '1' The python script # to receive data import urllib2 # to send on with OpenSoundControl, OSC from simpleOSC import * import time initOSCClient('127.0.0.1', 57110) while 1: data=urllib2.urlopen('http://api.pachube.com/v2/feeds/2791.csv?key=hereyourcode') for l in data: d = l.strip().split(,, 2) print d sendOSCMsg('/test/num',d[0]) sendOSCMsg('/test/val',d[2]) time.sleep(5) # wait here some secs the patch #N canvas 599 0 450 476 10; #X declare -lib mrpeach; #X obj -217 25 import mrpeach; #X obj -220 112 unpackOSC; #X floatatom -219 277 5 0 0 0 - - -; #X obj -214 148 routeOSC /test; #X obj -191 348 print; #X floatatom -150 281 5 0 0 0 - - -; #X obj -219 66 udpreceive 57110; #X floatatom -92 290 5 0 0 0 - - -; #X obj -204 205 routeOSC /val /num; #X connect 1 0 3 0; #X connect 3 0 8 0; #X connect 6 0 1 0; #X connect 8 0 2 0; #X connect 8 1 5 0; #X connect 8 1 4 0; #X connect 8 2 7 0; any idea? thanks ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Wiki recent changes portlet
On 2 Dec 2010, at 17:47, Hans-Christoph Steiner h...@at.or.at wrote: Yeah, that's nice. Do you happen to know the name of the Plone Product? There are currently RSS feeds, but I don't know if you can get an RSS feed for the whole site. That would also be nice. If I read this right, then the Recent Changes portlet is a core part of plone, but installing SimplePortlet makes it easier to set up: http://www.contentmanagementsoftware.info/plone-book/manageportlets/index_html Jamie .hc On Dec 2, 2010, at 9:56 AM, Jamie Bullock wrote: Hi all, Would it be possible to show a recent changes portlet on the front page of the wiki? Personally I'd find this incredibly useful to see quickly what the latest changes are. What's hot? For example, recently some work has been done adding GUI Plugins pages, and it would be great to know this from the front page instead of having to search the site. For an example of what I mean see: http://www.jager.no/ Jamie -- http://www.jamiebullock.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list Access to computers should be unlimited and total. - the hacker ethic ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] Wiki recent changes portlet
Hi all, Would it be possible to show a recent changes portlet on the front page of the wiki? Personally I'd find this incredibly useful to see quickly what the latest changes are. What's hot? For example, recently some work has been done adding GUI Plugins pages, and it would be great to know this from the front page instead of having to search the site. For an example of what I mean see: http://www.jager.no/ Jamie -- http://www.jamiebullock.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] GUI Library
On 30 Nov 2010, at 11:51, john canning wrote: Hi Folks, I'm wondering if anyone knows of a good GUI library for Pd. I'm doing an interfacing project with students and would like to give them more options for making their interface look better. I'm looking for things like dials, buttons etc. SwingOSC might work for you. I was able to get the Pd example to work very easily with Pd-extended. http://www.sciss.de/swingOSC/ I'm not sure how much is working out-of-the-box though. Jamie ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Pd 20% idle CPU usage on MBP
On 10 Nov 2010, at 04:39, chris clepper wrote: Is this using the built-in speakers or the headphone jack? Plug in an optical cable and see if the CPU doesn't drop a lot. Or try a USB or Firewire interface. OK, just tried my Edirol FA-66 firewire interface. CPU does indeed drop to 12%. Still that's a ridiculous overhead for simply talking to the audio hardware. By default CoreAudio does a lot of processing on audio when using the built-in outputs. It used to mainly be limiting to keep the shitty speakers from blowing, but it has expanded over time. There is obviously a way to tell CoreAudio to cut that out, but how that is done via PortAudio is a question for the PA developers. The ml_set_interrupts_enabled is the blocking. Does that mean that Mathieu was wrong earlier about the PABLIO interface not causing any significant overhead? Jamie On Tue, Nov 9, 2010 at 10:48 AM, Jamie Bullock ja...@postlude.co.uk wrote: pd doing 'nothing': 10.6% 10.6% mach_kernel ml_set_interrupts_enabled 9.4%9.4%DspFuncLib iZRedist::DSP::Denoise::processWithLookahead(int, float* const*, int) 6.7%6.7%DspFuncLib iZRedist::DSP::FftImpl::FftComplex_InPlace(iZRedist::DSP::Cmplx*) const 6.3%6.3%DspFuncLib DspFuncHelper::process_IIR_xmm_LR(float*, float*, float*, float*, unsigned int) 3.8%3.8%DspFuncLib iZRedist::Util::Log(float) 2.8%2.8%AppleHDANativeInt32ToFloat32_X86 2.5%2.5%DspFuncLib iZRedist::DSP::FftImpl::FftReal(float const*, iZRedist::DSP::Cmplx*) const 2.3%2.3%DspFuncLib DspFuncDRC::_dynamicRangeControl(float*, float*, unsigned long, unsigned long) 2.0%2.0%mach_kernel lo_mach_scall ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Pd 20% idle CPU usage on MBP
On 8 Nov 2010, at 20:45, Mathieu Bouchard wrote: On Sun, 7 Nov 2010, Hans-Christoph Steiner wrote: As far as I understand it, Pd only does the 20% idle thing when its not really doing anything. So if Pd is working hard, it'll stop spending 20% of the CPU idling. It's not a real idle thing, it's a 20 % usage reported by 'top' while the user assumes that Pd shouldn't be doing anything. For example, you open pd, open no patches, and then 'top' reports 20 % usage and the computer gets a bit warmer than when Pd is not open. Can anyone run Apple Shark on this, so that we know what it is doing when it's doing that ? pd doing 'nothing': 10.6% 10.6% mach_kernel ml_set_interrupts_enabled 9.4%9.4%DspFuncLib iZRedist::DSP::Denoise::processWithLookahead(int, float* const*, int) 6.7%6.7%DspFuncLib iZRedist::DSP::FftImpl::FftComplex_InPlace(iZRedist::DSP::Cmplx*) const 6.3%6.3%DspFuncLib DspFuncHelper::process_IIR_xmm_LR(float*, float*, float*, float*, unsigned int) 3.8%3.8%DspFuncLib iZRedist::Util::Log(float) 2.8%2.8%AppleHDANativeInt32ToFloat32_X86 2.5%2.5%DspFuncLib iZRedist::DSP::FftImpl::FftReal(float const*, iZRedist::DSP::Cmplx*) const 2.3%2.3%DspFuncLib DspFuncDRC::_dynamicRangeControl(float*, float*, unsigned long, unsigned long) 2.0%2.0%mach_kernel lo_mach_scall Drilling down: 10.6% 10.6% mach_kernel ml_set_interrupts_enabled 0.0%4.3%mach_kernel thread_dispatch 0.0%3.0%mach_kernel thread_continue 0.0%0.9%mach_kernel semaphore_destroy 0.0%0.7%mach_kernel chudxnu_cpu_alloc 0.0%0.4%mach_kernel inval_copy_windows 0.0%0.4%mach_kernel fpnoextflt 0.0%0.3%mach_kernel semaphore_signal_internal 0.0%0.2%mach_kernel thread_call_enter1_delayed 0.0%0.2%mach_kernel wait_queue_unlink 0.0%0.1%mach_kernel wait_queue_sub_clearrefs 0.0%0.0%mach_kernel wait_queue_assert_wait 0.0%0.0%mach_kernel ast_taken 0.0%0.0%mach_kernel wait_queue_set_unlink_all 9.4%9.4%DspFuncLib iZRedist::DSP::Denoise::processWithLookahead(int, float* const*, int) 0.0%9.4%DspFuncLib iZRedist::DSP::Denoise::Process(float const* const*, unsigned int, unsigned int, float* const*, unsigned int) 0.0%9.4%DspFuncLibiZRedist::ANREngine::Process(unsigned int, float*) 0.0%9.4%DspFuncLib iZRedist::ANRProcess(iZRedist::ANREngine*, unsigned int, float*) 0.0%9.4%DspFuncLib DspFuncNoiseCanceller::process(unsigned long, unsigned long) 0.0%9.4%DspFuncLib DspFuncManager::process(void const*, void const*, unsigned long, unsigned long) 0.0%9.4%AppleHDA AppleHDAEngine::convertInputSamples_StereoToStereo_32(void const*, void*, unsigned long, unsigned long, _IOAudioStreamFormat const*, IOAudioStream*) 0.0%9.4%AppleHDA AppleHDAEngine::convertInputSamples(void const*, void*, unsigned long, unsigned long, _IOAudioStreamFormat const*, IOAudioStream*) 0.0%9.4%IOAudioFamily IOAudioStream::readInputSamples(IOAudioClientBuffer*, unsigned long) 0.0%9.4%IOAudioFamily IOAudioEngineUserClient::performClientInput(unsigned long, IOAudioClientBufferSet*) 0.0%9.4%IOAudioFamily IOAudioEngineUserClient::performClientIO(unsigned long, unsigned long, bool, unsigned long, unsigned long, unsigned long) 0.0%9.4%mach_kerneliokit_user_client_trap 0.0%9.4%mach_kernel get_user_regs 6.7%6.7%DspFuncLib iZRedist::DSP::FftImpl::FftComplex_InPlace(iZRedist::DSP::Cmplx*) const 0.0%6.6%DspFuncLib iZRedist::DSP::FftImpl::FftReal(float const*, iZRedist::DSP::Cmplx*) const 0.0%4.0%DspFuncLibiZRedist::DSP::Fft::FftRealCcs(float const*, float*) 0.0%4.0%DspFuncLib iZRedist::DSP::OversampledFilterbank::Decompose(float const* const*, int, float* const*, int, int) 0.0%4.0%DspFuncLib iZRedist::DSP::Denoise::processWithLookahead(int, float* const*, int) 0.0%4.0%DspFuncLib iZRedist::DSP::Denoise::Process(float const* const*, unsigned int, unsigned int, float* const*, unsigned int) 0.0%4.0%DspFuncLib iZRedist::ANREngine::Process(unsigned int, float*) 0.0%4.0%DspFuncLib iZRedist::ANRProcess(iZRedist::ANREngine*, unsigned int, float*) 0.0%4.0%DspFuncLib
Re: [PD] Pd 20% idle CPU usage on MBP
On 8 Nov 2010, at 15:45, Hans-Christoph Steiner wrote: Another thing to try is Miller's new callback support. Its a checkbox in the audio settings. That does improve things slightly, reducing CPU by about 3% to 17% on my MBP. By comparison, AudioMulch, which also uses PortAudio idles at around 5%. About this, I don't think anyone really thinks its good as it is, its just a matter of someone doing the work to improve it. The Jack support in Pd does seem to get a lot more work on it, so that's probably also a good reason why it works better. Sure, and I feel like we're starting that work by doing some diagnostics. Jamie ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Musical notation object on Pd
On 6 Nov 2010, at 18:16, Jaime Oliver wrote: Hi all, I once made a draft of an object to convertpitch/duration pairs to lilypond. At this stage, you get a score.txt, the contents of which you have to copy to a lilypond document (.ly) and typeset the score. It doesn't do any of the fancy drawing in the patch. It is an unfinished object for sure, so be patient, but perhaps there is something in the code that is helpful. It can all be found here: www.jaimeoliver.pe/src/pd2ly-may10.zip the score.txt document wil be created in your / directory. I was hoping to have some time in the future to finish it. in the meantime you can grab it and use it if it is helpful. In addition to this Graham Percival has just kindly agreed to make available his old Firelily code. From the README: This software package is intended to be an aid to producing algorithmic sheet music, either in real-time or not. It takes OSC (Open Sound Control) messages, which are easily produced in any music programming language (MAX/Msp, pd, supercollider, chuck, etc) and translates them into lilypond input files. As an option, these input files may be sent to lilypond immediately and the resulting images displayed. Alternatively, the data may simply be saved for extra manual tweaks and composition. This is a 5-years old project, so it might need some tweaking to get it working, but still the code/ideas might be useful to someone. Download: http://percival-music.ca/software/firelily-0.3.tar.gz All best, Jamie -- http://www.jamiebullock.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Pd 20% idle CPU usage on MBP
On 7 Nov 2010, at 18:36, Hans-Christoph Steiner wrote: As far as I understand it, Pd only does the 20% idle thing when its not really doing anything. So if Pd is working hard, it'll stop spending 20% of the CPU idling. I could be wrong tho, and that would be worth profiling. That's the key point: is Pd efficient when its doing stuff, rather than whether it uses extra CPU when idling. - Pd uses X% of the CPU talking with audio drivers when it is idle (even if audio is off) - When the audio driver is portaudio Pd uses ~20% of the CPU talking with the driver (under OS X on a 2.5 GHz MBP) 2 separate problems, the second being the most pressing. And yes, ~20% is the base level, so as soon as you start adding processing, CPU load goes up from there... I don't think portaudio is that great for realtime work, although I think this is bordering on worst-case (compared to other apps). I've a feeling the problem might lie in the buffer size used for passing audio to portaudio. Jamie ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Pd 20% idle CPU usage on MBP
On 8 Nov 2010, at 12:15, Jamie Bullock wrote: I don't think portaudio is that great for realtime work, although I think this is bordering on worst-case (compared to other apps). I've a feeling the problem might lie in the buffer size used for passing audio to portaudio. And I've just noticed that Pd uses the PABLIO (blocking I/O) interface to Portaudio. This might be part of the problem as it certainly isn't designed fo low-latency work. cf. http://music.columbia.edu/pipermail/portaudio/2002-March/000578.html Jamie ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Musical notation object on Pd
On 7 Nov 2010, at 10:23, João Pais wrote: As I said, this project seemed to me to be nice, and it's also at an advanced stage. http://sourceforge.net/projects/inscore/ Indeed! Wow, inscore (Interlude Score) seems to be another incredible project from GRAME. Thanks for the link. Very impressive. Jamie ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Purpose of sig~
On 4 Nov 2010, at 09:50, IOhannes m zmoelnig wrote: On 2010-11-03 15:46, Jamie Bullock wrote: Hi all, This is more of philosophical question than anything else. I'm curious to know why [sig~] hasn't been designed out of Pd. Why not have implicit control - signal conversion everywhere it is possible? For example why not allow this? |2( |3( || [+~ ] i don't think i understand your question. Well retrospectively, the question doesn't make any sense at all because it's based on a test I did with a (subsequently discovered) broken bang~. See bug https://sourceforge.net/tracker/?func=detailaid=3102828group_id=55736atid=478070 So I thought that implicit conversions weren't working, when in fact bang~ wasn't triggering my snapshot~. Jamie the above is totally legal on the versions of Pd i have installed on this machine. otoh, [sig~] has been there for ages and longer. some old patches might still use it, because _then_ you had to explicitely convert to signals. should [sig~] be removed and break these patches? and while i do use implicit float/signal conversion in my patches, i think explicit conversion is not that bad either: it may prevent people from hooking a slider into a [*~] and then complain why they get glitches. fgmasdr IOhannes ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Shifter~ Object for Linux?
On 3 Nov 2010, at 12:05, Derek Holzer wrote: [plugin~] works fine when given the proper creation arguments. That said, the creation arguments in the official help file may not be the correct ones for you! There was a few threads, one in the last year, about getting [plugin~] to work. You might check those. The best way to have LADSPA plugins in Pd is to use [dssi~]. Does everything plugin~ can do and more. Jamie ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] Purpose of sig~
Hi all, This is more of philosophical question than anything else. I'm curious to know why [sig~] hasn't been designed out of Pd. Why not have implicit control - signal conversion everywhere it is possible? For example why not allow this? |2( |3( | | [+~ ] Jamie -- http://www.jamiebullock.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Purpose of sig~
On 3 Nov 2010, at 16:14, Andy Farnell wrote: There are some uses of [sig~] which are not immediately obvious but turn out to be desirable. By definition it is useful any place you want a message domain value converted to a signal, without any further ado. Without it, relying only on implicit conversion you might never have access to a signal except by a degenerate idiom like [$1( | [line~] Crucially, [sig~] can be given a creation parameter, as in [sig~ 1], and will not need any messy initialisation like using a [loadbang] in order to obtain a signal constant immediately. Why might you want a signal constant? Perhaps for a relation like (1 - x), useful in panning, crossfading, or (1 / x) common in waveshaping. Matju raises a question over DSP on/off. I have encountered problems relying on implicit right inlet conversion with deep abstractions, so from practical experience it seems safer to use [sig~] in these circumsatnces. It also make code more readable to make important message/signal distinctions explicit. Thanks Andy. So: [sig~ 1] | [tabosc4~ foo] avoids: [loadbang] | |1( | [tabosc4~ foo] This is reason enough for me. best, Jamie On Wed, 3 Nov 2010 14:46:51 + Jamie Bullock ja...@postlude.co.uk wrote: Hi all, This is more of philosophical question than anything else. I'm curious to know why [sig~] hasn't been designed out of Pd. Why not have implicit control - signal conversion everywhere it is possible? For example why not allow this? |2( |3( || [+~ ] Jamie -- http://www.jamiebullock.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- Andy Farnell padawa...@obiwannabe.co.uk ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Purpose of sig~
On 3 Nov 2010, at 15:21, Mathieu Bouchard wrote: On Wed, 3 Nov 2010, Jamie Bullock wrote: This is more of philosophical question than anything else. I think of it as rather pragmatic. What does make a question philosophical according to you ? I mean that I'm interested in the reasoning behind including certain things in Pd and leaving others out, and why certain design decisions were taken. Maybe that is pragmatic, I don't know... I'm curious to know why [sig~] hasn't been designed out of Pd. But it *has* been designed out... afaik. Ah, then I've found a bug. If I create that graph after switching DSP on, it doesn't work. It seems I need to create the graph then switch DSP on. Jamie ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Pd 20% idle CPU usage on MBP
On 28 Oct 2010, at 17:55, Mathieu Bouchard wrote: On Thu, 28 Oct 2010, brandon zeeb wrote: This thread comes up every year or two, I'd say at least twice a year... I think I already wrote about it on pd-list this autumn, no...? But it's hard to search the archives about the frequency of that thread, as the keywords might not be consistent. I just know that the problem has existed for quite a few years and that I read about it on pd-list more than a handful of times. Indeed! I remembered it coming up and so I searched the archives before posting, but keywords like 'cpu' and 'usage' don't do very much. However, digging a little with Shark, I see that a high proportion of Pd's CPU time is spent talking with the audio hardware, so I try Google: DspFuncLib portaudio, and lo and behold: http://www.google.co.uk/search?q=DspFuncLib+portaudio Trouble is use jack doesn't solve the problem, it merely avoids it. So, zooming in a bit, I see at least two issues here: 1. there is a lot of activity in the underlying audio drivers when using the Portaudio driver on OS X, even when audio is off in the application. Let's call this the 'idle' CPU usage. IMO, this should be less than 1% on modern CPUs for well behaved applications. I've added this to the bug tracker. 2. there is a lot of activity in the underlying audio drivers when using the Portaudio driver on OS X, when audio is on in Pd. Comparison with AudioMulch, which also uses Portaudio suggests that is only in part a Portaudio problem. AudioMulch idles at ~10% on my machine. I suspect that the problem with Pd+portaudio may be due to a small buffer size used by Pd. I thought Pd's 'Delay' setting in audio preferences was supposed to handle this, but changing delay to 500ms, has no effect on CPU use. Also added to tracker. Jamie ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list