Re: [PD] Handling numbers read from a file
There's a simple solution to know the size of an array in Pd vanilla (it has been posted on this list before). If your array is called example, send a bang to [expr size(example)] Hansr At 16:03 2/03/2010, Matteo Sisti Sette wrote: As all my data are numbers, [tabread] should work fine. Although in this case, I do not know how to know the number of values in advance to resize the table prior to loading the data. If you store the numbers one per line in the text file, then you have two options: A) Load the file, then bang [textfile] in an [until] loop (until the end is reached) and resize the table at each bang by incrementing its size by one as you add one more number. Quite inefficient since I guess it may have to reallocate memory at each resize B) Load the file, then do one first scan of [textfile] (banging it in an [until] loop) just to count the numbers, then resize the table to the number of counted elements, then start all over again to store the numbers into the table If, on the other hand, you store all the number in one list in the text file, then you can load it, bang [textfile] only once, and use a [list length] to know the number of elements and resize the table accordingly, and then prepend a 0 to the list and send the whole list to the table to store the elements. I think the latter solution should be a little (or significantly?) more efficient. -- Matteo Sisti Sette matteosistise...@gmail.com http://www.matteosistisette.com ___ 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] Handling numbers read from a file
Hans Roels escribió: There's a simple solution to know the size of an array in Pd vanilla (it has been posted on this list before). If your array is called example, send a bang to [expr size(example)] That's great!! I didn't know that, and I so often needed it! Thanks a lot. However in this case, when you read the numbers from a file, you must count them _prior_ to storing them into the array. Or is there a way to send a list of numbers to an array and have it automatically resize to the list length? -- Matteo Sisti Sette matteosistise...@gmail.com http://www.matteosistisette.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Textfile vs. Lists vs. Arrays vs. ?
Ah wow. Looks like I may be able to use that with minimal changes to the patch! Thanks Andras, I'll give that a go. --- On Sun, 28/2/10, András Murányi muran...@gmail.com wrote: From: András Murányi muran...@gmail.com Subject: Re: [PD] Textfile vs. Lists vs. Arrays vs. ? To: pd list pd-list@iem.at Cc: saint sainti...@yahoo.com Date: Sunday, 28 February, 2010, 16:17 On Sat, Feb 27, 2010 at 11:14 AM, saint sainti...@yahoo.com wrote: Thanks guys, So loading to RAM seems to be the solution. Anyone have any ideas how I do that in WinXP? Or what would the alternative methods of data storage that PD (vanilla) provides natively that operates to/from RAM? Sounds like you need something like the good old msdos ramdisk. May be this one: http://www.mydigitallife.info/2007/05/27/free-ramdisk-for-windows-vista-xp-2000-and-2003-server/ Andras ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] http client native in pd?
Thanks for that guys... I worked it out in a quite rough way (parsing the ping results coming from shell) few days ago and was looking for a proper and cheaper way to do it. And here's a version that gets the latest solar wind speed from the ACE satellite... Martin hc wrote: Ah, right, here's an updated version, that will also disconnect if there's no response within 5000ms. .hc -- Marco Donnarumma aka TheSAD Independent New Media Arts Professional, Performer, Teacher - Edinburgh, UK LAB: http://www.thesaddj.com | http://cntrl.sourceforge.net | http://www.flxer.net EVENT: http://www.liveperformersmeeting.net ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] GEM units
Hallo, Jon hat gesagt: // Jon wrote: this must be documented somewhere, but i can't locate it. is there some logic to the size units for GEM objects? like: what exactly is 2 in [cube 2]? It's twice as much as 1. As Hannah Montana (or Talk Talk for the older ones among us) sang: Life's What You Make It! Gem doesn't have any real life units, it's just numbers. Ciao -- Frank ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] GEM units
Hallo, ydego...@gmail.com hat gesagt: // ydego...@gmail.com wrote: i frankly never understood it, why a gem is not [0..1]x[0..1], a big mystery to me... does it have to do with cabalistic practices? the [-4.4...4.4]x[-2...2] or is it? I suppose it is influenced by the égalité idea of French revolution that no single direction should get a higher status than other directions. Everything is equal at the origin, then grows in all directions equally unless external influences change that. Ciao -- Frank ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] 2ème Work-shop pure data au centre Datab az (Angoulême) 3-4 avril
J'avais oublié la date : 3-4 avril 2010 2ème Work-shop pure data au centre Databaz 100 rue du Gond Angoulême p ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Handling numbers read from a file
If you have a list like [34 46 23 ...( and a [table mytab]. Then [list length] - [resize $1( - [s mytab] should help. Then you send a message [0 34 56 23 ...( - [s mytab]. ++ Jack Le mercredi 03 mars 2010 à 09:23 +0100, Matteo Sisti Sette a écrit : Hans Roels escribió: There's a simple solution to know the size of an array in Pd vanilla (it has been posted on this list before). If your array is called example, send a bang to [expr size(example)] That's great!! I didn't know that, and I so often needed it! Thanks a lot. However in this case, when you read the numbers from a file, you must count them _prior_ to storing them into the array. Or is there a way to send a list of numbers to an array and have it automatically resize to the list length? ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] integer values
Le mardi 02 mars 2010 à 22:47 -0800, Jonathan Wilkes a écrit : --- On Wed, 3/3/10, Jack j...@rybn.org wrote: From: Jack j...@rybn.org Subject: Re: [PD] integer values To: Jonathan Wilkes jancs...@yahoo.com Cc: pd-list@iem.at, volker böhm vbo...@gmx.ch Date: Wednesday, March 3, 2010, 2:16 AM There is a very small error in the patch : [s linked_array] - [s linked_garray]. However, this is a nice example. I'm working on data structures (for automations) and it would be nice to have a 'return' from [struct] (or something like that, but i don't know what :) when you modify an array of scalars (with mouse) without [metro] to update some values (like in your patch with the array 'linked_garray', but without a [metro] to update). Hope what i mean is enough clear ? ++ Jack Thanks for finding the error-- I must have forgotten to save after I made that needless change. So which [struct] would the message come out of when modifying an element of an array-- the [struct] that defines the array or the [struct] that defines the element being modified? I don't know, that's why i ask ;) When you modify the size of a polygon, [struct] return a message. Why is it not possible with a [struct] that defines the array ? If it's the [struct] that defines the array, then how do you specify which array and which index number of the thing that's getting moved? Just receive a message there is an update of the array ? This is not possible at all ? ++ Jack If it's the [struct] of the element being modified, I suppose the same question applies. Also, how do you do it in a way that handles nested arrays gracefully? -Jonathan ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] Re : GEM units
In fact, if you don't change the gemwin's view parameters , z = 4. So if you create a 512 * 512 dimensions window for example, and if you want to build a square with te same dimensions, your square's size will be 4. Il you create a 600 * 400 dimensions window, the size of corresponding rectangle will be 6 * 4. Is this what you wanted to know? t Le 3/03/10 0:54, « Jon » potaxpo...@gmail.com a écrit : this must be documented somewhere, but i can't locate it. is there some logic to the size units for GEM objects? like: what exactly is 2 in [cube 2]? thankyou jon ___ 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] Pduino with Arduino Mega
Hi Bart, Rock and roll. If I use Paul's version of SimpleDigitalFirmata and add additional 'digital port enable' buttons and 'digital input status' indicators to your modified mega-test.pd patch then all the digital inputs work except pin 21 (which gets stuck on once you turn it on for the first time). Thanks very much for your assistance. David Kirkpatrick davidk.com.au And please report bugs! Paul is definitely looking for feedback on his Firmata code, and I can fix bugs on the Pd side. .hc On Mar 2, 2010, at 11:01 AM, Bart Koppe wrote:Hi David, If you want to use firmata, Paul Stoffregen is working on this. Follow the instruction on http://www.pjrc.com/tmp/firmata/readme.html I adjusted the mega-test.pd of his pduino package to 53 pin-outs (attached). Tested (with his version of firmata). The following digital outs are working: 2-23 and 38-53. Of course the firmata should also work with max.. Hope it helps, Best, Bart On Tue, Mar 2, 2010 at 11:53 AM, David Kirkpatrick djk_1...@hotmail.com wrote: Hi, What is the status of Pduino's compatibility with the Arduino Mega at the moment? I'm designing an installation for the Sydney Opera House that'll need Pd to read the status of about 25 digital pins. Will Pduino-0.5beta6 be able to handle input from 25 digital pins, or max out at 14 (the number of digital pins on a normal Arduino)? Thanks for your help, David Kirkpatrick davidk.com.au Sign up for SEEK Jobmail. Get the latest jobs delivered. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- -/\/\/\/\/\/\- Bart Koppe Franselaan 232C 3028 AP Rotterdam 06-40704051 b...@a-bort.org aim/msn/skype bartkoppe http://a-bort.org -\/\/\/\/\/\/- mega-test.pd___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list _ Get personal with Windows. Download a free gift for your PC. http://experience.windows.com___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] A better pitch shifter?
Hi! I have been using Miller Puckette's delay-based pitch-shifter (from the audio examples) for quite a while now, and i was wondering if it would be possible to improve it a bit. In particular i'd like to reduce the delay length to lower latency (i m using it in real time). Would adding more delay lines help me solve this problem? I must say that i never took the trouble to try and understand how this patch works, so i'm not sure where to start. Pierre ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] pix_video camera trouble
hi i want to use a usb microscope with GEM. with the macam driver installed, my macbook is able to get video from it on imovie, but i havent succeeded in forcing pix_video to get video from this cam instead of the built in isight. i have tried [dialog( but it only lets me select isight (and both DV Video and IIDC FireWire Video are grayed out). what other things should i try to make this work? thanks! ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Re : GEM units
i was just curious, since it's obviously not pixels or anything else that i could understand... i'll stick to the hannah montana/talk talk motto then. thank you all ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] A better pitch shifter?
Hi all, I tried making a mult-delay pitch shifter once. It was no good for reducing latency, but it did slightly decrease the phenomenon of double attacks one sometimes gets - but also reduces the presence of the sound, not a tradeoff I liked in the end. I tried a bunch of other things over a period of months with no luck. cheers Miller On Wed, Mar 03, 2010 at 04:34:38PM +0100, Pierre Massat wrote: Hi! I have been using Miller Puckette's delay-based pitch-shifter (from the audio examples) for quite a while now, and i was wondering if it would be possible to improve it a bit. In particular i'd like to reduce the delay length to lower latency (i m using it in real time). Would adding more delay lines help me solve this problem? I must say that i never took the trouble to try and understand how this patch works, so i'm not sure where to start. Pierre ___ 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 : GEM units
So GEM units are QuarterWindowSides, then? Martin t wrote: In fact, if you don't change the gemwin's view parameters , z = 4. So if you create a 512 * 512 dimensions window for example, and if you want to build a square with te same dimensions, your square's size will be 4. Il you create a 600 * 400 dimensions window, the size of corresponding rectangle will be 6 * 4. Is this what you wanted to know? t Le 3/03/10 0:54, « Jon » a écrit : this must be documented somewhere, but i can't locate it. is there some logic to the size units for GEM objects? like: what exactly is 2 in [cube 2]? thankyou jon ___ 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] Re : GEM units
A rectangle at position 0 0 0 with rotation 0 0 0 with height 4 exactly fits the screen height. So yes, there is actually a refernce: the screen height. Roman On Wed, 2010-03-03 at 17:02 +0100, Jon wrote: i was just curious, since it's obviously not pixels or anything else that i could understand... i'll stick to the hannah montana/talk talk motto then. thank you all ___ 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] Handling numbers read from a file
Thanks all, I have summed up the ideas and created an abstraction containing [textfile] with an extra counter to keep track of the pointer. When requested to step back, it first gates the output, rewinds, then bangs [textfile] until it reaches the one previous position. This is probably least efficient among the mentioned solutions, but is compact in size while maintaining compatibility with other messages understood by [textfile]. I will post it here if I the performance reasonable in my project. -- David Shimamoto (2010/03/03 22:01), Jack wrote: If you have a list like [34 46 23 ...( and a [table mytab]. Then [list length] - [resize $1( - [s mytab] should help. Then you send a message [0 34 56 23 ...( - [s mytab]. ++ Jack Le mercredi 03 mars 2010 à 09:23 +0100, Matteo Sisti Sette a écrit : Hans Roels escribió: There's a simple solution to know the size of an array in Pd vanilla (it has been posted on this list before). If your array is called example, send a bang to [expr size(example)] That's great!! I didn't know that, and I so often needed it! Thanks a lot. However in this case, when you read the numbers from a file, you must count them _prior_ to storing them into the array. Or is there a way to send a list of numbers to an array and have it automatically resize to the list length? ___ 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 : GEM units
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 martin.pe...@sympatico.ca wrote: So GEM units are QuarterWindowSides, then? no. mfasdr IOhannes -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkuOkYEACgkQkX2Xpv6ydvSdXwCfeZrxGlnWTMsBJ1JGsTqJ6YQW qD4AoMS1WBGMnCcxujF0hhGXl02XoUsn =WaXs -END PGP SIGNATURE- ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] pix_video camera trouble
make sure you have the macam component installed in the right place... /somthinglibrary/... On Wed, Mar 3, 2010 at 10:51 AM, Jon potaxpo...@gmail.com wrote: hi i want to use a usb microscope with GEM. with the macam driver installed, my macbook is able to get video from it on imovie, but i havent succeeded in forcing pix_video to get video from this cam instead of the built in isight. i have tried [dialog( but it only lets me select isight (and both DV Video and IIDC FireWire Video are grayed out). what other things should i try to make this work? thanks! ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- Jaime E Oliver LR joliv...@ucsd.edu www.realidadvisual.org/jaimeoliver www-crca.ucsd.edu/ www.realidadvisual.org 858 750 0924 (cel) 858 202 1522 (home) 9168 Regents Rd. Apt. G La Jolla, CA 92037 USA ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] A better pitch shifter?
I've used this pitch shifter quite a lot for a number of different things -- how you use it seems to depend completely on context. For instance, if you're shifting mostly sustained sounds (so that attacks aren't so present), you can use a larger window size, which reduces some of the modulation artifacts you get when you use a lower size. You need the lower size for fast things, or things with strong attacks. I once experimented with trying to get the window to match exactly period boundaries of the incoming sound (to reduce the modulation completely), but it really only works with electronic sounds where you can be absolutely sure of the frequency. I have had luck in some rare cases mixing the output of two pitchshifters set to the same transposition but different window sizes -- again, no difference in latency, but it can help smooth things out if you're really aggressively pitchshifting something (like, by a perfect 12th), where presence isn't really something you're going to be able to attain anyway. I now keep several of them around with different settings for different contexts. Matt Hi all, I tried making a mult-delay pitch shifter once. It was no good for reducing latency, but it did slightly decrease the phenomenon of double attacks one sometimes gets - but also reduces the presence of the sound, not a tradeoff I liked in the end. I tried a bunch of other things over a period of months with no luck. cheers Miller On Wed, Mar 03, 2010 at 04:34:38PM +0100, Pierre Massat wrote: Hi! I have been using Miller Puckette's delay-based pitch-shifter (from the audio examples) for quite a while now, and i was wondering if it would be possible to improve it a bit. In particular i'd like to reduce the delay length to lower latency (i m using it in real time). Would adding more delay lines help me solve this problem? I must say that i never took the trouble to try and understand how this patch works, so i'm not sure where to start. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] Re : Re : GEM units
4/4 = 1, yes. It works for X and Y if your screen is a square. If you create a 400 * 600 screen you will get a 2.67 * 4 rectangle If you create a 600 * 400 screen you will get a 6 * 4 rectangle t Le 3/03/10 17:27, « martin.pe...@sympatico.ca » martin.pe...@sympatico.ca a écrit : So GEM units are QuarterWindowSides, then? Martin t wrote: In fact, if you don't change the gemwin's view parameters , z = 4. So if you create a 512 * 512 dimensions window for example, and if you want to build a square with te same dimensions, your square's size will be 4. Il you create a 600 * 400 dimensions window, the size of corresponding rectangle will be 6 * 4. Is this what you wanted to know? t Le 3/03/10 0:54, « Jon » a écrit : this must be documented somewhere, but i can't locate it. is there some logic to the size units for GEM objects? like: what exactly is 2 in [cube 2]? thankyou jon ___ 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] A better pitch shifter?
Did you try shifter~ (http://julovi.net/j/?page_id=7)? This is a Pd PSOLA pitch shifter I ported from Max/MSP. Developed originally by Tristan Jesen and hosted here. I found it faster than SSB, and format friendly. I hope it helps. Julian Villegas (http://julovi.net) Me pregunto de un modo pensativo Que significa ser Colombiano? No se le respondi. Es un acto de fe JLB. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] A better pitch shifter?
Thank you all for your replies! I will give shifter~ a try tomorrow. Another related question : does any of you know how the digitech whammy pedal works? Considering how it sounds i'd say it basically tracks the pitch (the way sigmund~ would) and then generates a synthesized sound which kind of sounds like an electric guitar, and which frequency can be modified at will. Am I right? This is different pitch shifter model altogether, isn't? Pierre 2010/3/3 Julian Villegas jul...@yahoo.com Did you try shifter~ (http://julovi.net/j/?page_id=7)? This is a Pd PSOLA pitch shifter I ported from Max/MSP. Developed originally by Tristan Jesen and hosted here. I found it faster than SSB, and format friendly. I hope it helps. Julian Villegas (http://julovi.net) Me pregunto de un modo pensativo Que significa ser Colombiano? No se le respondi. Es un acto de fe JLB. ___ 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 : GEM units
don't care about the unit, use the perspec message to set it to whatever you want/need. c martin.pe...@sympatico.ca a écrit : So GEM units are QuarterWindowSides, then? Martin t wrote: In fact, if you don't change the gemwin's view parameters , z = 4. So if you create a 512 * 512 dimensions window for example, and if you want to build a square with te same dimensions, your square's size will be 4. Il you create a 600 * 400 dimensions window, the size of corresponding rectangle will be 6 * 4. Is this what you wanted to know? t Le 3/03/10 0:54, « Jon » a écrit : this must be documented somewhere, but i can't locate it. is there some logic to the size units for GEM objects? like: what exactly is 2 in [cube 2]? thankyou jon ___ 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 ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] integer values
--- On Wed, 3/3/10, Jack j...@rybn.org wrote: From: Jack j...@rybn.org Subject: Re: [PD] integer values To: Jonathan Wilkes jancs...@yahoo.com Cc: pd-list@iem.at, volker böhm vbo...@gmx.ch Date: Wednesday, March 3, 2010, 2:20 PM Le mardi 02 mars 2010 à 22:47 -0800, Jonathan Wilkes a écrit : --- On Wed, 3/3/10, Jack j...@rybn.org wrote: From: Jack j...@rybn.org Subject: Re: [PD] integer values To: Jonathan Wilkes jancs...@yahoo.com Cc: pd-list@iem.at, volker böhm vbo...@gmx.ch Date: Wednesday, March 3, 2010, 2:16 AM There is a very small error in the patch : [s linked_array] - [s linked_garray]. However, this is a nice example. I'm working on data structures (for automations) and it would be nice to have a 'return' from [struct] (or something like that, but i don't know what :) when you modify an array of scalars (with mouse) without [metro] to update some values (like in your patch with the array 'linked_garray', but without a [metro] to update). Hope what i mean is enough clear ? ++ Jack Thanks for finding the error-- I must have forgotten to save after I made that needless change. So which [struct] would the message come out of when modifying an element of an array-- the [struct] that defines the array or the [struct] that defines the element being modified? I don't know, that's why i ask ;) When you modify the size of a polygon, [struct] return a message. Why is it not possible with a [struct] that defines the array ? If it's the [struct] that defines the array, then how do you specify which array and which index number of the thing that's getting moved? Just receive a message there is an update of the array ? I don't think that would help very much, because you don't know which value was changed, or to which array it belongs (if you have more than one array in a struct). You would at least want to know the array name and index of the element being modified. So if I move the first element of the boxes array in that patch, it would be nice if I got the following message: change boxes 0 (pointer) So the pointer here points to the [graph] data structure-- in other words the one that defines that array. Putting the atoms of the message in that order would work well because you can route according to the array name, then immediately send the next message to the left inlet of [element] to do whatever it is you want to do with that data (or precede it with an [unpack 0 p] if you want to be finicky). But if the message is to come out of the [struct] that defines the element (box), you'd probably want a different set of info in the message. Btw- if you hook up [print] to the outlet of [struct box] in that patch, you'll see that every time you click somewhere in the array a series of messages is output. I don't understand what the numbers mean, and the (pointer) doesn't correspond to either of the data structures I have defined. But even if it did, that would be a lot of messages to deal with every time you happen to click the containing scalar (imagine if you're using a ds-array to visualize/manipulate five seconds of audio...) -Jonathan ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] To pack or not to be packed that is the question ! (?)
Hi, I made a [pack t b f f f f f f f f f f ] And connect ten vertical sliders to inlet 2-10 (1-based). Then I connected the outlet of the [pack] to a message box with the following contents: [wave1 sinesum $1 $2 $3 $4 $5 $6 $7 $8 $9 $10] I added a tabread4-mimic and could display the wave in an array visually. So nice so mysterious ( at least for me ;) ) Slider 1 to slider 8 are working as exspected, moving slider nine and ten results in nothing but the pure sound of silence (visually spoken...). For what I read about [pack] the inlets sequence follows the arguments or in my case inlet #2 up to #10 are exspecting float arguments, which are given by the vsliders. A [BANG] at inlet #2 send a bang into the pack. But the reason, why slider #9 and slider #10 are on holidays is not very obvious to me. The aim of all this should be a wave, which reacts on changes of each of the sliders instantly without sending an extra bang. And I want to have all slider (better: much more than ten) working. And if there is a way to normalize the result instantly I would one step nearer to eternity ; I know, that there are obviously far better and total different ways to accomplish what I want to acchieve, but for the first I only want to understand, why this beast is only running on eight instead of ten legs (my be a spider therefore... ;) Thanks a lot for any help in advance! Best regards mcc -- Please don't send me any Word- or Powerpoint-Attachments unless it's absolutely neccessary. - Send simply Text. See http://www.gnu.org/philosophy/no-word-attachments.html In a world without fences and walls nobody needs gates and windows. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] To pack or not to be packed that is the question ! (?)
The [pack] object and the [trigger] object should be separate. First create this: [pack 0 0 0 0 0 0 0 0 0 0 0] then each number box should look like this: [0] | [t b f] where the f outlet is connected to the corresponding inlet in [pack], and the b outlet is connected to the first, hot inlet of [pack]. [pack] only gives output when the hot inlet has input, so the bang message sent after the float triggers it and gives output no matter which number box you change. Read more about hot and cold in the HTML manual or in the FLOSS Manual for details. Or see attached patch. Best! Derek On 3/3/10 7:43 PM, meino.cra...@gmx.de wrote: Hi, I made a [pack t b f f f f f f f f f f ] And connect ten vertical sliders to inlet 2-10 (1-based). Then I connected the outlet of the [pack] to a message box with the following contents: [wave1 sinesum $1 $2 $3 $4 $5 $6 $7 $8 $9 $10] I added a tabread4-mimic and could display the wave in an array visually. So nice so mysterious ( at least for me ;) ) Slider 1 to slider 8 are working as exspected, moving slider nine and ten results in nothing but the pure sound of silence (visually spoken...). For what I read about [pack] the inlets sequence follows the arguments or in my case inlet #2 up to #10 are exspecting float arguments, which are given by the vsliders. A [BANG] at inlet #2 send a bang into the pack. But the reason, why slider #9 and slider #10 are on holidays is not very obvious to me. The aim of all this should be a wave, which reacts on changes of each of the sliders instantly without sending an extra bang. And I want to have all slider (better: much more than ten) working. And if there is a way to normalize the result instantly I would one step nearer to eternity ; I know, that there are obviously far better and total different ways to accomplish what I want to acchieve, but for the first I only want to understand, why this beast is only running on eight instead of ten legs (my be a spider therefore... ;) Thanks a lot for any help in advance! Best regards mcc -- ::: derek holzer ::: http://macumbista.net ::: ---Oblique Strategy # 19: Be dirty #N canvas 249 81 755 492 10; #X floatatom 44 142 5 0 0 0 - - -; #X floatatom 86 142 5 0 0 0 - - -; #X floatatom 44 203 5 0 0 0 - - -; #X obj 44 174 +; #X text 41 117 hot; #X text 81 117 cold; #X floatatom 144 142 5 0 0 0 - - -; #X floatatom 186 142 5 0 0 0 - - -; #X floatatom 144 243 5 0 0 0 - - -; #X obj 144 214 +; #X text 141 117 hot; #X text 181 117 cold; #X obj 186 169 trigger bang float; #X obj 45 343 trigger bang float; #X text 44 374 can be abbreviated with; #X obj 46 405 t b f; #X text 332 301 [trigger] can send an arbitrary number of things out: ; #X obj 335 343 trigger bang float anything bang bang float bang float ; #X obj 336 405 t b f a b b f b f; #X text 335 374 or:; #X text 174 452 de...@umatic.nl; #X text 330 167 [trigger] outputs according to its creation arguments in right to left order. In this case \, when it receives input \, it will first send out a float (i.e. a floating point number) from its right outlet \, then it will send a bang out its left outlet.; #X text 26 20 The object [trigger] can be used to change the order of operations in a patch by sending a message bang to the hot inlet of an object. Bang means do it now! \, and will cause the object to output.; #X connect 0 0 3 0; #X connect 1 0 3 1; #X connect 3 0 2 0; #X connect 6 0 9 0; #X connect 7 0 12 0; #X connect 9 0 8 0; #X connect 12 0 9 0; #X connect 12 1 9 1; ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] To pack or not to be packed that is the question ! (?)
The first slider does not need a [t b f] because it is connected to the HOT inlet already. When it sends a number the first inlet, the [pack] gives outlet. The others use a bang message so that [pack] sends output with all the numbers it has stored in the COLD inlets already when the bang goes to the HOT inlet. This is one of the most important concepts in Pd, so pay close attention to this! Best, Derek PS. please keep this conversation on the Pd list so others can learn too! On 3/3/10 8:38 PM, meino.cra...@gmx.de wrote: Hi Derek, again: THANKS A LOT FOR THE ENLIGHTMENT ! I build up a thing which generates a sound -- like I wanted to have. But again...one slider is dead...this time it is the first one, which both outlets (b + f) of its [t b f] goes to inlet 1 of the pack. since as a hot inlet it receives the number and the bang. For me it is unclear, why this slider does not work... It would be nice if you could take a look at the attached patch... I am sure, the bug can be found somewhere in front of my computer's monitor. Thanks a lot in advance! Keep hacking! ;) mcc -- ::: derek holzer ::: http://macumbista.net ::: ---Oblique Strategy # 195: Describe the landscape in which this belongs. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] To pack or not to be packed that is the question ! (?)
I removed the [t b f] from the frist slider and connected it to the hot inlet of [pack] directly. But no change...the first sliders seems to know on off only. Patch attached Keep hacking! mcc Derek Holzer de...@umatic.nl [10-03-03 20:08]: The [pack] object and the [trigger] object should be separate. First create this: [pack 0 0 0 0 0 0 0 0 0 0 0] then each number box should look like this: [0] | [t b f] where the f outlet is connected to the corresponding inlet in [pack], and the b outlet is connected to the first, hot inlet of [pack]. [pack] only gives output when the hot inlet has input, so the bang message sent after the float triggers it and gives output no matter which number box you change. Read more about hot and cold in the HTML manual or in the FLOSS Manual for details. Or see attached patch. Best! Derek On 3/3/10 7:43 PM, meino.cra...@gmx.de wrote: Hi, I made a [pack t b f f f f f f f f f f ] And connect ten vertical sliders to inlet 2-10 (1-based). Then I connected the outlet of the [pack] to a message box with the following contents: [wave1 sinesum $1 $2 $3 $4 $5 $6 $7 $8 $9 $10] I added a tabread4-mimic and could display the wave in an array visually. So nice so mysterious ( at least for me ;) ) Slider 1 to slider 8 are working as exspected, moving slider nine and ten results in nothing but the pure sound of silence (visually spoken...). For what I read about [pack] the inlets sequence follows the arguments or in my case inlet #2 up to #10 are exspecting float arguments, which are given by the vsliders. A [BANG] at inlet #2 send a bang into the pack. But the reason, why slider #9 and slider #10 are on holidays is not very obvious to me. The aim of all this should be a wave, which reacts on changes of each of the sliders instantly without sending an extra bang. And I want to have all slider (better: much more than ten) working. And if there is a way to normalize the result instantly I would one step nearer to eternity ; I know, that there are obviously far better and total different ways to accomplish what I want to acchieve, but for the first I only want to understand, why this beast is only running on eight instead of ten legs (my be a spider therefore... ;) Thanks a lot for any help in advance! Best regards mcc -- ::: derek holzer ::: http://macumbista.net ::: ---Oblique Strategy # 19: Be dirty #N canvas 249 81 755 492 10; #X floatatom 44 142 5 0 0 0 - - -; #X floatatom 86 142 5 0 0 0 - - -; #X floatatom 44 203 5 0 0 0 - - -; #X obj 44 174 +; #X text 41 117 hot; #X text 81 117 cold; #X floatatom 144 142 5 0 0 0 - - -; #X floatatom 186 142 5 0 0 0 - - -; #X floatatom 144 243 5 0 0 0 - - -; #X obj 144 214 +; #X text 141 117 hot; #X text 181 117 cold; #X obj 186 169 trigger bang float; #X obj 45 343 trigger bang float; #X text 44 374 can be abbreviated with; #X obj 46 405 t b f; #X text 332 301 [trigger] can send an arbitrary number of things out: ; #X obj 335 343 trigger bang float anything bang bang float bang float ; #X obj 336 405 t b f a b b f b f; #X text 335 374 or:; #X text 174 452 de...@umatic.nl; #X text 330 167 [trigger] outputs according to its creation arguments in right to left order. In this case \, when it receives input \, it will first send out a float (i.e. a floating point number) from its right outlet \, then it will send a bang out its left outlet.; #X text 26 20 The object [trigger] can be used to change the order of operations in a patch by sending a message bang to the hot inlet of an object. Bang means do it now! \, and will cause the object to output.; #X connect 0 0 3 0; #X connect 1 0 3 1; #X connect 3 0 2 0; #X connect 6 0 9 0; #X connect 7 0 12 0; #X connect 9 0 8 0; #X connect 12 0 9 0; #X connect 12 1 9 1; ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- Please don't send me any Word- or Powerpoint-Attachments unless it's absolutely neccessary. - Send simply Text. See http://www.gnu.org/philosophy/no-word-attachments.html In a world without fences and walls nobody needs gates and windows. #N canvas 617 28 961 863 24; #N canvas 0 0 450 300 (subpatch) 0; #X array wave1 4 float 1; #A 0 -1.87937e-05 0 1.87937e-05 3.75873e-05; #X coords 0 1 3 -1 200 140 1; #X restore 47 664 graph; #X obj 458 835 dac~; #X obj 458 694 metro 200; #X msg 80 515 \; wave1 normalize 1; #X obj 603 572 hsl 128 15 0 127 0 0 empty empty empty -2 -8 0 10 -262144 -1 -1 1400 1; #X obj 600 603 mtof~; #X obj 600 647 phasor~; #X obj 601 696 *~ 2051; #X obj 458 781 tabread4~ wave1; #X obj 109 3 vsl 20 256 -1 1 0 1 empty empty 0 -9 0 0 1.65798e+07 -228856 -258113 -1 0 0; #X msg 146 422 \; wave1 sinesum \$1 \$2 \$3 \$4 \$5 \$6 \$7 \$8 \$9 \$10 \$11; #X obj
Re: [PD] To pack or not to be packed that is the question ! (?)
Hello Meino, please read the Generating Waveforms chapter again: http://en.flossmanuals.net/PureData/GeneratingWaveforms specifically the section titled Using Sinesum. You'll see that the third element of the sinesum message, where you have your $1 now, is the length of the table (which is set ahead of time). The fourth element, your $2, is normally a value of 1. That is because the first harmonic is usually 1 when generating a bandlimited waveform. Of course, you don't have to fix it at 1. But you do need to have the table length! So insert the number 2051 after the word sinesum in your patch, and you'll be set. Best, Derek On 3/3/10 9:05 PM, meino.cra...@gmx.de wrote: I removed the [t b f] from the frist slider and connected it to the hot inlet of [pack] directly. But no change...the first sliders seems to know on off only. Patch attached Keep hacking! mcc Derek Holzerde...@umatic.nl [10-03-03 20:08]: The [pack] object and the [trigger] object should be separate. First create this: [pack 0 0 0 0 0 0 0 0 0 0 0] then each number box should look like this: [0] | [t b f] where the f outlet is connected to the corresponding inlet in [pack], and the b outlet is connected to the first, hot inlet of [pack]. [pack] only gives output when the hot inlet has input, so the bang message sent after the float triggers it and gives output no matter which number box you change. Read more about hot and cold in the HTML manual or in the FLOSS Manual for details. Or see attached patch. Best! Derek On 3/3/10 7:43 PM, meino.cra...@gmx.de wrote: Hi, I made a [pack t b f f f f f f f f f f ] And connect ten vertical sliders to inlet 2-10 (1-based). Then I connected the outlet of the [pack] to a message box with the following contents: [wave1 sinesum $1 $2 $3 $4 $5 $6 $7 $8 $9 $10] I added a tabread4-mimic and could display the wave in an array visually. So nice so mysterious ( at least for me ;) ) Slider 1 to slider 8 are working as exspected, moving slider nine and ten results in nothing but the pure sound of silence (visually spoken...). For what I read about [pack] the inlets sequence follows the arguments or in my case inlet #2 up to #10 are exspecting float arguments, which are given by the vsliders. A [BANG] at inlet #2 send a bang into the pack. But the reason, why slider #9 and slider #10 are on holidays is not very obvious to me. The aim of all this should be a wave, which reacts on changes of each of the sliders instantly without sending an extra bang. And I want to have all slider (better: much more than ten) working. And if there is a way to normalize the result instantly I would one step nearer to eternity ; I know, that there are obviously far better and total different ways to accomplish what I want to acchieve, but for the first I only want to understand, why this beast is only running on eight instead of ten legs (my be a spider therefore... ;) Thanks a lot for any help in advance! Best regards mcc -- ::: derek holzer ::: http://macumbista.net ::: ---Oblique Strategy # 19: Be dirty #N canvas 249 81 755 492 10; #X floatatom 44 142 5 0 0 0 - - -; #X floatatom 86 142 5 0 0 0 - - -; #X floatatom 44 203 5 0 0 0 - - -; #X obj 44 174 +; #X text 41 117 hot; #X text 81 117 cold; #X floatatom 144 142 5 0 0 0 - - -; #X floatatom 186 142 5 0 0 0 - - -; #X floatatom 144 243 5 0 0 0 - - -; #X obj 144 214 +; #X text 141 117 hot; #X text 181 117 cold; #X obj 186 169 trigger bang float; #X obj 45 343 trigger bang float; #X text 44 374 can be abbreviated with; #X obj 46 405 t b f; #X text 332 301 [trigger] can send an arbitrary number of things out: ; #X obj 335 343 trigger bang float anything bang bang float bang float ; #X obj 336 405 t b f a b b f b f; #X text 335 374 or:; #X text 174 452 de...@umatic.nl; #X text 330 167 [trigger] outputs according to its creation arguments in right to left order. In this case \, when it receives input \, it will first send out a float (i.e. a floating point number) from its right outlet \, then it will send a bang out its left outlet.; #X text 26 20 The object [trigger] can be used to change the order of operations in a patch by sending a message bang to the hot inlet of an object. Bang means do it now! \, and will cause the object to output.; #X connect 0 0 3 0; #X connect 1 0 3 1; #X connect 3 0 2 0; #X connect 6 0 9 0; #X connect 7 0 12 0; #X connect 9 0 8 0; #X connect 12 0 9 0; #X connect 12 1 9 1; ___ 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 -- ::: derek holzer ::: http://macumbista.net ::: ---Oblique Strategy # 6: Abandon normal instruments
[PD] PD extended on PPC
Hi Is there continuing support for PD on osx PPC? I dont think I see anything in the nightly builds? Thanks confirming! ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] pix_snap question
Hello! I have a short question about pix_snap: When using [pix_snap] to record a video file of some manipulated geos, everythings fine, except, that the videofile is flipped upside down and has wrong colors. Has anyone a solution for that or can tell me the reason for that? Thx, peter ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] gem and gmerlin on Ubuntu
I've been struggling for the past few hours with ffmpeg trying to create an video file that Gem will accept that contains an alpha channel from a series of tiff images. While searching for answers I found some messages that mention that new versions of Gem are using gmerlin as an a/v decoder which should open it to many more formats. I'm currently on Ubuntu 9.10 with pd-extended version 0.42.5-extended-20091114. I probably installed it from a .deb package somewhere. Gem info: GEM: Graphics Environment for Multimedia GEM: ver: 0.93.CVS GEM: compiled: Nov 14 2009 Is gmerlin support included in that Gem version? Is it a simple matter of enabling it? Are the Gem .debs with it built in? Will I have to compile from source to get what I want? Also, I'm fully open to any suggestions on how to make alpha-channel enabled videos that Gem can read. My ffmpeg line for jpeg sequences is: ffmpeg -f image2 -vcodec copy -i sample%04d.jpg sample.avi If I try the same with alpha enabled .png files, Gem throws errors about MPNG: AVI reader : Stream 0 vids : MPNG (0x474e504d) 117 chunks (0.46KB) reader : Initialized video stream (chunk tblsz: 117, fmtsz: 40) codec keeper : Found 5 plugins (/usr/lib/avifile-0.7,A:22,V:32) codec keeper : CreateVideoDecoder(): Unknown codec 0x474e504d = MPNG Thanks, -martin ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] diff frame from previous frame with Gem
I am trying to make a simple patch where the current video frame is [pix_diff]'ed against the previous video frame. I can get it going manually, but I would like it to happen every frame. I think I got close, but did manage to create a bizarre effect: framechangetracking.pd Description: Binary data .hc I have always wished for my computer to be as easy to use as my telephone; my wish has come true because I can no longer figure out how to use my telephone. --Bjarne Stroustrup (creator of C++) ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] PD extended on PPC
Yes, that's the plan. The PPC build server croaked. I have new hardware for it, but its a matter of finding the time to rebuild it. .hc On Mar 3, 2010, at 3:48 PM, alan brooker wrote: Hi Is there continuing support for PD on osx PPC? I dont think I see anything in the nightly builds? Thanks confirming! ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list Computer science is no more related to the computer than astronomy is related to the telescope. -Edsger Dykstra ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] diff frame from previous frame with Gem
Hi, I think I got close, but did manage to create a bizarre effect: I got just a white frame. I think you should cycle the placement of the frames in the buffer (so you always keep the last and new one) as well as first send bang then anything to the pix_film .. (Sorry for my lumberjack) patch attached :) Diff works, but there is some flicker comming from i dunno where :/ gnd/ I am trying to make a simple patch where the current video frame is [pix_diff]'ed against the previous video frame. I can get it going manually, but I would like it to happen every frame. I think I got close, but did manage to create a bizarre effect: .hc I have always wished for my computer to be as easy to use as my telephone; my wish has come true because I can no longer figure out how to use my telephone. --Bjarne Stroustrup (creator of C++) ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list gnd/ +_+_=-=-=-=-=_+_+_=-=_+_+_+==-+_+_+_+_=-=_+_=_+-=_+-+-+-+-=-+_+_=-+-+_+_ LifEIsREallyEasyWhEnTakEnDownApartFromUpAroundThECEntErASpiralBlownHEart ToGivEItSomERElationToGivEInToBEliEfFrEEdomToThELimitTheLimitsSEtYouFrEE#N canvas 0 25 1440 795 10; #X obj 348 14 gemhead; #X obj 201 226 pix_buffer_write previous; #X obj 564 414 pix_texture; #X obj 329 310 pix_buffer_read previous; #N canvas 340 107 682 322 gemwin 0; #X obj 102 122 tgl 15 0 \$0-gemstart \$0-gemstart empty 17 7 0 10 -262144 -1 -1 1 1; #X obj 102 161 r \$0-gemstart; #X obj 102 182 select 1 0; #X msg 102 214 create \, 1; #X msg 177 215 destroy; #X obj 102 239 t a; #X obj 318 54 inlet; #X obj 318 255 gemwin; #X obj 318 100 t a a; #X obj 318 287 outlet; #X obj 350 128 route create destroy; #X obj 350 150 t b; #X msg 350 172 1; #X obj 390 150 t b; #X msg 390 172 0; #X obj 350 195 t f; #X msg 350 219 set \$1; #X text 118 122 rendering; #X connect 1 0 2 0; #X connect 2 0 3 0; #X connect 2 1 4 0; #X connect 3 0 5 0; #X connect 4 0 5 0; #X connect 5 0 8 0; #X connect 6 0 8 0; #X connect 7 0 9 0; #X connect 8 0 7 0; #X connect 8 1 10 0; #X connect 10 0 11 0; #X connect 10 1 13 0; #X connect 11 0 12 0; #X connect 12 0 15 0; #X connect 13 0 14 0; #X connect 14 0 15 0; #X connect 15 0 16 0; #X connect 16 0 0 0; #X coords 0 -1 1 1 85 40 1 100 100; #X restore 722 195 pd gemwin; #X obj 564 439 rectangle 4 3; #X obj 329 286 gemhead; #X msg 399 144 0; #X obj 564 383 pix_diff; #X obj 599 49 pix_buffer previous 2; #X msg 348 143 1; #X obj 564 309 pix_buffer_read previous; #X obj 564 285 gemhead; #X obj 201 174 pix_film; #X msg 98 107 open /video/640x480/stena1.mov; #X msg 179 130 auto 1; #X msg 263 175 0; #X obj 348 110 alternate; #X obj 470 189 f; #X obj 531 192 f; #X obj 543 258 -; #X msg 531 236 1; #X obj 531 216 t b f; #X obj 348 59 trigger bang anything bang bang; #X connect 0 0 23 0; #X connect 2 0 5 0; #X connect 3 0 8 1; #X connect 6 0 3 0; #X connect 7 0 18 1; #X connect 7 0 1 1; #X connect 7 0 19 1; #X connect 8 0 2 0; #X connect 10 0 18 1; #X connect 10 0 1 1; #X connect 10 0 19 1; #X connect 11 0 8 0; #X connect 12 0 11 0; #X connect 13 0 1 0; #X connect 13 2 16 0; #X connect 14 0 13 0; #X connect 15 0 13 0; #X connect 16 0 13 1; #X connect 17 0 10 0; #X connect 17 1 7 0; #X connect 18 0 3 1; #X connect 19 0 22 0; #X connect 20 0 11 1; #X connect 21 0 20 0; #X connect 22 0 21 0; #X connect 22 1 20 1; #X connect 23 0 17 0; #X connect 23 1 13 0; #X connect 23 2 18 0; #X connect 23 3 19 0;___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] Variable CPU?
Hello I made a little discovery. It works with pd-extended and with pd-vanilla+GEM. Il have a MacBook Pro 2.66 GHz Intel Core 2 duo, with Mac-OS X 10.5.8. When I open one of my video-patch (it works with any one of my video or sound patchs), if I look at the CPU utilisation, I get something like 7 ou 8. Nothing is running, the GEM window is not even created. If I wait something like 1 or 2 hours without using pd ; or, if I pause my computer (I close it), wait 30 seconds, and open it, I get something like 0 or 1 as my CPU. Then, if I use my patch, when I get normally CPU = 70, and with this method I get CPU = 20. And of course, the performances are absolutely not the same. In fact, without this method, my MacBook Pro is not very much more powerful than my old 1.33GHz PowerPC G4. It works with audio-patchs too. There is an other method : if I turn dsp on, and then off, I get the same result. This method can't work with audio-patchs, because when I turn on dsp I always get high CPU. So I have to turn dsp on before pausing and turning on my computer. (I don't know if I'm clear...) Weeell, I realized that it works with my PPC too, but the differences are not so important. Has someone any explanation? excuse me for my english T ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] diff frame from previous frame with Gem
wow! amazing patch/idea! im creating a new performance with dancers, and this patche looks super-conceptual! it only captures the moviment! wow! maybe im a bit stuned ;). but im just expressing my feeling about your idea hans! cheers guys! ps: take a look at this video: http://www.youtube.com/watch?v=FTvqaHVFBlo still in portuguese, but the main language is pd ;) is my new project in pd. palm 2010/3/3 gr()und g...@itchybit.org: Hi, I think I got close, but did manage to create a bizarre effect: I got just a white frame. I think you should cycle the placement of the frames in the buffer (so you always keep the last and new one) as well as first send bang then anything to the pix_film .. (Sorry for my lumberjack) patch attached :) Diff works, but there is some flicker comming from i dunno where :/ gnd/ I am trying to make a simple patch where the current video frame is [pix_diff]'ed against the previous video frame. I can get it going manually, but I would like it to happen every frame. I think I got close, but did manage to create a bizarre effect: .hc I have always wished for my computer to be as easy to use as my telephone; my wish has come true because I can no longer figure out how to use my telephone. --Bjarne Stroustrup (creator of C++) ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list gnd/ +_+_=-=-=-=-=_+_+_=-=_+_+_+==-+_+_+_+_=-=_+_=_+-=_+-+-+-+-=-+_+_=-+-+_+_ LifEIsREallyEasyWhEnTakEnDownApartFromUpAroundThECEntErASpiralBlownHEart ToGivEItSomERElationToGivEInToBEliEfFrEEdomToThELimitTheLimitsSEtYouFrEE ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- @ricardopalmieri mobile# +551185833173 mobile# +551178094472 - ID: 55*7*38742 [intlab.cc] [palm.estudiolivre.org] [myspace.com/livenoisetupi] [skype:palmieriricardo] [msn: ricardopalmi...@bol.com.br] [linux user # 392484] :(){:|:};: A renúncia é a libertação. Não querer é poder. Fernando Pessoa ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] diff frame from previous frame with Gem
I don't have a PD here with me. Why did you not use pix_motion? .b. Hans-Christoph Steiner wrote: I am trying to make a simple patch where the current video frame is [pix_diff]'ed against the previous video frame. I can get it going manually, but I would like it to happen every frame. I think I got close, but did manage to create a bizarre effect: .hc I have always wished for my computer to be as easy to use as my telephone; my wish has come true because I can no longer figure out how to use my telephone. --Bjarne Stroustrup (creator of C++) ___ 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] A better pitch shifter?
Hello,) yeah, an abs that receive the pitch shifting amount for processing each harmonics of sigmund~ outlet and give each result to oscillators. The design of polypoly~ abstraction would fit, something like [adc~]--[sigmund~ -npeak 10 peaks]--[partialShift~ 10]--//--[dac~] - Mail Original - De: Pierre Massat pimas...@gmail.com À: Julian Villegas jul...@yahoo.com Cc: pd-list@iem.at Envoyé: Mercredi 3 Mars 2010 18h18:00 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: Re: [PD] A better pitch shifter? Thank you all for your replies! I will give shifter~ a try tomorrow. Another related question : does any of you know how the digitech whammy pedal works? Considering how it sounds i'd say it basically tracks the pitch (the way sigmund~ would) and then generates a synthesized sound which kind of sounds like an electric guitar, and which frequency can be modified at will. Am I right? This is different pitch shifter model altogether, isn't? Pierre 2010/3/3 Julian Villegas jul...@yahoo.com Did you try shifter~ ( http://julovi.net/j/?page_id=7 )? This is a Pd PSOLA pitch shifter I ported from Max/MSP. Developed originally by Tristan Jesen and hosted here. I found it faster than SSB, and format friendly. I hope it helps. Julian Villegas ( http://julovi.net ) Me pregunto de un modo pensativo Que significa ser Colombiano? No se le respondi. Es un acto de fe JLB. ___ 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] A better pitch shifter?
It might be possible to start from attached patch - Mail Original - De: colet patrice colet.patr...@free.fr À: Pierre Massat pimas...@gmail.com Cc: pd-list pd-list@iem.at Envoyé: Jeudi 4 Mars 2010 05h35:26 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: Re: [PD] A better pitch shifter? Hello,) yeah, an abs that receive the pitch shifting amount for processing each harmonics of sigmund~ outlet and give each result to oscillators. The design of polypoly~ abstraction would fit, something like [adc~]--[sigmund~ -npeak 10 peaks]--[partialShift~ 10]--//--[dac~] - Mail Original - De: Pierre Massat pimas...@gmail.com À: Julian Villegas jul...@yahoo.com Cc: pd-list@iem.at Envoyé: Mercredi 3 Mars 2010 18h18:00 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: Re: [PD] A better pitch shifter? Thank you all for your replies! I will give shifter~ a try tomorrow. Another related question : does any of you know how the digitech whammy pedal works? Considering how it sounds i'd say it basically tracks the pitch (the way sigmund~ would) and then generates a synthesized sound which kind of sounds like an electric guitar, and which frequency can be modified at will. Am I right? This is different pitch shifter model altogether, isn't? Pierre 2010/3/3 Julian Villegas jul...@yahoo.com Did you try shifter~ ( http://julovi.net/j/?page_id=7 )? This is a Pd PSOLA pitch shifter I ported from Max/MSP. Developed originally by Tristan Jesen and hosted here. I found it faster than SSB, and format friendly. I hope it helps. Julian Villegas ( http://julovi.net ) Me pregunto de un modo pensativo Que significa ser Colombiano? No se le respondi. Es un acto de fe JLB. ___ 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 #N canvas 30 8 560 605 10; #X obj 23 20 loadbang; #X obj 68 100 i \$1; #X obj 68 124 max 1; #X obj 66 176 until; #X obj 66 205 i; #X obj 107 205 + 1; #X obj 100 538 list trim; #X obj 100 562 s pd-\$0-partials; #N canvas 767 196 450 300 \$0-partials 0; #X restore 304 204 pd \$0-partials; #X obj 111 499 list prepend obj; #X obj 112 337 list prepend 10; #X obj 66 229 pack f \$0; #X obj 53 462 list prepend connect; #X msg 290 518 clear; #X msg 111 177 0; #X obj 66 148 min 128; #X msg 112 289 10 r \$2-partial \, 40 route \$1 \, 70 unpack f f \, 160 * 1 \, 190 osc~ \, 220 *~ \, 250 throw~ \$2-signal; #X msg 89 360 0 0 1 0 \, 1 0 2 0 \, 2 0 3 0 \, 3 0 4 0 \, 4 0 5 0 \, 5 0 6 0; #X msg 31 422 7 0 3 1 \, 2 1 8 0 \, 8 0 9 0 \, 9 0 5 1; #X msg 52 391 28 100 r \$2-control \, 76 150 pack f 10 \, 76 180 line~ ; #X obj 126 17 inlet sigmund tracker; #X obj 206 132 s \$0-partial; #X obj 394 13 inlet pitch; #X obj 395 58 s \$0-control; #X obj 289 134 catch~ \$0-signal; #X obj 289 158 outlet~; #X obj 32 294 t b a; #X obj 66 256 t a b a; #X obj 128 51 route reload; #X obj 123 72 t a b; #X connect 0 0 1 0; #X connect 1 0 2 0; #X connect 2 0 15 0; #X connect 3 0 4 0; #X connect 4 0 5 0; #X connect 4 0 11 0; #X connect 5 0 4 1; #X connect 6 0 7 0; #X connect 9 0 6 0; #X connect 10 0 9 0; #X connect 11 0 27 0; #X connect 12 0 6 0; #X connect 13 0 7 0; #X connect 14 0 4 1; #X connect 15 0 3 0; #X connect 16 0 10 0; #X connect 17 0 12 0; #X connect 18 0 12 0; #X connect 19 0 9 0; #X connect 20 0 28 0; #X connect 22 0 23 0; #X connect 24 0 25 0; #X connect 26 0 18 0; #X connect 26 1 19 0; #X connect 27 0 26 0; #X connect 27 1 17 0; #X connect 27 2 16 0; #X connect 28 0 29 0; #X connect 28 1 21 0; #X connect 29 0 1 0; #X connect 29 1 14 0; #X connect 29 1 13 0; #N canvas 814 552 450 300 10; #X obj 106 124 partialShift 2; #X obj 106 83 sigmund~ -npeak 2 peaks; #X obj 112 56 osc~ 440; #X obj 264 92 hsl 128 15 1 8 0 0 empty empty empty -2 -8 0 10 -262144 -1 -1 1400 1; #X obj 100 161 sigmund~ -npeak 2 peaks; #X obj 100 196 route 0 1; #X obj 102 234 unpack f f; #X floatatom 102 256 5 0 0 0 - - -; #X floatatom 156 257 5 0 0 0 - - -; #X obj 198 236 unpack f f; #X floatatom 198 258 5 0 0 0 - - -; #X floatatom 252 259 5 0 0 0 - - -; #X msg 251 33 \; pd dsp 0; #X msg 318 32 \; pd dsp 1; #X msg 21 59 reload 2; #X text 3 35 reconstruct patch; #X text 292 69 pitch; #X text 213 7 must turn dsp off before creation; #X connect 0 0 4 0; #X connect 1 0 0 0; #X connect 2 0 1 0; #X connect 3 0 0 1; #X connect 4 0 5 0; #X connect 5 0 6 0; #X connect 5 1 9 0; #X connect 6 0 7 0; #X connect 6 1 8 0; #X connect 9 0 10 0; #X connect 9 1 11 0; #X connect 14 0 0 0; ___ Pd-list@iem.at mailing list
Re: [PD] A better pitch shifter?
there was something missing for connecting all osc~ instances, it's fixed in attached one - Mail Original - De: colet patrice colet.patr...@free.fr À: Pierre Massat pimas...@gmail.com Cc: pd-list pd-list@iem.at Envoyé: Jeudi 4 Mars 2010 06h37:06 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: Re: [PD] A better pitch shifter? It might be possible to start from attached patch - Mail Original - De: colet patrice colet.patr...@free.fr À: Pierre Massat pimas...@gmail.com Cc: pd-list pd-list@iem.at Envoyé: Jeudi 4 Mars 2010 05h35:26 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: Re: [PD] A better pitch shifter? Hello,) yeah, an abs that receive the pitch shifting amount for processing each harmonics of sigmund~ outlet and give each result to oscillators. The design of polypoly~ abstraction would fit, something like [adc~]--[sigmund~ -npeak 10 peaks]--[partialShift~ 10]--//--[dac~] - Mail Original - De: Pierre Massat pimas...@gmail.com À: Julian Villegas jul...@yahoo.com Cc: pd-list@iem.at Envoyé: Mercredi 3 Mars 2010 18h18:00 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: Re: [PD] A better pitch shifter? Thank you all for your replies! I will give shifter~ a try tomorrow. Another related question : does any of you know how the digitech whammy pedal works? Considering how it sounds i'd say it basically tracks the pitch (the way sigmund~ would) and then generates a synthesized sound which kind of sounds like an electric guitar, and which frequency can be modified at will. Am I right? This is different pitch shifter model altogether, isn't? Pierre 2010/3/3 Julian Villegas jul...@yahoo.com Did you try shifter~ ( http://julovi.net/j/?page_id=7 )? This is a Pd PSOLA pitch shifter I ported from Max/MSP. Developed originally by Tristan Jesen and hosted here. I found it faster than SSB, and format friendly. I hope it helps. Julian Villegas ( http://julovi.net ) Me pregunto de un modo pensativo Que significa ser Colombiano? No se le respondi. Es un acto de fe JLB. ___ 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 ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list #N canvas 30 8 560 605 10; #X obj 23 20 loadbang; #X obj 68 100 i \$1; #X obj 68 124 max 1; #X obj 66 176 until; #X obj 66 205 i; #X obj 107 205 + 1; #X obj 100 538 list trim; #X obj 100 562 s pd-\$0-partials; #N canvas 767 196 450 300 \$0-partials 0; #X restore 304 204 pd \$0-partials; #X obj 111 499 list prepend obj; #X obj 112 337 list prepend 10; #X obj 66 229 pack f \$0; #X obj 53 462 list prepend connect; #X msg 290 518 clear; #X msg 111 177 0; #X obj 66 148 min 128; #X msg 112 289 10 r \$2-partial \, 40 route \$1 \, 70 unpack f f \, 160 * 1 \, 190 osc~ \, 220 *~ \, 250 throw~ \$2-signal; #X msg 89 360 0 0 1 0 \, 1 0 2 0 \, 2 0 3 0 \, 3 0 4 0 \, 4 0 5 0 \, 5 0 6 0; #X msg 31 422 7 0 3 1 \, 2 1 8 0 \, 8 0 9 0 \, 9 0 5 1; #X msg 52 391 28 100 r \$2-control \, 76 150 pack f 10 \, 76 180 line~ ; #X obj 126 17 inlet sigmund tracker; #X obj 206 132 s \$0-partial; #X obj 394 13 inlet pitch; #X obj 395 58 s \$0-control; #X obj 289 134 catch~ \$0-signal; #X obj 289 158 outlet~; #X obj 32 294 t b a; #X obj 66 256 t a b a; #X obj 128 51 route reload; #X obj 123 72 t a b; #X connect 0 0 1 0; #X connect 1 0 2 0; #X connect 2 0 15 0; #X connect 3 0 4 0; #X connect 4 0 5 0; #X connect 4 0 11 0; #X connect 5 0 4 1; #X connect 6 0 7 0; #X connect 9 0 6 0; #X connect 10 0 9 0; #X connect 11 0 27 0; #X connect 12 0 6 0; #X connect 13 0 7 0; #X connect 14 0 4 1; #X connect 15 0 3 0; #X connect 16 0 10 0; #X connect 17 0 12 0; #X connect 18 0 12 0; #X connect 19 0 9 0; #X connect 20 0 28 0; #X connect 22 0 23 0; #X connect 24 0 25 0; #X connect 26 0 18 0; #X connect 26 1 19 0; #X connect 27 0 26 0; #X connect 27 1 17 0; #X connect 27 2 16 0; #X connect 28 0 29 0; #X connect 28 1 21 0; #X connect 29 0 1 0; #X connect 29 1 14 0; #X connect 29 1 13 0; ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list