Re: [PD] To divide a number in random parts

2011-03-04 Thread Mathieu Bouchard
On Fri, 4 Mar 2011, Caio Barros wrote: Until now tim's solution seems best for me, I'll try to build the patch these days. I just thought about this, if you want a solution with a minimum, but without a maximum, where all possibilities are EQUALLY LIKELY : for two chords, pick a number from

Re: [PD] To divide a number in random parts

2011-03-04 Thread Matt Barber
This all sounds about right -- I made [list-shellsort] more as a pedagogical exercise for my students than as a model of speed or efficiency (I did a "quicksort" as well that didn't end up in list-abs). I'm pretty sure that whatever gains come from the algorithm are obliterated by "swapping" two va

Re: [PD] To divide a number in random parts

2011-03-04 Thread Mathieu Bouchard
On Fri, 4 Mar 2011, Matt Barber wrote: Check out [list-sort] for short lists, [list-shellsort] for much longer ones (I don't remember at what point the shellsort starts beating the other one -- maybe if the list has 50 or more entries; but at any rate they do the same thing). It vastly depen

Re: [PD] To divide a number in random parts

2011-03-04 Thread Mathieu Bouchard
On Fri, 4 Mar 2011, Caio Barros wrote: Oh yes, we are saying the same thing. Sorry for the comma, I always forget that. You shouldn't be sorry about the comma. Be proud about the comma :) Even in pd sometimes I keep trying to write 0,25 in a number box and get angry because it doesn't work.

Re: [PD] To divide a number in random parts

2011-03-04 Thread Matt Barber
Check out [list-sort] for short lists, [list-shellsort] for much longer ones (I don't remember at what point the shellsort starts beating the other one -- maybe if the list has 50 or more entries; but at any rate they do the same thing). Also, if you're going to be doing something like this a ton

Re: [PD] To divide a number in random parts

2011-03-04 Thread Mathieu Bouchard
On Fri, 4 Mar 2011, Matt Barber wrote: I think we're saying the same thing, if you're using the comma the way americans use the dot for indicating decimal; did 8,255 mean "8 + 255/1000"? Only if the / doesn't indicate integer division as in [expr] ;)

Re: [PD] To divide a number in random parts

2011-03-04 Thread Caio Barros
2011/3/4 Matt Barber > > I'm not shure if I understood that. You mean that if I set the "nuber of > > subdivisions per beat" as 10 I can't set the number of beats to, say > 8,255? > > As far as user's responsibility goes, it doesn't make sense to input > > negative numbers, yet it is possible. >

Re: [PD] To divide a number in random parts

2011-03-04 Thread Matt Barber
> I'm not shure if I understood that. You mean that if I set the "nuber of > subdivisions per beat" as 10 I can't set the number of beats to, say 8,255? > As far as user's responsibility goes, it doesn't make sense to input > negative numbers, yet it is possible. I think we're saying the same thi

Re: [PD] Download Pd?

2011-03-04 Thread Mathieu Bouchard
On Fri, 4 Mar 2011, Jonathan Wilkes wrote: For starters: 1. Put the download folder back (attached from archive.org from beginning of January). 2. Don't make the first distribution in the list an alpha release of library that has no stable release for download. (Better candidate would be P

Re: [PD] To divide a number in random parts

2011-03-04 Thread Caio Barros
> > Sorry for the lack of comments. It's kind of a brute-force method; > maybe I'll go through and document it at some point, but I just threw > it together today to show the concept. A couple of things: if your max > and min durations are restrictive you get an awful lot of values at the max and

Re: [PD] To divide a number in random parts

2011-03-04 Thread Matt Barber
Sorry for the lack of comments. It's kind of a brute-force method; maybe I'll go through and document it at some point, but I just threw it together today to show the concept. A couple of things: if your max and min durations are restrictive you get an awful lot of values at the max and min (wherea

Re: [PD] To divide a number in random parts

2011-03-04 Thread Caio Barros
Whoa! Nice! It worked very well here. Although sometimes I have to press the "Go" button more than once to get different results, even when I change the paramethers. Will do some more testing. I need some time to understand this patch but it looks awesome. 2011/3/4 Matt Barber > I attached an ex

Re: [PD] To divide a number in random parts

2011-03-04 Thread Matt Barber
I attached an example that will do something like what you want, using list abs. Without much trouble you could make this into an abstraction. It follows the first solution someone posted -- pick a bunch of random numbers and then scale them so the total equals the target. I added a few things, t

Re: [PD] Download Pd?

2011-03-04 Thread Jonathan Wilkes
--- On Sat, 3/5/11, IOhannes m zmölnig wrote: > From: IOhannes m zmölnig > Subject: Re: [PD] Download Pd? > To: pd-list@iem.at > Date: Saturday, March 5, 2011, 12:10 AM > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 03/04/2011 11:53 PM, George Ker wrote: > > 2011/3/4 Pierre Massat >

Re: [PD] Someone sent a bogus pointer to copy2image

2011-03-04 Thread IOhannes m zmölnig
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/04/2011 09:18 PM, Matteo Sisti Sette wrote: > Hi, > > I'm getting this error message very often: > > "error: GEM: Someone sent a bogus pointer to copy2Image" > and > "error: GEM: Someone sent a bogus pointer to copy2ImageStruct" > > It has sta

Re: [PD] Download Pd?

2011-03-04 Thread IOhannes m zmölnig
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/04/2011 11:53 PM, George Ker wrote: > 2011/3/4 Pierre Massat >> >> I don't need it, i just thought it was confusing... Perhaps it isn't. >> >> > Yes, it is. > When someone asked me what version of Pd should download and from where last > week, I

Re: [PD] Download Pd?

2011-03-04 Thread IOhannes m zmölnig
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/04/2011 11:05 PM, Pedro Lopes wrote: > But it goes to the http://puredata.info/community/projects/software yes > > and not the > http://puredata.info/downloads which is correct. the idea is, t

Re: [PD] Download Pd?

2011-03-04 Thread George Ker
2011/3/4 Pierre Massat > > I don't need it, i just thought it was confusing... Perhaps it isn't. > > Yes, it is. When someone asked me what version of Pd should download and from where last week, I realised how confusing is this and how unfriendly for a newcomer. You have to search to even find th

Re: [PD] Download Pd?

2011-03-04 Thread Pedro Lopes
But it goes to the http://puredata.info/community/projects/software and not the http://puredata.info/downloads On Fri, Mar 4, 2011 at 10:04 PM, Pedro Lopes wrote: > It is not HCI friendly, but see the image. Its on the top bar. Not on the > side

Re: [PD] Download Pd?

2011-03-04 Thread Pierre Massat
Ok, my question is : how do i get there from the main puredata.info page : http://puredata.info/downloads I don't need it, i just thought it was confusing... Perhaps it isn't. Pierre 2011/3/4 IOhannes m zmölnig > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 03/04/2011 08:21 PM, Pierr

Re: [PD] Someone sent a bogus pointer to copy2image

2011-03-04 Thread Matteo Sisti Sette
On 03/04/2011 09:23 PM, chris clepper wrote: Do you have separator or pix_separator in the patch? I have 2 pix_separators and no separator. (instead of separator I use an abstraction that pushes and pops the matrix, because separator has or used to have a bug that sometimes would underflow t

Re: [PD] Someone sent a bogus pointer to copy2image

2011-03-04 Thread chris clepper
Do you have separator or pix_separator in the patch? On Fri, Mar 4, 2011 at 3:18 PM, Matteo Sisti Sette < matteosistise...@gmail.com> wrote: > Hi, > > I'm getting this error message very often: > > "error: GEM: Someone sent a bogus pointer to copy2Image" > and > "error: GEM: Someone sent a bogus

[PD] Someone sent a bogus pointer to copy2image

2011-03-04 Thread Matteo Sisti Sette
Hi, I'm getting this error message very often: "error: GEM: Someone sent a bogus pointer to copy2Image" and "error: GEM: Someone sent a bogus pointer to copy2ImageStruct" It has started to appear with a rather complex patch which didn't use to trigger this error, so i don't know where to start

Re: [PD] pd-kinect-skeleton

2011-03-04 Thread palmieri, ricardo
dont forget the psi pose, to start the system. palm 2011/3/4 Hans-Christoph Steiner > > There aren't any good isntructions, but most of it is setting up OSCeleton. > Here's the basics: > > - set up OSCeleton https://github.com/Sensebloom/OSCeleton > - run OSCeleton > - open the pd-kinect-skel

Re: [PD] Download Pd?

2011-03-04 Thread IOhannes m zmölnig
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/04/2011 08:21 PM, Pierre Massat wrote: > Hi list, why has the Download folder disapeared from the menu in > puredata.info? i cannot really follow you. i get the following tabs (without being logged in) "download pd" "documentation" "development"

Re: [PD] Download Pd?

2011-03-04 Thread Jose Luis Santorcuato
Hi, test here http://sourceforge.net/projects/pure-data/files/ Current and old releases Best regards José 2011/3/4 Pierre Massat : > Hi list, why has the Download folder disapeared from the menu in > puredata.info? It's there if you come from google and search for the > download page, but it's

Re: [PD] thanks for Pduino!

2011-03-04 Thread Jose Luis Santorcuato
;) Yes, maybe on April... Best José 2011/3/4 Hans-Christoph Steiner : > > That's great to hear, definitely post your book here once you have something > to share! > > .hc > > On Mar 4, 2011, at 12:18 PM, Jose Luis Santorcuato wrote: > >> Hi List, good topic, the truth is right and necessary p

Re: [PD] thanks for Pduino!

2011-03-04 Thread Hans-Christoph Steiner
That's great to hear, definitely post your book here once you have something to share! .hc On Mar 4, 2011, at 12:18 PM, Jose Luis Santorcuato wrote: Hi List, good topic, the truth is right and necessary pduino thankful for, here in Chile we have developed nice projects, artistic and educat

[PD] Download Pd?

2011-03-04 Thread Pierre Massat
Hi list, why has the Download folder disapeared from the menu in puredata.info? It's there if you come from google and search for the download page, but it's not when you're in puredata.info. Or maybe i'm blind? Pierre ___ Pd-list@iem.at mailing list UNS

Re: [PD] large audio files

2011-03-04 Thread august
Andrew, you should be able to use readanysf~ to do what you want. just [open( the file and then [time_seek( or [pcm_seek( to any position in the file and then [play( you could also use soundfiler on a large wav file using -skip and and -nframes to loa

Re: [PD] Music made with PD

2011-03-04 Thread Eduardo Patricio
I suspected, Caio. No Gem, I just used |image|. um abraço Eduardo De: Caio Barros Para: Eduardo Patricio Cc: Richie Cyngler ; pd-list Enviadas: Sexta-feira, 4 de Março de 2011 14:16 Assunto: Re: [PD] Music made with PD Plese send me the instructions. I'm brazilian too, speak portugue

Re: [PD] thanks for Pduino!

2011-03-04 Thread Jose Luis Santorcuato
Hi List, good topic, the truth is right and necessary pduino thankful for, here in Chile we have developed nice projects, artistic and educational level, maximizing Arduino. Also tell them that I am preparing a small book-manual Arduino programming in Spanish. Thanks again. José 2011/3/4 Hans-Ch

Re: [PD] Music made with PD

2011-03-04 Thread Caio Barros
Plese send me the instructions. I'm brazilian too, speak portuguese. What I want to know about the drawings is how can I put those images in the Pd patch? Did you use Gem or another library? 2011/3/4 Eduardo Patricio > > Hi, Caio! > > Here's the graphic > score

Re: [PD] Music made with PD

2011-03-04 Thread Eduardo Patricio
Hi, Caio! Here's the graphic score. The étude has an improvisational character. So the score doesn't indicate the expected sound results or the performer actions, but a set of possibilities in a given time. I could send you a pdf file that includes the performance guidelines (in portuguese)

Re: [PD] Music made with PD

2011-03-04 Thread Caio Barros
Hey Eduardo, can you show us the Score of that Zin Etude? And how did you draw those symbols of the sensors in the GUI? Caio Barros 2011/3/4 Eduardo Patricio > > Thank you for your feedback, Richie! > > I hope to see more of your project in the future. > Sure, I'll send you the complete specifi

Re: [PD] To divide a number in random parts

2011-03-04 Thread Caio Barros
Until now tim's solution seems best for me, I'll try to build the patch these days. You know what would be really nice? If it were possible for the computer to translate the durations into musical rhythms (in lilypond or musicXML for instance). The user input the total duration, the number of divis

Re: [PD] large audio files

2011-03-04 Thread David Schaffer
Do you really have to use MP3? I think this might be easier to do with uncompressed WAV. http://www.flickr.com/photos/schafferdavid/ http://audioblog.arteradio.com/David_Schaffer/ From: jbtur...@hotmail.com To: pd-list@iem.at Date: Thu, 3 Mar 2011 14:06:56 + Subject: [PD] large audio fil

Re: [PD] thanks for Pduino!

2011-03-04 Thread Hans-Christoph Steiner
Thanks, glad y'all find it useful! As for bugs, I've only really worked with the normal Arduino boards like the Arduino Diecimila and Paul Stoffregen's Teensy boards. Other boards have different numbering schemes so might have quirks. .hc On Mar 1, 2011, at 2:27 PM, Ingo wrote: I’ve j

Re: [PD] pd-kinect-skeleton

2011-03-04 Thread Hans-Christoph Steiner
There aren't any good isntructions, but most of it is setting up OSCeleton. Here's the basics: - set up OSCeleton https://github.com/Sensebloom/OSCeleton - run OSCeleton - open the pd-kinect-skeleton patches .hc On Mar 3, 2011, at 7:14 PM, matohawk wrote: Hi, Anybody made a simple docum

Re: [PD] To divide a number in random parts

2011-03-04 Thread Mathieu Bouchard
On Fri, 4 Mar 2011, Bastiaan van den Berg wrote: What about this method (actually only works for uneven number of chords, so maybe drop one, or increase to 11 and drop one later( randomly? )) Just pick a random float between 0 and 48, we'll call that X1 Then pick a random float between 0 and X

Re: [PD] expr family bug?

2011-03-04 Thread Moritz Schell
By the way - I'm working on MacOSX Am 04.03.2011 um 14:54 schrieb Moritz Schell: Hey Folks, I have a strange problem using the [expr] object: I wrote an expr with If-arguments in it to range values. First I tried it with 5 lines of If-arguments an everything worked fine. Than I tried to get

Re: [PD] To divide a number in random parts

2011-03-04 Thread Bastiaan van den Berg
What about this method (actually only works for uneven number of chords, so maybe drop one, or increase to 11 and drop one later( randomly? )) Just pick a random float between 0 and 48, we'll call that X1 Then pick a random float between 0 and X1 , and between X1 and 48, call those Y1 and Y2 Then

Re: [PD] To divide a number in random parts

2011-03-04 Thread Markus Demmel
So, then use [randomF], put the values into an list/array and shuffle that. It would still be not fully random, because the numbers won't be bigger than 10, but still it would be quite random :) On 04.03.2011 04:01, Caio Barros wrote: > You could try this approach(I also attached a patch w

[PD] expr family bug?

2011-03-04 Thread Moritz Schell
Hey Folks, I have a strange problem using the [expr] object: I wrote an expr with If-arguments in it to range values. First I tried it with 5 lines of If-arguments an everything worked fine. Than I tried to get more If-arguments into the expr to get better results BUT after 9 if-arguments ever

Re: [PD] Music made with PD

2011-03-04 Thread Eduardo Patricio
Thank you for your feedback, Richie! I hope to see more of your project in the future. Sure, I'll send you the complete specifications later, but right now I can tell that there's no mystery about the hardware. I have 6 GP2D12 sensors and two of 'these' directly plugged to the arduino. That's

Re: [PD] How to capture sound & video from Pd/Gem

2011-03-04 Thread chr
Am 04.03.2011 11:16, schrieb chr: Am 01.03.2011 22:29, schrieb Markus Demmel: Hi List, does anybody know a good (working) way to capture audio and video from Pd/Gem under linux? hi markus i give it out in images with [pix_write] and soundfile with [writesf~] the tif images i animate with ffmp

Re: [PD] How to capture sound & video from Pd/Gem

2011-03-04 Thread chr
Am 01.03.2011 22:29, schrieb Markus Demmel: Hi List, does anybody know a good (working) way to capture audio and video from Pd/Gem under linux? hi markus i give it out in images with [pix_write] and soundfile with [writesf~] the tif images i animate with ffmpeg for ex.: ffmpeg -f gem%05d.tif