Re: [PD] Graph a circle arc in an array?
On Fri, 8 Apr 2011, Tyler Leavitt wrote: I am trying to graph a section of a circle into an array. I have been trying to wrap my head around [sin] and [cos] but none of my configurations get results. If you had a circle with radius 100 with a center at (0, 0) I'm trying to get the upper right quadrant (positive x and positive y). The start point being (100,0) and the end point being (0,100). Any ideas on moving forward? use angles between 0 and pi/2 = 1.5708 putting those into [cos] and [sin] will give you values for a circle of radius 1 at (0,0). For different radiuses you apply [*] after that. quadrants and clockwiseness depend on which axis uses [cos], which axis uses [sin], and which direction of each axis is positive. There are several standards for those things. ___ | Mathieu Bouchard tél: +1.514.383.3801 Villeray, Montréal, QC ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] Graph a circle arc in an array?
hi, the attached patch attempt to reproduce the following formula taken from 'circle' in wikipedia http://upload.wikimedia.org/math/b/f/f/bffc9ed6838d804b4da5198cb3a86be4.png - "Tyler Leavitt" a écrit : > Hello all, > > > I am trying to graph a section of a circle into an array. I have been > trying to wrap my head around [sin] and [cos] but none of my > configurations get results. If you had a circle with radius 100 with a > center at (0, 0) I'm trying to get the upper right quadrant (positive > x and positive y). The start point being (100,0) and the end point > being (0,100). > > > Any ideas on moving forward? > > > Tyler > ___ > Pd-list@iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list -- Patrice Colet #N canvas 1088 497 450 300 10; #X obj 185 240 table quarter_circle; #N canvas 0 0 450 300 (subpatch) 0; #X array quarter_circle 100 float 0; #X coords 0 100 100 0 100 100 1; #X restore 50 50 graph; #X obj 227 33 loadbang; #X msg 227 53 100; #X obj 227 75 until; #X obj 225 99 f; #X obj 250 99 + 1; #X obj 225 122 t a a; #X obj 225 154 expr sqrt(1 - ($f1 * $f1)); #X obj 225 179 tabwrite quarter_circle; #X connect 2 0 3 0; #X connect 3 0 4 0; #X connect 4 0 5 0; #X connect 5 0 6 0; #X connect 5 0 7 0; #X connect 6 0 5 1; #X connect 7 0 8 0; #X connect 7 1 9 1; #X connect 8 0 9 0; ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] What version of GEM should I use with pd 0.43-0 vanilla
- "Billy Stiltner" a écrit : > On 4/7/11, patko wrote: > > you know when you add an external path it will be available from all > pd > > versions because > > it's litterally a full path name that is added by the new tcl > interface, and > > because vanilla and extended shares the same config file. > > that's why I use to start patches made for vanilla with a .bat > script, then > > I can set exactly what I need in pd for my application. > >> > > > Actually on my machine there are separate registry entries for pdx and > pd. > both versions of vanilla I have installed share the same registry > entry. > > interesting > > >> The problem with using externals with cross platform applications > is > >> if you don't supply the library on all 3 platforms then there may > be > >> some people that cant use your patch. > >> > > > > That's why I think that pd-extended should add only externals > available on > > all 3 platforms. > > It's not really the job of patch developpers to provide cross > platform > > externals and libraries but the job of the external developpers. > > > > > > Is there a list of externals that work on all 3 platforms? I don't know if there is such a list, but I'd be glad to add several externals I've been able to compile with my machine, and comment about how it has been done, then pdx maintainers could had them to the build farm. The problem is that most pdx externals building use a single Makefile for compilation that resides in externals, so it makes tricky patch submiting, because it's a lot easier to use the Makefile provided by the dev in most cases (that's happening with unauthorized externals for example). I sometimes submit dll's to the list, but it's not really a good thing. if one is interested I've built these ones lately: exciter filterbank formant pianoroll probalizer samplebox sonogram speex spigot~ most just need -liberty in linker flags -- Patrice Colet ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
[PD] Graph a circle arc in an array?
Hello all, I am trying to graph a section of a circle into an array. I have been trying to wrap my head around [sin] and [cos] but none of my configurations get results. If you had a circle with radius 100 with a center at (0, 0) I'm trying to get the upper right quadrant (positive x and positive y). The start point being (100,0) and the end point being (0,100). Any ideas on moving forward? Tyler ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] Making a Realtime Convolution External
In response to my comment about acoustic mirror sounding muddy. I think that most of the directx effects sounded muddy at that time. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] What version of GEM should I use with pd 0.43-0 vanilla
On 4/7/11, patko wrote: > > - "Billy Stiltner" a écrit : > >> Thanks or the info. >> Yeah I couldn't find msvcr71.dll anywhere till I looked in max/msp. I >> also could not figure out why that pd 0.42.5 gem worked without it >> before I installed pd 0.43. Everything seems to be working great >> now. >> > > Maybe you have uninstalled pd-extended 0.42.5 before, then it has > uninstalled gem and dll's it needs, > and maybe the pd-extended 0.43 install script omit to put this dll? > Another big duh to me. pdx has the msvcr71.dll in it's bin folder. >> I do try to keep my patches working using only vanilla except for >> ~moog and Gem. >> I would like to be able to do a moog abstraction with vanilla >> filtering objects. I just recently listened to some of the iem vcf >> filters. They sound pretty good too. > > yes they do, did you try ggee filters? they are the best ones I've heard on > pd, maybe because they use [biquad~]. > I only tried the ~moog. I will have to listen to the others now. > you know when you add an external path it will be available from all pd > versions because > it's litterally a full path name that is added by the new tcl interface, and > because vanilla and extended shares the same config file. > that's why I use to start patches made for vanilla with a .bat script, then > I can set exactly what I need in pd for my application. >> Actually on my machine there are separate registry entries for pdx and pd. both versions of vanilla I have installed share the same registry entry. >> The problem with using externals with cross platform applications is >> if you don't supply the library on all 3 platforms then there may be >> some people that cant use your patch. >> > > That's why I think that pd-extended should add only externals available on > all 3 platforms. > It's not really the job of patch developpers to provide cross platform > externals and libraries but the job of the external developpers. > > Is there a list of externals that work on all 3 platforms? ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] new Pd music release on GOSUB10
On 4/7/11, Chun Lee wrote: > Hi there: > > Billy Stiltner said : >> It is amazing. >> > > Thanks! > >> Any chance you could explain how it was done? When it boils down to it >> all the digital music can be reduced to math and logic but just doing >> that math and logic with audio signals in pd is something amazing. >> > > Yeah, as these experiments with [expr~] goes, i have not yet documentated > them at all, and it would certainly be nice to formalise them a bit in some > way. > > For me, it all started by realising that a dsp step counter can simply be > made with [phasor~ 1] -> [expr~ floor($v1*8,0)]. At the same time, by doing > [expr~ fmod($v1*8,1)] on the same phasor signal results to "mini" phasors > that are in sync with the counter. > > there are more to share and talk about, and I intent to document these > experiments, there is a new 0xA wordpress (http://0xa.kuri.mu/) to help with > this, but i am afraid it is still rater empty at the moment:( > > Hope this helps. > > Cheers > > Chun > >> ___ >> Pd-list@iem.at mailing list >> UNSUBSCRIBE and account-management -> >> http://lists.puredata.info/listinfo/pd-list > Thanks for the links. The nand gate sequencer and oscillators are awesome. understand with this information I can maybe. What is the expression for a latch? A flipflop? Are they used? There are some things with pd control signals that are easy to implement as digital logic counterparts like [f 0]X[+ 1] for counter and [f ] or [table] for memory. I am still unclear how to do a ~bang with vanilla pd. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] sample stretcher?
hello, thank you for sharing this, but, is there a version that doesn't need a plethora of dependencies? - "Ed Kelly" a écrit : > There's an abstraction that makes use of Ben Saylor's pvoc~ object in > the > > metastudio 0.3 > But I made an easier-to-use version for my students. > > Ex > > Metastudio 4 for Pure Data - coming soon! > Metastudio 3 still available at http://sharktracks.co.uk/puredata > > > > - Original Message > From: João Pais > To: PD-List > Sent: Fri, 1 April, 2011 13:57:01 > Subject: [PD] sample stretcher? > > Hi, > > I am looking for an object (or patch) that can stretch samples (rate > of < or > > than 1), like e.g. elasticx~ for max. I'm already looking around, but > thought if > > I ask here for sugestions, people who know more than me can give a > better > example. Does anyone have a good sugestion? > > Thanks, > > João Pais > > ___ > 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 -- Patrice Colet ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] new Pd music release on GOSUB10
Totally inspired! On Thu, Apr 7, 2011 at 2:55 PM, Mathieu Bouchard wrote: > On Thu, 7 Apr 2011, Chun Lee wrote: > > For me, it all started by realising that a dsp step counter can simply be >> made with [phasor~ 1] -> [expr~ floor($v1*8,0)]. >> > > a signal can be floored by [-~] on its own [wrap~]. > > you can do that to the output of [phasor~ 1] -> [*~ 8]. > > > ___ > | Mathieu Bouchard tél: +1.514.383.3801 Villeray, Montréal, QC > > ___ > 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] developing pd-gem externals
Hi, thank you very much for the reply. Lets see... If we can manage that to work, we can contribute with the pd community with some documentation. Cheers, Juliana 2011/4/8 IOhannes zmölnig > ola > > > On 04/08/2011 04:09 PM, Juliana Vizzotto wrote: > >> for instance. We download the svn development sources... >> Please, it would be great to have the source of cube, for instance, or any >> > > there is no real documentation on how to do that. > > if you want to do it in C++, you should go for the sources. > basically, each Gem-object has it's own file (living in different > directories, depending on their "type"). > e.g. the code for [cube] can be found in Gem/src/Geos/cube.cpp (.h). > > to start a new object, it's probably easiest to just copy an existing > object: > - copy > $ cp Geos/cube.cpp Geos/supercube.cpp > $ cp Geos/cube.h Geos/supercube.h > - rename the object's internals > $ sed -e 's|cube|supercube|g' -i Geos/supercube.cpp > $ sed -e 's|cube|supercube|g' -i Geos/supercube.h > - recompile > $ make > - use > [supercube] > > the above is a bit simplistic, you will probably want to do the > search&replace manually, rather than trusting sed; > obviously, you also might want to add some code before running make. > > > > however, there you don't necessarily need to write C++ code. > for simple things, Gem wraps all the openGL commands into objects. e.g. you > can use [GEMglVertex3f] rather than glVertex3f() > > for more complex things, you could use one of the scripting languages > supported by Pd, e.g. lua (frank barknecht has done some nice things with > Gem & lua; there might be examples in the web...) > > and of course there is GridFlow's openGL injector, that allows you to write > openGL commands as messages, and inject them into Gem. > something like (it's surely not working, but you should get the idea): > > [gemhead] > | > [Vertex 3 4 5, Color 1 0 0( > | > [gf.gl] > > > gfasdrm > IOhannes > ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
[PD] [PD-announce] Live Media Concert I C::ntr::l Nature at Screenplay, plus artist talk, Berlin
(sorry for x-post) I C::ntr::l Nature v3.0 Audiovisual concert for augmented bass guitar, Xth Sense biosensing technology and butterfly by Marco Donnarumma. http://marcodonnarumma.com/works/i-cntrl-nature/ Saturday 9th April h. 19.00 Panoramasaal, .CHB, Berlin http://chb.screenplaynights.com/en/av-night/programm/ Panel discussions, performances and installations by Mia Makela, Pierce Warnecke, Yroyto, Olga Mink, Abstract Birds, Servando Barreiro among the others. SCREENPLAY represents contemporary audiovisual art with special focus on generative or cinematographic performance as well as performance involving live-camera-feedback. SCREENPLAY shows an eclectic selection of artists who explore aestetic principles on the frontiers of new technologies, interactive story-telling and the interplay of audio and video. ~~ Artist Talk Saturday 9th April h 20.30 NK, Berlin http://www.nkprojekt.de/artist-presentation-by-marco-donnarumma/ Donnarumma will present some of his works, all deploying self-designed, Pure Data-based software, eventually focusing on the ongoing research project for biophysical live media 'Xth Sense'. http://res.marcodonnarumma.com/projects/xth-sense/ Best wishes, -- Marco Donnarumma Independent New Media and Sonic Arts Professional, Performer, Instructor ACE, Sound Design MSc by Research (ongoing) The University of Edinburgh, UK ~ Portfolio: http://marcodonnarumma.com Lab: http://www.thesaddj.com | http://cntrl.sourceforge.net | http://www.flxer.net Event: http://www.liveperformersmeeting.net ___ Pd-announce mailing list pd-annou...@iem.at http://lists.puredata.info/listinfo/pd-announce ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] workshop: Pd as your embeddable audio engine
On Sat, 9 Apr 2011, patrick wrote: it was just to test out libpd embed in a C++ application. by using Gem i was almost sure it was the most complicated external to run. to make it work, i had to compiled my program with: /-Wl,–export-dynamic -Wl,–whole-archive ./libpd.a -Wl,–no-whole-archive/ BTW your email programme auto-converts two dashes into a long-dash. Thus your command-line options can't be copy-pasted to the terminal as-is. ___ | Mathieu Bouchard tél: +1.514.383.3801 Villeray, Montréal, QC ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] workshop: Pd as your embeddable audio engine
(a) Awesome! Would you mind telling us more about your project? it was just to test out libpd embed in a C++ application. by using Gem i was almost sure it was the most complicated external to run. to make it work, i had to compiled my program with: /-Wl,–export-dynamic -Wl,–whole-archive ./libpd.a -Wl,–no-whole-archive/ there's a small GUI example here (end of the page): http://www.workinprogress.ca/libpd/ (b) Every once in a while I find myself tempted to port Gem to Android, but then I wonder whether this would actually make sense. Essentially, the way I see it, Gem maps a subset of OpenGL into Pd and controls graphics with Pd messages. With libpd, you can use OpenGL directly in your client code and still exchange messages with Pd, and chances are that it'll be easier to do the math for OpenGL outside of Pd. Any thoughts? like matju said, Gem is more than just OpenGL, so i like the fact that i don't need to know OpenGL to make simple stuff (even some basic GUI) :) Peter thanks again for libpd! ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] workshop: Pd as your embeddable audio engine
On Fri, 8 Apr 2011, Peter Brinkmann wrote: (b) Every once in a while I find myself tempted to port Gem to Android, but then I wonder whether this would actually make sense. Essentially, the way I see it, Gem maps a subset of OpenGL into Pd and controls graphics with Pd messages. With libpd, you can use OpenGL directly in your client code and still exchange messages with Pd, and chances are that it'll be easier to do the math for OpenGL outside of Pd. Any thoughts? 1. GEM is more than just OpenGL. 2. [gf/gl] can compensate for some of the most annoying aspects of GEM, but still needs GEM. ___ | Mathieu Bouchard tél: +1.514.383.3801 Villeray, Montréal, QC ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] workshop: Pd as your embeddable audio engine
On Fri, Apr 8, 2011 at 6:59 AM, patrick wrote: > > Also, is pdlib just with pd-vanilla, or is it possible to use externals >> with it? >> > > yes, i use Gem with libpd. Two comments: (a) Awesome! Would you mind telling us more about your project? (b) Every once in a while I find myself tempted to port Gem to Android, but then I wonder whether this would actually make sense. Essentially, the way I see it, Gem maps a subset of OpenGL into Pd and controls graphics with Pd messages. With libpd, you can use OpenGL directly in your client code and still exchange messages with Pd, and chances are that it'll be easier to do the math for OpenGL outside of Pd. Any thoughts? Cheers, Peter ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] workshop: Pd as your embeddable audio engine
On Fri, Apr 8, 2011 at 6:51 AM, João Pais wrote: > NY is a couple thousand Km away from Berlin, so I'm for that as well. > > Also, is pdlib just with pd-vanilla, or is it possible to use externals > with it? > The short answer is that yes, externals work with libpd. A slightly longer answer is that your operating system determines how externals work. If dlopen is available (e.g., on Android), then you can load externals as needed, the way Pd does it. If dlopen is not available (e.g., on iOS), then you need to decide in advance which externals you want to use and compile them into your code. Peter ___ Pd-announce mailing list pd-annou...@iem.at http://lists.puredata.info/listinfo/pd-announce ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] intro to Gridflow and...
On Apr 8, 2011, at 3:27 AM, Richie Cyngler wrote: Hi all, Pretty general question. I'm wondering if there is a "beginners" introduction, a primer, to Gridflow around somewhere? I've looked at the site, but it seems to assume a lot of knowledge I don't have. Also why isn't Gridflow part of Pd_extended? Its a matter of someone doing the work: http://puredata.info/docs/developer/GettingIntoPdextended .hc Programs should be written for people to read, and only incidentally for machines to execute. - from Structure and Interpretation of Computer Programs ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] intro to Gridflow and...
>Also why isn't Gridflow part of Pd_extended? Whaa... 7 hours without answer to this question ! Who's gonna shoot first ? :-p About the "introduction", after installing Gridflow, just go to gridflow/doc/tutorials/ It was perfect for me to start... Cheers. 2011/4/8 Richie Cyngler > Hi all, > > Pretty general question. I'm wondering if there is a "beginners" > introduction, a primer, to Gridflow around somewhere? I've looked at the > site, but it seems to assume a lot of knowledge I don't have. > > Also why isn't Gridflow part of Pd_extended? > > Thanks > > -- > Richie > > ___ > Pd-list@iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > > -- Envie de tisser ? http://yamatierea.org/papatchs/ ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] developing pd-gem externals
ola On 04/08/2011 04:09 PM, Juliana Vizzotto wrote: for instance. We download the svn development sources... Please, it would be great to have the source of cube, for instance, or any there is no real documentation on how to do that. if you want to do it in C++, you should go for the sources. basically, each Gem-object has it's own file (living in different directories, depending on their "type"). e.g. the code for [cube] can be found in Gem/src/Geos/cube.cpp (.h). to start a new object, it's probably easiest to just copy an existing object: - copy $ cp Geos/cube.cpp Geos/supercube.cpp $ cp Geos/cube.h Geos/supercube.h - rename the object's internals $ sed -e 's|cube|supercube|g' -i Geos/supercube.cpp $ sed -e 's|cube|supercube|g' -i Geos/supercube.h - recompile $ make - use [supercube] the above is a bit simplistic, you will probably want to do the search&replace manually, rather than trusting sed; obviously, you also might want to add some code before running make. however, there you don't necessarily need to write C++ code. for simple things, Gem wraps all the openGL commands into objects. e.g. you can use [GEMglVertex3f] rather than glVertex3f() for more complex things, you could use one of the scripting languages supported by Pd, e.g. lua (frank barknecht has done some nice things with Gem & lua; there might be examples in the web...) and of course there is GridFlow's openGL injector, that allows you to write openGL commands as messages, and inject them into Gem. something like (it's surely not working, but you should get the idea): [gemhead] | [Vertex 3 4 5, Color 1 0 0( | [gf.gl] gfasdrm IOhannes ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
[PD] developing pd-gem externals
Dear all, My name is Juliana Kaizer Vizzotto, I'm an assistant professor at computer science lab at Federal University of Santa Maria/Brazil. I have some students working with pure data. We are trying to develop some externals to work with fractals generation in pure data. We are using opengl for the images and we would like to develop a new gem object. However we don't have examples of how to create new gem objects, like cube, for instance. We download the svn development sources... Please, it would be great to have the source of cube, for instance, or any other tip. It would be great if you could help us. Thank you very much! Sincerelly, Juliana Kaizer Vizzotto. * * ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] workshop: Pd as your embeddable audio engine
Also, is pdlib just with pd-vanilla, or is it possible to use externals with it? yes, i use Gem with libpd. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] workshop: Pd as your embeddable audio engine
NY is a couple thousand Km away from Berlin, so I'm for that as well. Also, is pdlib just with pd-vanilla, or is it possible to use externals with it? João Pais I'd like to second that request. Brooklyn's just a few too many miles away from Los Angeles for me to make a day trip. Ustream perhaps? Best, Kevin On Thu, Apr 7, 2011 at 3:45 PM, Richie Cyngler wrote: This sounds like an amazing workshop. Any chance some form of it will end up online, to reach a broader audience? ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
[PD] intro to Gridflow and...
Hi all, Pretty general question. I'm wondering if there is a "beginners" introduction, a primer, to Gridflow around somewhere? I've looked at the site, but it seems to assume a lot of knowledge I don't have. Also why isn't Gridflow part of Pd_extended? Thanks -- Richie ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list