Re: [PD] Techniques for atomic/controlled variable updates
Hallo, Fred Smith hat gesagt: // Fred Smith wrote: The problem I'm having is that the single input parameter is processed to generate 4 control parameters for GEM - 2 indexes into the image list, and 2 gain scale factors used when blending the images. The issueis that when a control values enters the system, the 4 output parameters are updated in an order dictated by the messaging architecture of puredata - and, as the 4 output parameters are updated, they are momentarily inconsistent with each other. input_value | | pd mathematical what-have-you | | || out1out2out3 out4 So, an input value enters the system, and the outputs are updated based on the depth first traversal of the patch - out1, then out2, then out3, then out4. Meanwhile, GEM is rendering the output to the screen. So, suppose out1 then out2 get updated, and GEM renders a screen shot. At that point in time, out1 and out2 correspond to the new input parameter, and out3 and out4 correspond to the previous input parameter, and the resulting display shows artifacts of this inconsistency. I've managed to resolve my specific project's issue by rewriting the control algorithm such that the inconsistencies minimize the visual artifacts, but the fundamental update order problem remains unsolved, and I'm curious if others have dealt with this type of issue. Can anyone point me to techniques for managing this type of problem? Without any precautions, out1 ... out4 are independent from each other. If out1 ... out4 have to activate at the same time, you have to pack them into a single list. If you need a certain order, like out3 firing before out4 you have to use [trigger] objects to enforce that order, possibly chained. Ideally you should try to make your own in- and outlets follow a right-to-left activation order like almost everything else in Pd. Ciao -- Frank ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] Re : Split multichannel audio file into stereo pairs
Hi You could use [readsf~ 12] to read your file and then several [writesf~ 2] to record, but i guess you want something faster... However, I don't know how readsf~ behaves with 12 tracks/32-bits files (that's somewhat extreme). Baptiste De : Ignacio Viano ignaciovi...@gmail.com À : pd-list@iem.at Envoyé le : Mardi, 16 Juin 2009, 4h01mn 58s Objet : [PD] Split multichannel audio file into stereo pairs Hi everyone. I want to split a 32-bits 12 tracks audio file (aif) into 6 stereo files (consecutive pairs i.e. 1-2, 3-4, etc.). I've already tried with [soundfiler], but there seems to be many problems with large files (this one is aprox. 10 minutes lenght) and with 32-bits reading (I listen a kind of quantizing error noise, a sort of dithering-less noise). In fact, I'm thinking of reporting a bug on it, but I'd have to explain which exactly the problem is, and I need some time for that. Currently, I'm doing this manually with Audacity, but I need it to be automatic and, if possibly, with PD. Any ideas? Thanks Ignacio ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] PureData Bootcamp, Cardiff UK- Sept
Please excuse the cross posting: PureData Bootcamp Tuesday 1 September - Saturday 5 September The Royal Welsh College of Music and Drama is proud to offer an intensive 5 day PureData workshop. PureData is a free and open source real-time graphical programming environment used by artists to create a range of visual arts, theatre, dance, audio, installation, performance and media art works. This intensive boot-camp is designed for artists working in different media to explore the capabilities of PureData to create interactive environments, real-time sound design, physical modeling, manipulation of live visuals and interface authoring. The course will culminate in a performance/ installation/ concert of the work realised during the week. Participants are welcome to bring their own laptops, but full resources are provided. To apply for this course, please download the registration form here or contact the Events Team to receive a registration form via email or post Cost: £200 + VAT ***Early Bird Offer*** £100 + VAT Only Until August 1st How to Book Complete the booking form and return, enclosing a cheque or credit card payment details, to: Events Team, Royal Welsh College of Music Drama, Castle Grounds, Cathays Park, Cardiff CF10 3ER For a hard copy of the booking form contact the Events Team on 029 2039 1391 or email: shortcour...@rwcmd.ac.uk Although there is no application deadline, places are limited so early booking is recommended Additional Information If you have a disability please provide sufficient information at the time of booking so we can consider any special arrangements necessary The restaurant at the College will be open at lunchtime for the purchase of hot and cold meals Accommodation can be arranged through the College at Severn Point, the privately owned RWCMD Halls of Residence, at a cost of £20 per night. Severn Point offers indiviudal en-suite rooms which are arranged in flats of 6 bedrooms around a communal living and kitchen space. The Halls are aproximately 12 minutes walk from the College. To book a place in the Halls of Residence please fill out the booking form and return to the Events Team 3 weeks before the start of your course. If you require more information about any aspect of the accommodation please contact the Events Team on 029 20391 391. Further Queries If you have any queries about any aspect of this summer school please contact the Events Team on 029 20391 391 Terms and Conditions This course is suitable for individuals aged 16 + only. All information is correct at the time of writing; however, should there be any changes to general information, course content or tutors, students will be informed prior to the start of the Summer School For further information, contact: Events Team on 029 2039 1391 http://www.rwcmd.ac.uk/ Royal Welsh College of Music Drama, Castle Grounds, Cathays Park, Cardiff CF10 3ER A subsidiary of the University of Glamorgan Company registration 6013744, registered in England and Wales Coleg Brenhinol Cerdd a Drama Cymru, Maes y Castell, Parc Cathays, Caerdydd CF10 3ER Is-gwmni Prifysgol Morgannwg Cofrestriad cwmni 6013744, a gofrestrwyd yn Lloegr a Chymru ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] K8061 USB interface board in PD on Mac
Martin Peach schreef: I found this googling K8061 protocol, it seems to be source code for a linux driver for the K8061: http://doip.laupro.nl/browser/doip/k8061/trunk/k8061.c?rev=109 Maybe it could be ported to Mac? I saw that one too and was thinking about setting up a Linux distro in Virtualbox to try it. The key question for me would remain if that app can communicate real time with PD to use the K8061 as controller. Anyhow, it's not just a serial interface like Arduino uses. Correct, it's a bit more advanced and has nice features that in potential can be very powerful... If one can program :P the dll does all the communication with the card. the pd object, or whatever program, uses commands provided by the dll. I have read the instructions and the codes of the K8061. Since your external is just a dll if I am right, I will try to explore the possibilities to rewrite it for the 8061. I have no knowledge about writing dlls but am a fast learner so I'll take up that challenge. i further think, that when using a virtual os like virtual box or wine, the communication with hardware is handled by the host os. correct me if i'm wrong. The OS on virtualbox can communicate directly with the installed USB bus. my humble suggestion, if asked for, was: why not use an arduino? or modify some joystick to your needs and use 'hid'? I started out with Joysticks and HID in conjunction with USB Overdrive and such but I just want more ins AND outs, analog AND digital. Arduino seems okay but limited as well. So the first thing I will explore now is rewriting the dll and testing it on my virtual windows machines (XP and Win7). Thanks, Wilfred ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Re : Split multichannel audio file into stereo pairs
dwanafite wrote: Hi You could use [readsf~ 12] to read your file and then several [writesf~ 2] to record, but i guess you want something faster... in 0.42 you can use batchmode to do immediate (faster-than realtime) processing. in older versions you can just use upsampling to speed up the process. However, I don't know how readsf~ behaves with 12 tracks/32-bits files (that's somewhat extreme). not to my knowledge. i have played back 24-channels files as well. mfdasrt IOhannes ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] K8061 USB interface board in PD on Mac
Wilfred de Zoete wrote: Martin Peach schreef: I found this googling K8061 protocol, it seems to be source code for a linux driver for the K8061: http://doip.laupro.nl/browser/doip/k8061/trunk/k8061.c?rev=109 Maybe it could be ported to Mac? I saw that one too and was thinking about setting up a Linux distro in Virtualbox to try it. The key question for me would remain if that app can communicate real time with PD to use the K8061 as controller. Anyhow, it's not just a serial interface like Arduino uses. Correct, it's a bit more advanced and has nice features that in potential can be very powerful... If one can program :P the dll does all the communication with the card. the pd object, or whatever program, uses commands provided by the dll. I have read the instructions and the codes of the K8061. Since your external is just a dll if I am right, I will try to explore the possibilities to rewrite it for the 8061. Well Pd externals for Windows are all dlls. The dll shipped with the 8061 is closed source but at least there is a development kit with a header file: http://www.vellemanusa.com/downloads/files/downloads/k8061_vistapack_2007v1.zip I have no knowledge about writing dlls but am a fast learner so I'll take up that challenge. It should be not too hard to adapt an example program from the sdk to be a Pd external. http://pdstatic.iem.at/externals-HOWTO/ is the standard reference for Pd externals. i further think, that when using a virtual os like virtual box or wine, the communication with hardware is handled by the host os. correct me if i'm wrong. The OS on virtualbox can communicate directly with the installed USB bus. my humble suggestion, if asked for, was: why not use an arduino? or modify some joystick to your needs and use 'hid'? I started out with Joysticks and HID in conjunction with USB Overdrive and such but I just want more ins AND outs, analog AND digital. Arduino seems okay but limited as well. There is now a bigger Arduino: http://arduino.cc/en/Main/ArduinoBoardMega Martin So the first thing I will explore now is rewriting the dll and testing it on my virtual windows machines (XP and Win7). Thanks, Wilfred ___ 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 + git
Hi everyone, A little question about work with git in patch repositorys: Can i acces directly in pd my older revisions? I'm doing in the wrong way i think, i pickup some commit id and save with another name and than open pd :p thanks cristiano ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] K8061 USB interface board in PD on Mac
hallo, i found this: http://mac.softpedia.com/get/Utilities/K8055-User-Interface.shtml. quote: Included is a static library that can be used for easily developing other applications and closely replicates the Velleman Windows .DLL functions. end quote so maybe you can use this as a starting point and extend it. i think the k8061 is a double k8055, right? for the pd object, if i can find the source code i can post it if you like. (i have to search various harddrives and usbsticks) ciao olli So the first thing I will explore now is rewriting the dll and testing it on my virtual windows machines (XP and Win7). Thanks, Wilfred ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list _ http://redirect.gimas.net/?n=M0906xIE8_MSN3_WW Hol Dir den neuen Internet Explorer 8 mit MSN-Toolbar___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] pd + git
cristiano figueiró wrote: Hi everyone, A little question about work with git in patch repositorys: Can i acces directly in pd my older revisions? I'm doing in the wrong way i think, i pickup some commit id and save with another name and than open pd :p hmm, i'm not sure whether i fully understand your question. do you mean like in svn, where you can open both mypatch.pd and .svn/text-base/mypatch.pd.svn-base ? i don't think this is possible with git, as it stores the meta-data in a binary compressed format. (but then i don't use git) gmasdr IOhannes ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] PDF of Kreidler´s Loadbang book
Hi all. I´m new in Pd and the Pd-list. I built a PDF file of the English translation of the Johannes Kreidler´s book Programming Electronic Music with Pd also known as Loadbang and I think that this could be usefull for everybody. I maid this only with the English translation because is the only language I can read so far (I`m brasillian). But there is one problem in the file: I had to squeeze some images so they can fit in the page (I used A4 because is the regular size here in Brazil). So I included in the zip file the .odt (OpenOffice) file that I used to build the PDF so I guys can maybe make some changes to make it look better, if you will. Anyway, here is the download link: http://rapidshare.com/files/245237474/kreidler_pemwpd.zip.html Best of all Caio G. de Barros ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] pd + git
exactly, well...i can acces every commit in text format, then save as othername.pd and then open pd..anyone maintain pd patches repos in git? On Tue, Jun 16, 2009 at 2:00 PM, cristiano figueiró figoc...@gmail.comwrote: exactly, well...i can acces every commit in text format, then save as othername.pd and then open pd..anyone maintain pd patches repos in git? On Tue, Jun 16, 2009 at 1:19 PM, IOhannes m zmölnig zmoel...@iem.atwrote: cristiano figueiró wrote: Hi everyone, A little question about work with git in patch repositorys: Can i acces directly in pd my older revisions? I'm doing in the wrong way i think, i pickup some commit id and save with another name and than open pd :p hmm, i'm not sure whether i fully understand your question. do you mean like in svn, where you can open both mypatch.pd and .svn/text-base/mypatch.pd.svn-base ? i don't think this is possible with git, as it stores the meta-data in a binary compressed format. (but then i don't use git) gmasdr IOhannes ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Techniques for atomic/controlled variable updates
Thanks to both Jonathan and Frank for your replies. Took me a bit, but I now understand the pack list suggestion. I still fear I may have issues once I unpack the list (as, it will resume the right-left propagation of those values into the rendering piece of the patch), but this gives me a better understanding of the tools to use for ordering messages. Thanks again, -fred On Mon, Jun 15, 2009 at 11:41 PM, Frank Barknechtf...@footils.org wrote: Hallo, Fred Smith hat gesagt: // Fred Smith wrote: The problem I'm having is that the single input parameter is processed to generate 4 control parameters for GEM - 2 indexes into the image list, and 2 gain scale factors used when blending the images. The issueis that when a control values enters the system, the 4 output parameters are updated in an order dictated by the messaging architecture of puredata - and, as the 4 output parameters are updated, they are momentarily inconsistent with each other. input_value | | pd mathematical what-have-you | | | | out1 out2 out3 out4 So, an input value enters the system, and the outputs are updated based on the depth first traversal of the patch - out1, then out2, then out3, then out4. Meanwhile, GEM is rendering the output to the screen. So, suppose out1 then out2 get updated, and GEM renders a screen shot. At that point in time, out1 and out2 correspond to the new input parameter, and out3 and out4 correspond to the previous input parameter, and the resulting display shows artifacts of this inconsistency. I've managed to resolve my specific project's issue by rewriting the control algorithm such that the inconsistencies minimize the visual artifacts, but the fundamental update order problem remains unsolved, and I'm curious if others have dealt with this type of issue. Can anyone point me to techniques for managing this type of problem? Without any precautions, out1 ... out4 are independent from each other. If out1 ... out4 have to activate at the same time, you have to pack them into a single list. If you need a certain order, like out3 firing before out4 you have to use [trigger] objects to enforce that order, possibly chained. Ideally you should try to make your own in- and outlets follow a right-to-left activation order like almost everything else in Pd. Ciao -- Frank ___ 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] Re : Split multichannel audio file into stereo pairs
On Tue, 2009-06-16 at 09:03 +, dwanafite wrote: Hi You could use [readsf~ 12] to read your file and then several [writesf~ 2] to record, but i guess you want something faster... However, I don't know how readsf~ behaves with 12 tracks/32-bits files (that's somewhat extreme). this is not a bad idea, i'd say. you can put both, the [readsf~ 12] and the six [writesf~], into an upsampled subpatch to make it faster (using a [block~] object). even if your harddrive wouldn't be able to read or write that fast, you won't have any dropouts in the resulting files, since pd works in a deterministic manner. since version 0.42, there is a -batch flag, that allows you to run pd as a sound 'renderer at maximum speed, similar to the 'bounce-to-file' option in some DAWs. then you don't even need any [block~] trickery anymore. roman ___ De : Ignacio Viano ignaciovi...@gmail.com À : pd-list@iem.at Envoyé le : Mardi, 16 Juin 2009, 4h01mn 58s Objet : [PD] Split multichannel audio file into stereo pairs Hi everyone. I want to split a 32-bits 12 tracks audio file (aif) into 6 stereo files (consecutive pairs i.e. 1-2, 3-4, etc.). I've already tried with [soundfiler], but there seems to be many problems with large files (this one is aprox. 10 minutes lenght) and with 32-bits reading (I listen a kind of quantizing error noise, a sort of dithering-less noise). In fact, I'm thinking of reporting a bug on it, but I'd have to explain which exactly the problem is, and I need some time for that. Currently, I'm doing this manually with Audacity, but I need it to be automatic and, if possibly, with PD. Any ideas? Thanks Ignacio ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] K8061 USB interface board in PD on Mac
Thanks for the link and if it is not too much work for you the source code would be great. chau Wilf a. tonal schreef: hallo, i found this: http://mac.softpedia.com/get/Utilities/K8055-User-Interface.shtml. quote: Included is a static library that can be used for easily developing other applications and closely replicates the Velleman Windows http://mac.softpedia.com/get/Utilities/K8055-User-Interface.shtml# .DLL functions. end quote so maybe you can use this as a starting point and extend it. i think the k8061 is a double k8055, right? for the pd object, if i can find the source code i can post it if you like. (i have to search various harddrives and usbsticks) ciao olli So the first thing I will explore now is rewriting the dll and testing it on my virtual windows machines (XP and Win7). Thanks, Wilfred ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list Surfen - optimiert für MSN. Hol Dir die neue Version des Internet Explorers - kostenlos! http://redirect.gimas.net/?n=M0906IE8_MSN1_WW ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] GEM objects missing
hi list, i am looking for [pix_buffer_filmopen] (there is a helpfile, but it can't be created and [pix_substract] which is referenced in the [pix_diff] helpfile but doesn't create eiher. GEM: Graphics Environment for Multimedia GEM: ver: 0.91.3 'tigital' GEM: compiled: May 30 2009 Pd-ext 0.41.4 rc5 m. PGP.sig Description: Signierter Teil der Nachricht ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] GEM objects missing
Hello, Have you try to replace [pix_buffer_filmopen] with [Gem/ pix_buffer_filmopen] ? ++ Jack Le 16 juin 09 à 23:52, Max a écrit : hi list, i am looking for [pix_buffer_filmopen] (there is a helpfile, but it can't be created and [pix_substract] which is referenced in the [pix_diff] helpfile but doesn't create eiher. GEM: Graphics Environment for Multimedia GEM: ver: 0.91.3 'tigital' GEM: compiled: May 30 2009 Pd-ext 0.41.4 rc5 m. ___ 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] Re : Split multichannel audio file into stereo pairs
IOhannes m zmölnig wrote: dwanafite wrote: Hi You could use [readsf~ 12] to read your file and then several [writesf~ 2] to record, but i guess you want something faster... in 0.42 you can use batchmode to do immediate (faster-than realtime) processing. in older versions you can just use upsampling to speed up the process. If you are on a Linux box you can use sox: sox infile_multichannel.wav outfile_ch1.wav remix 1 sox infile_multichannel.wav outfile_ch2.wav remix 2 If you are not on a Linux box, try using one instead :-) mfg, PP ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Re : Split multichannel audio file into stereo pairs
I really wonder what is the point to do such a thing in Pd - there are different tools for different task, 'one size fits all' is an almost religious illusion... audacity does changing file types better than any app that I know. there's to the left side of the window at the name of the file a pull down window that allows you to split, glue together etc exactly as you want to. attachment: filetype_pull_down_auda.jpg inline: filetype pull down auda.jpg solo the tracks that you want to export as stereo, click make left the one you want to be left and make right you want to be right. than click make stereo and export. and then the next pair of tracks. Best Jurgen On Jun 17, 2009, at 8:57 AM, Peter Plessas wrote: IOhannes m zmölnig wrote: dwanafite wrote: Hi You could use [readsf~ 12] to read your file and then several [writesf~ 2] to record, but i guess you want something faster... in 0.42 you can use batchmode to do immediate (faster-than realtime) processing. in older versions you can just use upsampling to speed up the process. If you are on a Linux box you can use sox: sox infile_multichannel.wav outfile_ch1.wav remix 1 sox infile_multichannel.wav outfile_ch2.wav remix 2 If you are not on a Linux box, try using one instead :-) mfg, PP ___ 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