Re: [PD] Pd-Dom for abstraction chaining
On 13/03/2010 11:15, Marco Donnarumma wrote: The focus of Pd-Dom is very different though, it does dynamically chain abstractions that send and receive audio. It handles also loadbang to the freshly created instances. This should all be error free and within 0 latency (using subpatches). Hi Enrique, Pd-Dom works looks great, thanks for sharing it. Just a question (I know i should simply try it myself, but I don't have the time atm, apologies)... Can Pd-Dom manage GOP abstractions with different dimension than a non-GOP object? I'm curious 'cause I'm actually working on something really similar to Pd-Dom but with a slightly different approach. I'm trying to use dynamic patching to easily build GUI chains with whatever GOP abstraction. I use unofficial dyn-patching methods too, and iemguts. although I still have to fix few bugs the method works pretty fine so far. So now I wonder whether implement your Pd-Dom.. thanks, Hi Marco As I mentioned before: Pd-Dom itself has actually nothing to do with GUI. :) All the created abstractions are hidden in subpatches for signal-flow reasons, so they can't be GOP. There is one, in examples/04.gui2.pd that does create a GUI. The created abstraction adds 2 sliders to a GOP in the main patch. Each instance sets the y position by knowing it's own position in the chain. If they would have variable height this wouldn't work, instead I'd try to keep track of the height and y position with a [value] object. Deleting one instance would have to redraw the whole GOP, which is a bit ugly but would work. Did you manage to delete in your aproach? Cheers eni ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Using Pd to play drums in a band
On 14 March 2010 13:42, James Dunn ja...@4thharmonic.com wrote: Quoth Carlo Trimarchi, on 14/03/10 11:30: Not sure if this is the best way but it might help you. It uses [demux] from the zexy library. Hit the spacebar to tap out a tempo. Thanks for your interest (and also thanks to Andrew Faraday who replied directly to me), but I think these tapping methods are hardly working fine for me. Maybe it's me - I'm unable to tap at the same time - but every tap it displays a different number. I have to think something else, maybe. Anyway, I'd like some starting point to implement a drum machine or a step sequencer. Maybe some existing patch or some particularly useful tutorial or argument. Thanks again, Carlo ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] Image in a patch?
Hi all! I'd like to make a simple audio program for very young kids, something to train them at identitying sounds (like meow! -- cat). The audio part won't be a problem, but i not sure what i can do graphically with Pd (i ve used it for sounds only). For now i just need a way to embed images in my patch, so that the kids can click on the right animal when they hear it. As far as i know GEM is not what i'm looking for since everything is displayed in another window (and there can be more than one apparently). All i need is just a simple control with a texture, or just a canvas with an image in it. Is this possible at all in Pd? Any hint? Pierre ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Image in a patch?
Hi all! I'd like to make a simple audio program for very young kids, something to train them at identitying sounds (like meow! -- cat). The audio part won't be a problem, but i not sure what i can do graphically with Pd (i ve used it for sounds only). For now i just need a way to embed images in my patch, so that the kids can click on the right animal when they hear it. As far as i know GEM is not what i'm looking for since everything is displayed in another window (and there can be more than one apparently). All i need is just a simple control with a texture, or just a canvas with an image in it. Is this possible at all in Pd? Any hint? [image myimage.gif] gr, Tim 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] Image in a patch?
On Sun, 2010-03-14 at 14:32 +0100, Pierre Massat wrote: Hi all! I'd like to make a simple audio program for very young kids, something to train them at identitying sounds (like meow! -- cat). The audio part won't be a problem, but i not sure what i can do graphically with Pd (i ve used it for sounds only). For now i just need a way to embed images in my patch, so that the kids can click on the right animal when they hear it. As far as i know GEM is not what i'm looking for since everything is displayed in another window (and there can be more than one apparently). All i need is just a simple control with a texture, or just a canvas with an image in it. Is this possible at all in Pd? Any hint? There is [ggee/image] which can display .gif .ppm and .pgm images. You could cover some iemgui object with [image] in order to make it 'clickable'. Personally, I wouldn't abandon the Gem idea too quickly, since with Gem you could have only one window in fullscreen mode, with even more control, since it grabs mouse and keyboard events makeing it less likely to accidently switch window or into editmode or trigger any other pd shortcut. Also you have more freedom in the graphical design and behavioural decisions. For instance, you could animate the displayed objects when clicked. Roman ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] From pd file color to cnv message
Thanks, Roman. For a quick solution: I noticed that if you click compose color in the Properties dialogue for cnv, it gives the RGB values, so I can just plug those into the converter subpatch in cnv's help patch. -Jonathan --- On Sun, 3/14/10, Roman Haefeli reduzie...@yahoo.de wrote: From: Roman Haefeli reduzie...@yahoo.de Subject: Re: [PD] From pd file color to cnv message To: Jonathan Wilkes jancs...@yahoo.com Cc: pd-list@iem.at Date: Sunday, March 14, 2010, 1:05 AM Since 24bit integer numbers cannot be fully represented with the number format used in .pd files (and in any other textual representation in pd), color values for the iemguis are saved as 18bit integer numbers, where each channel occupies 6 bit. So the bit mask for those values is the following: ((rrggbb)*-1)-1 whereas the 'color' message to the iemgui objects expects a 8 bit/channel number, which has this bitmask: (()*-1)-1 So if you want to read the color values from a .pd file and send them to the iemguis, you need to bitshift the channel parts from the 18bit scheme to make it fit into the 24 bit scheme. Roman On Fri, 2010-03-12 at 19:50 -0800, Jonathan Wilkes wrote: Hello, Can anyone tell me how to figure out what value to send a [cnv] object to get it to display the colors shown in this patch? If I try to take one of those big negative values from the pd file I get a totally different color. Thanks, Jonathan ___ 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] Image in a patch?
Thank you both for your replies. I didn't know about the [image] object, it's pretty handy. @Roman : I understand that GEM would be a good idea, but i know nothing about it. For now I think i'll just develop something very simple, sample being played randomly and a very simple GUI (bangs behind images will do). But GEM looks great anyway, I'll take a closer look sometime soon. Pierre 2010/3/14 i...@timvets.net Hi all! I'd like to make a simple audio program for very young kids, something to train them at identitying sounds (like meow! -- cat). The audio part won't be a problem, but i not sure what i can do graphically with Pd (i ve used it for sounds only). For now i just need a way to embed images in my patch, so that the kids can click on the right animal when they hear it. As far as i know GEM is not what i'm looking for since everything is displayed in another window (and there can be more than one apparently). All i need is just a simple control with a texture, or just a canvas with an image in it. Is this possible at all in Pd? Any hint? [image myimage.gif] gr, Tim 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] Compiling pdvjtools - cannot find lswscale
Hello Markus, check if you have the development files for libswscale installed libswscale-dev hope that helps, Sergi. pdvjtools site: http://hangar.org/pdvjtools nbsp; Message: 3 Date: Fri, 12 Mar 2010 15:55:29 +0100 From: Markus Demmel lt;a...@zankapfel.orggt; Subject: [PD] Compiling pdvjtools - cannot find lswscale To: pd-list@iem.at Message-ID: lt;4b9a55e1.1020...@zankapfel.orggt; Content-Type: text/plain; charset=windows-1252; format=flowed Hi, i'm using pd-0.42-5 with Gem 0.92-2 built from source and now i want to compile the pdvjtools, which worked fine on my other computer, but is missing swscale. when i run make: cc -DPD -I/home/az/PureData/pd/pd/src -Wall -W -g -I../pdp/include -I../../Gem/src -I/usr/include/ffmpeg -fPIC -O6 -funroll-loops -fomit-frame-pointer -o colorgrid/colorgrid.o -c colorgrid/colorgrid.c colorgrid/colorgrid.c: In function ?colorgrid_draw_new?: . . . colorgrid/colorgrid.c: In function ?colorgrid_free?: colorgrid/colorgrid.c:1560: warning: unused parameter ?x? cc -Wl,--export-dynamic -shared -fPIC -o colorgrid/colorgrid.pd_linux colorgrid/colorgrid.o -lavcodec -lavformat -lavutil -lswscale -lquicktime -lstdc++ -lc /usr/bin/ld: cannot find -lswscale collect2: ld returned 1 exit status make: *** [colorgrid/colorgrid.pd_linux] Fehler 1 I get this error. locate swscale: /usr/lib/libswscale.so.0 /usr/lib/libswscale.so.0.7.1 /usr/lib/i686/cmov/libswscale.so.0 /usr/lib/i686/cmov/libswscale.so.0.7.1 /usr/share/doc/libswscale0 And then i tried to add -L/usr/lib but i still get the same error. Any ideas? Regards, Markus -- signature.asc Description: OpenPGP digital signature ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Using Pd to play drums in a band
Any tap tempo device is tricky, simply put you probably won't be able to tap consistently enough to keep the figure consistent. Which is why a lot of commercial tap tempos have some form of averaging algorithm. With a bit of practice you can get close enough to match existing music for maybe 4 or 8 bars. Here's the clever bit, if you're working with live (electronic or acoustic) musicians they will usually start to sync up to drums in this time, assuming they're close to the original tempo. Have you had any luck in building a step sequencer, by the way? From: mr.spoo...@gmail.com Date: Sun, 14 Mar 2010 14:26:47 +0100 To: ja...@4thharmonic.com CC: pd-list@iem.at Subject: Re: [PD] Using Pd to play drums in a band On 14 March 2010 13:42, James Dunn ja...@4thharmonic.com wrote: Quoth Carlo Trimarchi, on 14/03/10 11:30: Not sure if this is the best way but it might help you. It uses [demux] from the zexy library. Hit the spacebar to tap out a tempo. Thanks for your interest (and also thanks to Andrew Faraday who replied directly to me), but I think these tapping methods are hardly working fine for me. Maybe it's me - I'm unable to tap at the same time - but every tap it displays a different number. I have to think something else, maybe. Anyway, I'd like some starting point to implement a drum machine or a step sequencer. Maybe some existing patch or some particularly useful tutorial or argument. Thanks again, Carlo ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list _ We want to hear all your funny, exciting and crazy Hotmail stories. Tell us now http://clk.atdmt.com/UKM/go/195013117/direct/01/___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Using Pd to play drums in a band
Hi Carlo, experiment with this patch, I use it in my workshops. You can click the red tap_tempo_here bang button four times and get a tempo...a bit like the original four-stick-clicks-and-go beginning of almost every punk song ever played. The Ramones, for example one-two-three-foursheila is, a punk rocker, sheeeila is... Below that is an Old-Skool 16-step elektro style sequencer. Personally, I think these things make moronic music, but as a simple learning exercise everything is there. The [float] object stores the value from each slider until the [select] object gives it a bang. See here for more details: http://en.flossmanuals.net/PureData/StepSequencer Best! Derek 04.simple_sequencer.pd Description: Binary data ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] dynamic gui masking problem
Hi all I'm trying to create a GOP abstraction for selecting an item from a list. The cool thing about GOP is, that iemguis are still visible, even if they are moved outside the GOP area. However, the problem I'm facing is that they are masked by other objects in the patch, when they are moved to area of some other object. A Solution: Dynamically creating objects on the fly makes them appear above all other objects in the patch.Unfortunately I couldn't figure out a way to delete them to make them disappear, when they're not needed anymore. Probably there is another way of tweaking the z-index of objects? Or is there a way to dynamically delete objects without having to 'vis' a canvas and putting it into edit mode (and without printing errors to the console)? Attached is an example patch to illustrate the masking problem. Roman list.selector.tar.gz Description: application/compressed-tar ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] dynamic gui masking problem
That's a nice object. As for z order: The last object you create will be in front. I don't think there's a way to tweak this. -Jonathan --- On Mon, 3/15/10, Roman Haefeli reduzie...@yahoo.de wrote: From: Roman Haefeli reduzie...@yahoo.de Subject: [PD] dynamic gui masking problem To: pd-list@iem.at Date: Monday, March 15, 2010, 12:20 AM Hi all I'm trying to create a GOP abstraction for selecting an item from a list. The cool thing about GOP is, that iemguis are still visible, even if they are moved outside the GOP area. However, the problem I'm facing is that they are masked by other objects in the patch, when they are moved to area of some other object. A Solution: Dynamically creating objects on the fly makes them appear above all other objects in the patch.Unfortunately I couldn't figure out a way to delete them to make them disappear, when they're not needed anymore. Probably there is another way of tweaking the z-index of objects? Or is there a way to dynamically delete objects without having to 'vis' a canvas and putting it into edit mode (and without printing errors to the console)? Attached is an example patch to illustrate the masking problem. Roman -Inline Attachment Follows- ___ 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] Using Pd to play drums in a band
Andrew Faraday: Have you had any luck in building a step sequencer, by the way? I haven't tried anything yet. I'm a real newbie with Pd. I think I still need a lot of studying before programming such a thing as a sequencer. Derek Holzer: Below that is an Old-Skool 16-step elektro style sequencer. Personally, I think these things make moronic music, but as a simple learning exercise everything is there. The [float] object stores the value from each slider until the [select] object gives it a bang. Thanks, I'll give it a look. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Using Pd to play drums in a band
2010/3/14 Carlo Trimarchi mr.spoo...@gmail.com: On 14 March 2010 13:42, James Dunn ja...@4thharmonic.com wrote: Quoth Carlo Trimarchi, on 14/03/10 11:30: Not sure if this is the best way but it might help you. It uses [demux] from the zexy library. Hit the spacebar to tap out a tempo. Thanks for your interest (and also thanks to Andrew Faraday who replied directly to me), but I think these tapping methods are hardly working fine for me. Maybe it's me - I'm unable to tap at the same time - but every tap it displays a different number. I have to think something else, maybe. Anyway, I'd like some starting point to implement a drum machine or a step sequencer. Maybe some existing patch or some particularly useful tutorial or argument. hi, if you search for a drum machine you can check the sequencer of this pd-based-instrument in the 'patxing addiction' subpatch (bottom right part of the main GUI) http://hackthedj.wordpress.com/ http://hackthedj.wordpress.com/how2-use-htdj/#inglix maybe can be useful.. salut x! Thanks again, Carlo ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- http://noconventions.mobi/nvisible.taz/ http://hackthedj.wordpress.com/ :::..::...:.. : .. .. .:: . ..:.. .. . .. . .:.. ... rm -rf / i ens ho carreguem tot ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] data structures: variable array element + variable resolution?
Hi, I had a couple of questions about data structures: - I have an array based on template X. I wanted to make variations on the drawing of that array, by changing a variable in template X. The thing is, I can't access X when it's inside an array. Is there a way to get a pointer to the X templates inside an array? I also tried creating an extra instance of X and change the variable of that template. Unfortunately it had no effect on the same templates inside the array. - I have a variable being plotted with a step value of 1: [plot -y y(0:100)(-1:1)(1) ...]. I wanted to change the step value on the fly, but when I wrote (step) instead of (1), there was a parse error. Does that mean that the step is always the same at each template? Is isn't possible to assign a variable to the step value? If if isn't possible to do any of these operations, I might be able to circumvent the problem by deleting and creating new objects. Afaik it isn't possible to edit an object, it's necessary to cut it and create a new one. Am I correct, or is there a new possibility I don't know yet? Thanks, João Pais -- Friedenstr. 58 10249 Berlin (Deutschland) Tel +49 30 42020091 | Mob +49 162 6843570 Studio +49 30 69509190 jmmmp...@googlemail.com | skype: jmmmpjmmmp ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] Monome emulation using Novation Launchpad in PD
Hi Everyone, I've just acquired a Novation Launchpad MIDI controller. Been playing it for a while using Live, and I love it, kinda makes my workflow easier while giving me a room for improvising if I want to use it on a live performance. Then I do a little bit googling, and founded out that there's a monome emulation using Max/MSP for this Launchpad, named nonome. Even though that's an excellent application on its own, I'm just curious, is there any monome emulation for launchpad that is built using PD? PD seems more CPU friendly on my Macbook then Max/MSP. Thanks and regards, Didit -- mataharipertama.wordpress.com lunchboxavlab.wordpress.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] Check out my photos on Facebook
Hi Pd, I set up a Facebook profile where I can post my pictures, videos and events and I want to add you as a friend so you can see it. First, you need to join Facebook! Once you join, you can also create your own profile. Thanks, Matt To sign up for Facebook, follow the link below: http://www.facebook.com/p.php?i=570391438k=5XE6P6SX4T6G6BD1YE55YVPWR6BAYUZLV4EQr Already have an account? Add this email address to your account http://www.facebook.com/n/?merge_accounts.phpe=pd-l...@iem.kug.ac.atc=4f191ed95e929a0ec9b2b6d38dd28182.pd-l...@iem.kug.ac.at was invited to join Facebook by Matt Davey. If you do not wish to receive this type of email from Facebook in the future, please click on the link below to unsubscribe. http://www.facebook.com/o.php?k=3fc537u=10871282141mid=20706fdG5af34468f5ddG0G8 Facebook's offices are located at 1601 S. California Ave., Palo Alto, CA 94304. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Using Pd to play drums in a band
Derek Holzer wrote: Hi Carlo, experiment with this patch, I use it in my workshops. You can click the red tap_tempo_here bang button four times and get a tempo...a bit like the original four-stick-clicks-and-go beginning of almost every punk song ever played. The Ramones, for example one-two-three-foursheila is, a punk rocker, sheeeila is... sorry mate it was sheena ... which also i find an adolescent caricature of what punk is::: just check this if it's binary beats, not binary bits, the bits will never escape from being binary ... :: http://www.youtube.com/watch?v=LQbUEWBmcB4 sorry, old debates sevy ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list