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 0 to 1 with equal probability ; it will 
be the fraction of the time given to the 1st chord. The 2nd chord takes 
the rest.


for three chords, pick a number from 0 to 1 with equal probability, then 
square it. Then for the two remaining chords, use the two-chord method on 
the rest of the available time.


for four chords, pick a number from 0 to 1 with equal probability, then 
cube it. Then apply the three-chord method on the rest.


for N chords, pick a number from 0 to 1 with equal probability, then raise 
it to the power N-1. Then apply the method for N-1 chords on the rest.


I'm basing this on the formula for the right-isoceles triangle area, n²/2, 
and the formula for the right-pyramid volume, n³/6, and I extrapolated.


I hope I didn't make any mistake in there... but it looks right.

And by the way (a little off-topic now): Mathieu, I recently compilated 
GridFlow and tried the [note] object you did. Humm! What a nice object. 
I still would prefer that the output would be the midi note and the 
slide to go chromatically because at least for me is so much easier for 
the calculations, but kudos to you.


Well, when I made it, I already planned that I would incompatibly change 
it from what it is, so that it becomes MIDI. That's on my TODO list. Maybe 
I will do it for 9.14.


 ___
| 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] 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 values in a list -- I think it does
bunch of splits to isolate values at two indices and then recopies the
entire list TWICE in order to replace the two values. [list-swap] is
ridiculously inefficient compared with the array/table analogue -- at
one point I had sped up the whole thing vastly by dumping the list to
a table first, sorting it all in place, and then dumping it back out
to a list -- but then it uses fewer of the list abstractions and is
less of an opportunity to show how the abstractions work "in action."
And it's a good reminder for how slow list manipulations can be.

I remember a year or so ago I made a vanilla [list-s2l] that used a
bunch of makefilename/sprintf shenanigans to slowly tease apart a
symbol into constituent parts, with delimiting:
http://lists.puredata.info/pipermail/pd-list/2009-11/074298.html --
one of the best exercises in constrained patching I've ever done, and
fun for proving that some things are actually possible in vanilla that
you think wouldn't be, but really stupid with comparison to the
efficiency of something coded in C for actual use. Yet, I suspect that
people go ahead and use [list-sort] all the time.

Matt

On Fri, Mar 4, 2011 at 10:29 PM, Mathieu Bouchard  wrote:
> 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 depends on the implementation, the interpreter it runs in, and the
> computer that the interpreter runs on.
>
> However, from a short test of running time, it looks like [list-shellsort]
> runs much slower than what its theory calls the worst case. It probably
> takes O(n) time to perform stuff that usually takes O(1), probably because
> it avoids using [tabread] and such.
>
> Actually, on my old computer, [list-shellsort] sorts an already-sorted list
> of size 1000 in 280 ms, and of size 4000 in 5530 ms. That's a 20-fold
> difference, whereas O(n^2) would be 16-fold, and shellsort's theoretical
> worst-case would be 8-fold, that is, O(n^1½).
>
> [#sort] runs vastly faster than that. For the already-sorted list of size
> 1000, it does it in something like 0,22 ms, whereas for size 4000 it does it
> in about 0,90 ms. This means over a thousand times faster than
> [list-shellsort].
>
>> Also, if you're going to be doing something like this a ton in real
>> time with long lists, it might be more productive to do all this
>> manipulation with tables
>
> Yes, you would be able to get speeds that are consistently about 10-20 times
> slower than [#sort] for any table size, which would be a vast improvement
> over [list-shellsort].
>

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


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 depends on the implementation, the interpreter it runs in, and 
the computer that the interpreter runs on.


However, from a short test of running time, it looks like [list-shellsort] 
runs much slower than what its theory calls the worst case. It probably 
takes O(n) time to perform stuff that usually takes O(1), probably because 
it avoids using [tabread] and such.


Actually, on my old computer, [list-shellsort] sorts an already-sorted 
list of size 1000 in 280 ms, and of size 4000 in 5530 ms. That's a 
20-fold difference, whereas O(n^2) would be 16-fold, and shellsort's 
theoretical worst-case would be 8-fold, that is, O(n^1½).


[#sort] runs vastly faster than that. For the already-sorted list of size 
1000, it does it in something like 0,22 ms, whereas for size 4000 it does 
it in about 0,90 ms. This means over a thousand times faster than 
[list-shellsort].



Also, if you're going to be doing something like this a ton in real
time with long lists, it might be more productive to do all this
manipulation with tables


Yes, you would be able to get speeds that are consistently about 10-20 
times slower than [#sort] for any table size, which would be a vast 
improvement over [list-shellsort].


 ___
| 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] 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.


This means pd needs some help with it. Just apply this change to pd, and 
it will convert commas to periods :


Index: g_text.c
===
--- g_text.c(révision 15012)
+++ g_text.c(copie de travail)
@@ -714,7 +714,7 @@
 x->a_buf[len] = c;
 x->a_buf[len+1] = 0;
 goto redraw;
-}
+} else if (c == ',') strcpy(x->a_buf+len,".");
 }
 return;
 redraw:
Index: g_numbox.c
===
--- g_numbox.c  (révision 15012)
+++ g_numbox.c  (copie de travail)
@@ -714,12 +714,12 @@
 sys_queuegui(x, x->x_gui.x_glist, my_numbox_draw_update);
 return;
 }
-if(((c>='0')&&(c<='9'))||(c=='.')||(c=='-')||
+if(((c>='0')&&(c<='9'))||(c=='.')||(c=='-')||(c==',')||
 (c=='e')||(c=='+')||(c=='E'))
 {
 if(strlen(x->x_buf) < (IEMGUI_MAX_NUM_LEN-2))
 {
-buf[0] = c;
+buf[0] = c==','?'.':c;
 strcat(x->x_buf, buf);
 sys_queuegui(x, x->x_gui.x_glist, my_numbox_draw_update);
 }

One more thing. How hard it is to make possible for the user to choose 
between the random output that you already made and to sort that output 
from the smallest to longest duration and vice-versa?


[#sort] can sort any list of numbers very quickly.

 ___
| 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] 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 in real
time with long lists, it might be more productive to do all this
manipulation with tables instead of lists (but there isn't yet a
library of ready-made vanilla table abstractions like list-abs, at
least that I know about; it's been on my to do list for a while but
I've been busy with lots of other stuff, and anyway there are lots of
externals which do these things with tables).

Matt

On Fri, Mar 4, 2011 at 9:49 PM, Caio Barros  wrote:
>
>
> 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.
>>
>>
>> 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"?
>>
>> Briefly -- it means that if I set the "subdivisions" to 4 (i.e. the
>> "rhythms" will be quantized to "sixteenth notes"), I will not be able
>> to generate something that lasts a total of 25.2 beats, since 25.2 is
>> quantized to 5 subdivisions per beat ("sixteenth-note quintuplets).
>
> Oh yes, we are saying the same thing. Sorry for the comma, I always forget
> that. Even in pd sometimes I keep trying to write 0,25 in a number box and
> get angry because it doesn't work.
> One more thing. How hard it is to make possible for the user to choose
> between the random output that you already made and to sort that output from
> the smallest to longest duration and vice-versa?
>

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


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] ;)

 ___
| 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] 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.
>
>
> 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"?
>
> Briefly -- it means that if I set the "subdivisions" to 4 (i.e. the
> "rhythms" will be quantized to "sixteenth notes"), I will not be able
> to generate something that lasts a total of 25.2 beats, since 25.2 is
> quantized to 5 subdivisions per beat ("sixteenth-note quintuplets).
>

Oh yes, we are saying the same thing. Sorry for the comma, I always forget
that. Even in pd sometimes I keep trying to write 0,25 in a number box and
get angry because it doesn't work.
One more thing. How hard it is to make possible for the user to choose
between the random output that you already made and to sort that output from
the smallest to longest duration and vice-versa?
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


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 thing, if you're using the comma the way
americans use the dot for indicating decimal; did 8,255 mean "8 +
255/1000"?

Briefly -- it means that if I set the "subdivisions" to 4 (i.e. the
"rhythms" will be quantized to "sixteenth notes"), I will not be able
to generate something that lasts a total of 25.2 beats, since 25.2 is
quantized to 5 subdivisions per beat ("sixteenth-note quintuplets).

Matt

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


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 Pd-ext or Vanilla.)


I second that ; but also, I clicked on 
http://puredata.info/community/projects/software/gridflow and got this :


Erreur du site

Le site a rencontré une erreur en essayant de répondre à votre demande :

Type de l'erreur
KeyError
Valeur de l'erreur
20119333
Requête envoyée au serveur le
2011/03/05 03:19:10.430 GMT+1

 ___
| 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] 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 min (whereas you might want to randomize the corrected
> outliers within a certain range so that you get values that hover a
> certain random amount above the min or below the max).
>

I noticed that.


>
> Also, the total number of beats should be quantized to the nearest
> subdivision but I didn't worry about that. I guess it's the user's
> responsibility.
>
>
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.


> Not sure about the go button, seems to work here. At some point you
> might wish to add a seed for the random if you don't want things to
> repeat from the last time you opened the patch.
>

Maybe I'm restricting the paramethers too much so the program doesn't have
many options. Hence the repetitions of results. I don't know.

Anyway, nice work. I didn't work yet with all those list objects, so I need
to learn them a bit.
Also, for my purposes I'm thinking of implementing two other tools to this
soon-to-be abstraction:
- The first one is a bang generator that outputs a bang at random time
intervals (with max and min defined by the user) running together with a
chronometer. So it outputs the exact time of the bangs. Maybe it could
output two times: the overall duration since the chronometer started and the
interval between tha bang and the last one, very easy to do.
- The second one is a table that give the duration of musical notes when the
user inputs the tempo. That's something that I saw once as an MS Excell
spreadsheet that the spanish composer Jose Manuel Lopez Lopez had and is
s useful. I remember that it even had many tempos side by side so the
composer could know when the triplet in tempo x is equal to sixteenth in
tempo y, à la elliott carter. I also have a friend that wanted to do that,
maybe we can team up.
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


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 (whereas you might want to randomize the corrected
outliers within a certain range so that you get values that hover a
certain random amount above the min or below the max).

Also, the total number of beats should be quantized to the nearest
subdivision but I didn't worry about that. I guess it's the user's
responsibility.

Not sure about the go button, seems to work here. At some point you
might wish to add a seed for the random if you don't want things to
repeat from the last time you opened the patch.

Matt



On Fri, Mar 4, 2011 at 6:57 PM, Caio Barros  wrote:
> 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 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, though -- it also rounds the numbers to the nearest
>> subdivision that you specify, and it goes through the list and moves
>> anything lower than the min or higher than the max duration to the min
>> or max, compensating elsewhere, until all the durations are in range.
>> I capped the number of searches for outliers to 1000, but you could
>> change that or get rid of it as need be.
>>
>> I haven't tested this thoroughly, so let me know.
>>
>> MB
>>
>>
>>
>> >> Note that if you sum 1+2+3+4+5+6+7+8+9+10, that's already 55. How many
>> >> time
>> >> units do you have per 48 seconds ? (do you have a base tempo at all ?)
>> >>
>> >> And then what do you want the distribution to be like ? Is there any
>> >> maximum duration of a chord, minimum duration of a chord, etc ?
>> >>
>> >>
>> > It's funny that you said that. I slept over this problem and yes, I want
>> > the
>> > chords to have a minimun and maximun duration. They don't need to bee
>> > all of
>> > different durations, the important is this section of the piece to sound
>> > like random/chaotic durations, and as we know random numbers (or
>> > durations?)
>> > sometimes don't look random. I will even make this again for the attacks
>> > of
>> > individual notes of the chords so the section will have a truly chaotic
>> > feeling.
>> > And by the way the tempo of this section is quarter = 60 so it's very
>> > easy
>> > to do this. (thank you Mathieu for making me think about it more deeply)
>> >
>> > Thank you guys for the other answers. This really helps.
>> >
>> > Caio Barros
>
>

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


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 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, though -- it also rounds the numbers to the nearest
> subdivision that you specify, and it goes through the list and moves
> anything lower than the min or higher than the max duration to the min
> or max, compensating elsewhere, until all the durations are in range.
> I capped the number of searches for outliers to 1000, but you could
> change that or get rid of it as need be.
>
> I haven't tested this thoroughly, so let me know.
>
> MB
>
>
>
> >> Note that if you sum 1+2+3+4+5+6+7+8+9+10, that's already 55. How many
> time
> >> units do you have per 48 seconds ? (do you have a base tempo at all ?)
> >>
> >> And then what do you want the distribution to be like ? Is there any
> >> maximum duration of a chord, minimum duration of a chord, etc ?
> >>
> >>
> > It's funny that you said that. I slept over this problem and yes, I want
> the
> > chords to have a minimun and maximun duration. They don't need to bee all
> of
> > different durations, the important is this section of the piece to sound
> > like random/chaotic durations, and as we know random numbers (or
> durations?)
> > sometimes don't look random. I will even make this again for the attacks
> of
> > individual notes of the chords so the section will have a truly chaotic
> > feeling.
> > And by the way the tempo of this section is quarter = 60 so it's very
> easy
> > to do this. (thank you Mathieu for making me think about it more deeply)
> >
> > Thank you guys for the other answers. This really helps.
> >
> > Caio Barros
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


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, though -- it also rounds the numbers to the nearest
subdivision that you specify, and it goes through the list and moves
anything lower than the min or higher than the max duration to the min
or max, compensating elsewhere, until all the durations are in range.
I capped the number of searches for outliers to 1000, but you could
change that or get rid of it as need be.

I haven't tested this thoroughly, so let me know.

MB



>> Note that if you sum 1+2+3+4+5+6+7+8+9+10, that's already 55. How many time
>> units do you have per 48 seconds ? (do you have a base tempo at all ?)
>>
>> And then what do you want the distribution to be like ? Is there any
>> maximum duration of a chord, minimum duration of a chord, etc ?
>>
>>
> It's funny that you said that. I slept over this problem and yes, I want the
> chords to have a minimun and maximun duration. They don't need to bee all of
> different durations, the important is this section of the piece to sound
> like random/chaotic durations, and as we know random numbers (or durations?)
> sometimes don't look random. I will even make this again for the attacks of
> individual notes of the chords so the section will have a truly chaotic
> feeling.
> And by the way the tempo of this section is quarter = 60 so it's very easy
> to do this. (thank you Mathieu for making me think about it more deeply)
>
> Thank you guys for the other answers. This really helps.
>
> Caio Barros


random-durations.pd
Description: Binary data
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


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 
> >>
> >> 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 the main forum of the
> program.
> > Never mind, no objection intended
> > 
> 
> do object if you need to.
> even better would be to provide constructive critic on how
> to improve
> what is currently there.

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 Pd-ext or Vanilla.)

-Jonathan

> 
> fgmasdr
> IOhannes
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.11 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> 
> iEYEARECAAYFAk1xcWwACgkQkX2Xpv6ydvSO+QCg9B2J8ZsLZZTfEqSs6xLcM+j+
> 82oAnR8zb3AGh/iEfJcLqNUEov1+uB+i
> =I/QE
> -END PGP SIGNATURE-
> 
> ___
> 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] 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 started to appear with a rather complex patch which didn't use to
> trigger this error, so i don't know where to start from in order to
> track the issue down (by the way the patch works perfecly).
> 
> Does anybody know what the message exactly means or if it is specific to
> some particular object?

the message means that an object tried to duplicate a non-existing image.


given, that things don't start "out of a sudden" and you haven't
upgraded to a newer (protentially buggy) version, what else did you change?

mfgasdr
IOhannes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1xch0ACgkQkX2Xpv6ydvSQogCdF0e8+ZsYrvJmCWKfUGWkPYNN
7H4AnRgjCg5Sg0S1laTu2bk0ag+52pEj
=H7eY
-END PGP SIGNATURE-

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


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 realised how confusing is this and how unfriendly for a newcomer.
> You have to search to even find the main forum of the program.
> Never mind, no objection intended
> 

do object if you need to.
even better would be to provide constructive critic on how to improve
what is currently there.

fgmasdr
IOhannes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1xcWwACgkQkX2Xpv6ydvSO+QCg9B2J8ZsLZZTfEqSs6xLcM+j+
82oAnR8zb3AGh/iEfJcLqNUEov1+uB+i
=I/QE
-END PGP SIGNATURE-

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


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, that the former will replace the latter.
right now, the latter is still there for transition's sake

fgsadt
IOhannes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1xcZEACgkQkX2Xpv6ydvRRrACgjA59zMA8kwJiYRXFcXAjiEvA
6NgAoPa3OUKszG6rZPXLeGsAMLYdscdM
=vhCW
-END PGP SIGNATURE-

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


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 the main forum of the program.
Never mind, no objection intended

 -

GeorgeKer

http://tinyurl.com/georgeker

path_to_san...@joindiaspora.com

-
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


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.
>
> 2011/3/4 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, 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" "community" "members"
>>> "exhibition" at the top o the page.
>>>
>>> the 1st one directs you to the download page (hence it's name)
>>>
>>> famdr
>>> IOhannes
>>> -BEGIN PGP SIGNATURE-
>>> Version: GnuPG v1.4.11 (GNU/Linux)
>>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>>>
>>> iEYEARECAAYFAk1xQ28ACgkQkX2Xpv6ydvTwBQCg8hL1+FE6Hs1d5aF3BU6P0Fn5
>>> 01QAn2Ux3+gRkIDFb+U0rLaQUR+XYmtj
>>> =Hl8o
>>> -END PGP SIGNATURE-
>>>
>>> ___
>>> 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
>>
>>
>
>
> --
> Pedro Lopes (MSc)
> contact: pedro.lo...@ist.utl.pt
> website: http://web.ist.utl.pt/Pedro.Lopes /
> http://pedrolopesresearch.wordpress.com/ |
> http://twitter.com/plopesresearch
>



-- 
Pedro Lopes (MSc)
contact: pedro.lo...@ist.utl.pt
website: http://web.ist.utl.pt/Pedro.Lopes /
http://pedrolopesresearch.wordpress.com/ | http://twitter.com/plopesresearch
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


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, 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" "community" "members"
> "exhibition" at the top o the page.
>
> the 1st one directs you to the download page (hence it's name)
>
> famdr
> IOhannes
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.11 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk1xQ28ACgkQkX2Xpv6ydvTwBQCg8hL1+FE6Hs1d5aF3BU6P0Fn5
> 01QAn2Ux3+gRkIDFb+U0rLaQUR+XYmtj
> =Hl8o
> -END PGP SIGNATURE-
>
> ___
> 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] 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 the transformation stack. Of these I do have quite a few)




On Fri, Mar 4, 2011 at 3:18 PM, Matteo Sisti Sette
mailto: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 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 from in
order to track the issue down (by the way the patch works perfecly).

Does anybody know what the message exactly means or if it is
specific to some particular object?

I'm using Pd Extended 0.42.5 with gem 0.92.3 on Ubuntu.

Thanks
m.

___
Pd-list@iem.at  mailing list
UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list





___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] 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 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 from in order to track
> the issue down (by the way the patch works perfecly).
>
> Does anybody know what the message exactly means or if it is specific to
> some particular object?
>
> I'm using Pd Extended 0.42.5 with gem 0.92.3 on Ubuntu.
>
> Thanks
> m.
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[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 from in order to 
track the issue down (by the way the patch works perfecly).


Does anybody know what the message exactly means or if it is specific to 
some particular object?


I'm using Pd Extended 0.42.5 with gem 0.92.3 on Ubuntu.

Thanks
m.

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


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-skeleton patches
>
> .hc
>
>
> On Mar 3, 2011, at 7:14 PM, matohawk wrote:
>
>  Hi,
>>
>> Anybody made a simple documentation to install step by step all the
>> programm to see the Skeleton because I'm a bit confused.
>> I saw Hans project it's really nice but I think I have some problem before
>> with OpenNI and the other things.
>>
>> It will great if someone could be made a simple documentation.
>>
>> Thomas
>>
>>
>> Le 2011-02-23 11:30, palmieri, ricardo a écrit :
>>
>>> hi pat...
>>>
>>> thanks by the tryplex links.
>>>
>>> yesterday i'd test some processing and animata examples also.
>>> in mac osx i had lots of crashes. in linux, everything runs well.
>>>
>>> now, i will start to try something more usefull.
>>> i hope still today, to post some video with all these experiences.
>>>
>>> if somebody need some help, just ask. sharing is the key!
>>>
>>>
>>> thx for all again.
>>>
>>> cheers
>>>
>>>
>>> palm
>>>
>>> 2011/2/23 philippe boisnard mailto:philem...@mac.com
>>> >>
>>>
>>>   Hi
>>>
>>>   yeah, incredible PSI POse hihihihi, but when I work with dancer or
>>>   actually in theater, comedian or dancer have more flexible posture,
>>>   for example it captures the back and not just face, and if you are
>>>   at the good distance, it captures really in a dynamic movement.
>>>
>>>   And I think, that the most interresting work, is not only figurative
>>>   (3D modelisation for example), but to invente some virtual
>>>   interactive space.
>>>   For example : create a virtual and invisible wall, each brick is a
>>>   sample. The right hand chooses the specific sample, and the other
>>>   hand and other interactive dot of body manipulate effects.
>>>   This way is interresting because, with the xyz axes we work in a
>>>   complet space.
>>>
>>>   The only difficulty actually, it's for me the speed of captation by
>>>   kinect. It's slow, and for the creation where I work actually, the
>>>   comedian is speeder than uptake by kinect.
>>>
>>>>
>>>> hope to see you soon guys.
>>>   Hope tooo !
>>>
>>>   p
>>>
>>>
>>>>
>>>> cheers
>>>>
>>>> palm
>>>
>>>
>>>
>>>
>>> --
>>> twitt-me: @ricardopalmieri
>>> mobile# +551185833173
>>> [memelab.com.br ]
>>> [palm.estudiolivre.org ]
>>> [myspace.com/livenoisetupi ]
>>> [skype:palmieriricardo]
>>> [msn: ricardopalmi...@bol.com.br ]
>>> [linux user # 392484]
>>>
>>>
>>>
>>> ___
>>> 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
>>
>
>
>
>
> 
>
> Man has survived hitherto because he was too ignorant to know how to
> realize his wishes.  Now that he can realize them, he must either change
> them, or perish.-William Carlos Williams
>
>
>
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>



-- 
twitt-me: @ricardopalmieri
mobile# +551185833173
[memelab.com.br]
[palm.estudiolivre.org]
[myspace.com/livenoisetupi]
[skype:palmieriricardo]
[msn: ricardopalmi...@bol.com.br]
[linux user # 392484]
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


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" "community" "members"
"exhibition" at the top o the page.

the 1st one directs you to the download page (hence it's name)

famdr
IOhannes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1xQ28ACgkQkX2Xpv6ydvTwBQCg8hL1+FE6Hs1d5aF3BU6P0Fn5
01QAn2Ux3+gRkIDFb+U0rLaQUR+XYmtj
=Hl8o
-END PGP SIGNATURE-

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


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 not when you're in puredata.info. Or maybe i'm
> blind?
>
> Pierre
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>



-- 
http://arselectronicachile.blogspot.com
http://comunicacionnativa.blogspot.com/
http://www.myspace.com/santorcuato

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


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 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-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 just noticed there is an error in the digital ins. The digital ins
 1
 and 2 don’t get added up correctly to the 8-bit number. So every time
 you
 switch between the fir two and the other digital ins you have an address
 of
 “0” for the first value. Took me half a day to find the error. There is
 a
 different status byte for these ins.

 Hans, if you are reading this you should take a look at it. I had it
 happen
 to me in the testing patch.

 Also there is a new and old behaviour for switching on the analogue ins.
 The
 new one only works for some of them. I had to switch back to the old
 message
 to turn them all on.

 Ingo

 
 Von: pd-list-boun...@iem.at [mailto:pd-list-boun...@iem.at] Im Auftrag
 von
 Richie Cyngler
 Gesendet: Dienstag, 1. März 2011 09:34
 An: PD-List
 Betreff: [PD] thanks for Pduino!

 Hi all,

 Just wanted to say thanks to Hans and everyone involved in putting
 Pduino
 together.

 I am having a ball with it!

 So, thanks!

 --
 shiny

 Rich



 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management ->
 http://lists.puredata.info/listinfo/pd-list
>>>
>>>
>>>
>>>
>>> 
>>>
>>> I spent 33 years and four months in active military service and during
>>> that
>>> period I spent most of my time as a high class muscle man for Big
>>> Business,
>>> for Wall Street and the bankers.      - General Smedley Butler
>>>
>>>
>>>
>>> ___
>>> Pd-list@iem.at mailing list
>>> UNSUBSCRIBE and account-management ->
>>> http://lists.puredata.info/listinfo/pd-list
>>>
>>
>>
>>
>> --
>> http://arselectronicachile.blogspot.com
>> http://comunicacionnativa.blogspot.com/
>> http://www.myspace.com/santorcuato
>
>
>
> 
>
> "Making boring techno music is really easy with modern tools, but with live
> coding, boring techno is much harder." - Chris McCormick
>
>
>
>
>



-- 
http://arselectronicachile.blogspot.com
http://comunicacionnativa.blogspot.com/
http://www.myspace.com/santorcuato

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


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
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-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 just noticed there is an error in the digital ins. The  
digital ins 1
and 2 don’t get added up correctly to the 8-bit number. So every  
time you
switch between the fir two and the other digital ins you have an  
address

of
“0” for the first value. Took me half a day to find the error.  
There is a

different status byte for these ins.

Hans, if you are reading this you should take a look at it. I had it
happen
to me in the testing patch.

Also there is a new and old behaviour for switching on the  
analogue ins.

The
new one only works for some of them. I had to switch back to the old
message
to turn them all on.

Ingo


Von: pd-list-boun...@iem.at [mailto:pd-list-boun...@iem.at] Im  
Auftrag von

Richie Cyngler
Gesendet: Dienstag, 1. März 2011 09:34
An: PD-List
Betreff: [PD] thanks for Pduino!

Hi all,

Just wanted to say thanks to Hans and everyone involved in putting  
Pduino

together.

I am having a ball with it!

So, thanks!

--
shiny

Rich



___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list






I spent 33 years and four months in active military service and  
during that
period I spent most of my time as a high class muscle man for Big  
Business,

for Wall Street and the bankers.  - General Smedley Butler



___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list





--
http://arselectronicachile.blogspot.com
http://comunicacionnativa.blogspot.com/
http://www.myspace.com/santorcuato






"Making boring techno music is really easy with modern tools, but with  
live coding, boring techno is much harder." - Chris McCormick






___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[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
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


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 load the file.   after that you can do normal table
lookup and manipulation (play forwards, backwards, slower, faster,
etc)

best -august.


> Do you really have to use MP3? I think this might be easier to do with 
> uncompressed WAV.
> 
> 
> 
> From: jbtur...@hotmail.com
> To: pd-list@iem.at
> Date: Thu, 3 Mar 2011 14:06:56 +
> Subject: [PD] large audio files
> 
> Hey Guys
> I've had a vague Idea (which I find is often the best kind) for something to 
> do with pure data. 
> Basically, I want it to randomly select a clip from a long MP3 (just under an 
> hour long) and play back, preferably with some speed manipulation. Although 
> I'm not sure about how to do with with a large file in pure data. I suppose 
> the trick might be to pull a minute or so whole-sale from the file and then 
> manipulate the playback from an array. But really don't know where to start, 
> with the possible exception of [readanySF~] to actually play a long file. 
> any help?
> Cheers
> Andrew  
> 

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


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 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. 
>>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). 
>
>I drew the symbols with corel draw to send to the "acrylic factory".
>
>
>
>Eduardo
>
> 
>
>_
>Eduardo Patrício
>http://www.eduardopatricio.com.br
>+55 41 8434-0480
>
>
>
>De: Caio Barros 
>
>Para: Eduardo Patricio 
>Cc: Richie Cyngler ; pd-list 
>Enviadas: Sexta-feira, 4 de Março de 2011 12:52
>
>Assunto: Re: [PD] Music made with PD
>
>
>
>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 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 it. 
>>
>>
>>Eduardo
>>
>> 
>>
>>_
>>Eduardo Patrício
>>http://www.eduardopatricio.com.br
>>+55 41 8434-0480
>>
>>
>>
De: Richie Cyngler 
>>Para: Eduardo Patricio 
>>Cc: Phil Stone ;
>> pd-list 
>>Enviadas: Terça-feira, 1 de Março de 2011 18:30
>>Assunto: Re: [PD] Music made with PD
>>
>>
>>Great stuff Eduardo! I love that Zin, what a wonderful thing. We are doing 
>>similar work, although you are far ahead of me with Arduino. I should post 
>>some of my wii videos. 
>>
>>
>>Here is my first attempt at Arduino http://vimeo.com/20355024 it's now fully 
>>veroboarded. Now I have to work on the patch.
>>
>>
>>I would be really interested in the exact specifications of you Zin, I am 
>>intending to make my own gestural HID with Arduino. If you would be willing 
>>to share your circuit designs or sensor specs I'd very much appreciate it.
>>
>>
>>thanks
>>
>>
>>Richie Cyngler
>>
>>
>>On Wed, Mar 2, 2011 at 5:18 AM, Eduardo Patricio  wrote:
>>
>
>>>
>>>
>>>Thanks, Phil!
>>>
>>>I believe not. It's very simple.  
>>>
>>>Hardware: six infrared distance sensors (to directly control several 
>>>parameters), and two proximity sensors. 
>>>
>>>Software: a simple granular synthesis implementation, a reverb and two delay 
>>>modules (one for each output of the stereo)
>>>
>>>Basically you control directly some synthesis parameters, reverb and delay 
>>>levels. 
>>>
>>>There's a "score" system to make some pre-programed changes
>>> (it changes the samples used during the performance and some delay 
>>> parameters)
>>>
>>>The proximity sensors turns on and off a second synthesis layer (a kind of 
>>>automated buffered granular synthesis) which is created while you're playing.
>>>
>>>Also, you can control how quick the sensors respond to the gestures.
>>>
>>>GUI
>>>
>>>I guess that's all.
>>>
>>>Eduardo
>>>
>>>
>>>
>>
>>>De: Phil Stone 
>>>Para: Eduardo Patricio 
>>>Cc: pd-list 
>>>Enviadas: Terça-feira, 1 de Março de 2011 13:43
>>>Assunto: Re: [PD] Music made
>>> with PD
>>>
>>>
>>>
>>
>>>  
>>>
>>>
>>>  
>>>  
>>>Very nice! Have you discussed the Zin here before? If not, what is
>>>going on there?
>>>
>>>
>>Phil Stone
>>>www.pkstonemusic.com
>>>
>>On 3/1/11 8:15 AM, Eduardo Patricio wrote:
>>> 
>>>
  Hello, list!

  Two more videos:

http://vimeo.com/20464262 - Wii stuff + Pd

http://vimeo.com/20464964 - Zin (arduino based) + Pd

  Cheers

  Eduardo
 
 

_
Eduardo Patrício
http://www.eduardopatricio.com.br
+55 41
8434-0480

   
 

___
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
>>>
>>>
>>
>>
>>-- 
>>shiny
>>
>>
>>Rich
>>
>>
>>

>>
>>
>>   
>>___
>>Pd-list@iem.at mailing list
UNSUBSCRIBE and account-manage

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-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 just noticed there is an error in the digital ins. The digital ins 1
>> and 2 don’t get added up correctly to the 8-bit number. So every time you
>> switch between the fir two and the other digital ins you have an address
>> of
>> “0” for the first value. Took me half a day to find the error. There is a
>> different status byte for these ins.
>>
>> Hans, if you are reading this you should take a look at it. I had it
>> happen
>> to me in the testing patch.
>>
>> Also there is a new and old behaviour for switching on the analogue ins.
>> The
>> new one only works for some of them. I had to switch back to the old
>> message
>> to turn them all on.
>>
>> Ingo
>>
>> 
>> Von: pd-list-boun...@iem.at [mailto:pd-list-boun...@iem.at] Im Auftrag von
>> Richie Cyngler
>> Gesendet: Dienstag, 1. März 2011 09:34
>> An: PD-List
>> Betreff: [PD] thanks for Pduino!
>>
>> Hi all,
>>
>> Just wanted to say thanks to Hans and everyone involved in putting Pduino
>> together.
>>
>> I am having a ball with it!
>>
>> So, thanks!
>>
>> --
>> shiny
>>
>> Rich
>>
>>
>>
>> ___
>> Pd-list@iem.at mailing list
>> UNSUBSCRIBE and account-management ->
>> http://lists.puredata.info/listinfo/pd-list
>
>
>
> 
>
> I spent 33 years and four months in active military service and during that
> period I spent most of my time as a high class muscle man for Big Business,
> for Wall Street and the bankers.      - General Smedley Butler
>
>
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>



-- 
http://arselectronicachile.blogspot.com
http://comunicacionnativa.blogspot.com/
http://www.myspace.com/santorcuato

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


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.
>
> 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).
>
> I drew the symbols with corel draw to send to the "acrylic factory".
>
>
>
> Eduardo
>
>
> _
> Eduardo Patrício
> http://www.eduardopatricio.com.br
> +55 41 8434-0480
>
> *De:* Caio Barros 
>
> *Para:* Eduardo Patricio 
> *Cc:* Richie Cyngler ; pd-list 
> *Enviadas:* Sexta-feira, 4 de Março de 2011 12:52
>
> *Assunto:* Re: [PD] Music made with PD
>
> 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 specifications later, but right now I can
> tell that there's no mystery about the hardware.
>
> I have 6 
> GP2D12sensors 
> and two of
> 'these'directly
>  plugged to the arduino. That's it.
>
>
> Eduardo
>
>
> _
> Eduardo Patrício
> http://www.eduardopatricio.com.br
> +55 41 8434-0480
>
> *De:* Richie Cyngler 
> *Para:* Eduardo Patricio 
> *Cc:* Phil Stone ; pd-list 
> *Enviadas:* Terça-feira, 1 de Março de 2011 18:30
> *Assunto:* Re: [PD] Music made with PD
>
> Great stuff Eduardo! I love that Zin, what a wonderful thing. We are doing
> similar work, although you are far ahead of me with Arduino. I should post
> some of my wii videos.
>
> Here is my first attempt at Arduino http://vimeo.com/20355024 it's now
> fully veroboarded. Now I have to work on the patch.
>
> I would be really interested in the exact specifications of you Zin, I am
> intending to make my own gestural HID with Arduino. If you would be willing
> to share your circuit designs or sensor specs I'd very much appreciate it.
>
> thanks
>
> Richie Cyngler
>
> On Wed, Mar 2, 2011 at 5:18 AM, Eduardo Patricio wrote:
>
>
> Thanks, Phil!
>
> I believe not. It's very simple.
>
> Hardware: six infrared distance sensors (to directly control several
> parameters), and two proximity sensors.
>
> Software: a simple granular synthesis implementation, a reverb and two
> delay modules (one for each output of the stereo)
>
> Basically you control directly some synthesis parameters, reverb and delay
> levels.
>
> There's a "score" system to make some pre-programed changes (it changes the
> samples used during the performance and some delay parameters)
>
> The proximity sensors turns on and off a second synthesis layer (a kind of
> automated buffered granular synthesis) which is created while you're
> playing.
>
> Also, you can control how quick the sensors respond to the gestures.
> GUI
>
> I guess that's all.
> *
> Eduardo
> *
>
> *De:* Phil Stone 
> *Para:* Eduardo Patricio 
> *Cc:* pd-list 
> *Enviadas:* Terça-feira, 1 de Março de 2011 13:43
> *Assunto:* Re: [PD] Music made with PD
>
>  Very nice! Have you discussed the Zin here before? If not, what is going
> on there?
>
>
> Phil Stone
> www.pkstonemusic.com
>
> On 3/1/11 8:15 AM, Eduardo Patricio wrote:
>
>
> Hello, list!
>
> Two more videos:
>
> http://vimeo.com/20464262 - Wii stuff + Pd
>
> http://vimeo.com/20464964 - Zin (arduino based) + Pd
>
> Cheers
>
> Eduardo
>
>
> _
> Eduardo Patrício
> http://www.eduardopatricio.com.br
> +55 41 8434-0480
>
>
>
>
> ___pd-l...@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
>
>
>
>
> --
> shiny
>
> Rich
>
>
>
>
>
>
> ___
> 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] 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). 

I drew the symbols with corel draw to send to the "acrylic factory".


Eduardo

 

_
Eduardo Patrício
http://www.eduardopatricio.com.br
+55 41 8434-0480



De: Caio Barros 
Para: Eduardo Patricio 
Cc: Richie Cyngler ; pd-list 
Enviadas: Sexta-feira, 4 de Março de 2011 12:52
Assunto: Re: [PD] Music made with PD


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 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 it. 
>
>
>Eduardo
>
> 
>
>_
>Eduardo Patrício
>http://www.eduardopatricio.com.br
>+55 41 8434-0480
>
>
>
>De: Richie Cyngler 
>Para: Eduardo Patricio 
>Cc: Phil Stone ;
> pd-list 
>Enviadas: Terça-feira, 1 de Março de 2011 18:30
>Assunto: Re: [PD] Music made with PD
>
>
>Great stuff Eduardo! I love that Zin, what a wonderful thing. We are doing 
>similar work, although you are far ahead of me with Arduino. I should post 
>some of my wii videos. 
>
>
>Here is my first attempt at Arduino http://vimeo.com/20355024 it's now fully 
>veroboarded. Now I have to work on the patch.
>
>
>I would be really interested in the exact specifications of you Zin, I am 
>intending to make my own gestural HID with Arduino. If you would be willing to 
>share your circuit designs or sensor specs I'd very much appreciate it.
>
>
>thanks
>
>
>Richie Cyngler
>
>
>On Wed, Mar 2, 2011 at 5:18 AM, Eduardo Patricio  wrote:
>
>>>
>>
>>Thanks, Phil!
>>
>>I believe not. It's very simple.  
>>
>>Hardware: six infrared distance sensors (to directly control several 
>>parameters), and two proximity sensors. 
>>
>>Software: a simple granular synthesis implementation, a reverb and two delay 
>>modules (one for each output of the stereo)
>>
>>Basically you control directly some synthesis parameters, reverb and delay 
>>levels. 
>>
>>There's a "score" system to make some pre-programed changes
>> (it changes the samples used during the performance and some delay 
>> parameters)
>>
>>The proximity sensors turns on and off a second synthesis layer (a kind of 
>>automated buffered granular synthesis) which is created while you're playing.
>>
>>Also, you can control how quick the sensors respond to the gestures.
>>
>>GUI
>>
>>I guess that's all.
>>
>>Eduardo
>>
>>
>>
De: Phil Stone 
>>Para: Eduardo Patricio 
>>Cc: pd-list 
>>Enviadas: Terça-feira, 1 de Março de 2011 13:43
>>Assunto: Re: [PD] Music made
>> with PD
>>
>>
>>

>>  
>>
>>
>>  
>>  
>>Very nice! Have you discussed the Zin here before? If not, what is
>>going on there?
>>
>>
Phil Stone
>>www.pkstonemusic.com
>>
On 3/1/11 8:15 AM, Eduardo Patricio wrote:
>> 
>>
>>  Hello, list!
>>>
>>  Two more videos:
>>>
>>>http://vimeo.com/20464262 - Wii stuff + Pd
>>>
>>>http://vimeo.com/20464964 - Zin (arduino based) + Pd
>>>
>>  Cheers
>>>
>>  Eduardo
>>> 
>>> 
>>>
>>_
>>>Eduardo Patrício
>>>http://www.eduardopatricio.com.br
>>>+55 41
>>>8434-0480
>>>
>>   
>>> 
>>>
>>>___
>>>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
>>
>>
>
>
>-- 
>shiny
>
>
>Rich
>
>
>
>>
>
>
>   
>___
>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] 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 specifications later, but right now I can
> tell that there's no mystery about the hardware.
>
> I have 6 
> GP2D12sensors 
> and two of
> 'these'directly
>  plugged to the arduino. That's it.
>
>
> Eduardo
>
>
> _
> Eduardo Patrício
> http://www.eduardopatricio.com.br
> +55 41 8434-0480
>
> *De:* Richie Cyngler 
> *Para:* Eduardo Patricio 
> *Cc:* Phil Stone ; pd-list 
> *Enviadas:* Terça-feira, 1 de Março de 2011 18:30
> *Assunto:* Re: [PD] Music made with PD
>
> Great stuff Eduardo! I love that Zin, what a wonderful thing. We are doing
> similar work, although you are far ahead of me with Arduino. I should post
> some of my wii videos.
>
> Here is my first attempt at Arduino http://vimeo.com/20355024 it's now
> fully veroboarded. Now I have to work on the patch.
>
> I would be really interested in the exact specifications of you Zin, I am
> intending to make my own gestural HID with Arduino. If you would be willing
> to share your circuit designs or sensor specs I'd very much appreciate it.
>
> thanks
>
> Richie Cyngler
>
> On Wed, Mar 2, 2011 at 5:18 AM, Eduardo Patricio wrote:
>
>
> Thanks, Phil!
>
> I believe not. It's very simple.
>
> Hardware: six infrared distance sensors (to directly control several
> parameters), and two proximity sensors.
>
> Software: a simple granular synthesis implementation, a reverb and two
> delay modules (one for each output of the stereo)
>
> Basically you control directly some synthesis parameters, reverb and delay
> levels.
>
> There's a "score" system to make some pre-programed changes (it changes the
> samples used during the performance and some delay parameters)
>
> The proximity sensors turns on and off a second synthesis layer (a kind of
> automated buffered granular synthesis) which is created while you're
> playing.
>
> Also, you can control how quick the sensors respond to the gestures.
> GUI
>
> I guess that's all.
> *
> Eduardo
> *
>
> *De:* Phil Stone 
> *Para:* Eduardo Patricio 
> *Cc:* pd-list 
> *Enviadas:* Terça-feira, 1 de Março de 2011 13:43
> *Assunto:* Re: [PD] Music made with PD
>
>  Very nice! Have you discussed the Zin here before? If not, what is going
> on there?
>
>
> Phil Stone
> www.pkstonemusic.com
>
> On 3/1/11 8:15 AM, Eduardo Patricio wrote:
>
>
> Hello, list!
>
> Two more videos:
>
> http://vimeo.com/20464262 - Wii stuff + Pd
>
> http://vimeo.com/20464964 - Zin (arduino based) + Pd
>
> Cheers
>
> Eduardo
>
>
> _
> Eduardo Patrício
> http://www.eduardopatricio.com.br
> +55 41 8434-0480
>
>
>
>
> ___pd-l...@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
>
>
>
>
> --
> shiny
>
> Rich
>
>
>
>
>
>
> ___
> 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] 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 divisions, the
minimum and maximum duration of each sub-section and maybe a tempo and the
computer outputs rhythmic figures. To make things even nicer but a lot
harder, the user could for instance choose between different degrees of
approximations in the rhythmic output so the result would be easier to read
/ less precise or harder to read / more precise.
Here I go again trying to transform Pd into OpenMusic.

And by the way (a little off-topic now): Mathieu, I recently compilated
GridFlow and tried the [note] object you did. Humm! What a nice object.
I still would prefer that the output would be the midi note and the slide to
go chromatically because at least for me is so much easier for the
calculations, but kudos to you.


2011/3/4 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 X1 , and between X1 and 48, call
>> those Y1 and Y2
>> Then do it another 8 times and you have 11 random positions within your
>> range of 0 till 48 ;)
>>
>
> If you make this a uniform random pick, this will make it very likely that
> half of the chords are very short, and this will introduce intense
> correlations between chord durations, as the first half of the sequence will
> have a common random factor in selecting their duration, and in the same
> manner for all subpacks of chords in there (second half, 1st quarter, 2nd
> quarter, 3rd quarter, 4th quarter, 1st eighth, ...)
>
>
>  Not sure if it will actually work out, but I just had this brainfart after
>> seeing this thread go on so long :)
>>
>
> The thread could go on much longer. It's a tricky topic, especially after
> one has found out the additional requirements that were not specified at
> first (how should the likelihood be spread over the possible outcomes).
>
>
>  ___
> | 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] 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 files








Hey Guys
I've had a vague Idea (which I find is often the best kind) for something to do 
with pure data. 
Basically, I want it to randomly select a clip from a long MP3 (just under an 
hour long) and play back, preferably with some speed manipulation. Although I'm 
not sure about how to do with with a large file in pure data. I suppose the 
trick might be to pull a minute or so whole-sale from the file and then 
manipulate the playback from an array. But really don't know where to start, 
with the possible exception of [readanySF~] to actually play a long file. 
any help?
Cheers
Andrew

___
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] 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 just noticed there is an error in the digital ins. The digital  
ins 1
and 2 don’t get added up correctly to the 8-bit number. So every  
time you
switch between the fir two and the other digital ins you have an  
address of
“0” for the first value. Took me half a day to find the error. There  
is a

different status byte for these ins.

Hans, if you are reading this you should take a look at it. I had it  
happen

to me in the testing patch.

Also there is a new and old behaviour for switching on the analogue  
ins. The
new one only works for some of them. I had to switch back to the old  
message

to turn them all on.

Ingo


Von: pd-list-boun...@iem.at [mailto:pd-list-boun...@iem.at] Im  
Auftrag von

Richie Cyngler
Gesendet: Dienstag, 1. März 2011 09:34
An: PD-List
Betreff: [PD] thanks for Pduino!

Hi all,

Just wanted to say thanks to Hans and everyone involved in putting  
Pduino

together.

I am having a ball with it!

So, thanks!

--
shiny

Rich



___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list






I spent 33 years and four months in active military service and during  
that period I spent most of my time as a high class muscle man for Big  
Business, for Wall Street and the bankers.  - General Smedley Butler




___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


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 documentation to install step by step all the  
programm to see the Skeleton because I'm a bit confused.
I saw Hans project it's really nice but I think I have some problem  
before with OpenNI and the other things.


It will great if someone could be made a simple documentation.

Thomas


Le 2011-02-23 11:30, palmieri, ricardo a écrit :

hi pat...

thanks by the tryplex links.

yesterday i'd test some processing and animata examples also.
in mac osx i had lots of crashes. in linux, everything runs well.

now, i will start to try something more usefull.
i hope still today, to post some video with all these experiences.

if somebody need some help, just ask. sharing is the key!


thx for all again.

cheers


palm

2011/2/23 philippe boisnard mailto:philem...@mac.com 
>>


   Hi

   yeah, incredible PSI POse hihihihi, but when I work with dancer or
   actually in theater, comedian or dancer have more flexible  
posture,

   for example it captures the back and not just face, and if you are
   at the good distance, it captures really in a dynamic movement.

   And I think, that the most interresting work, is not only  
figurative

   (3D modelisation for example), but to invente some virtual
   interactive space.
   For example : create a virtual and invisible wall, each brick is a
   sample. The right hand chooses the specific sample, and the other
   hand and other interactive dot of body manipulate effects.
   This way is interresting because, with the xyz axes we work in a
   complet space.

   The only difficulty actually, it's for me the speed of captation  
by

   kinect. It's slow, and for the creation where I work actually, the
   comedian is speeder than uptake by kinect.

>
> hope to see you soon guys.
   Hope tooo !

   p


>
> cheers
>
> palm




--
twitt-me: @ricardopalmieri
mobile# +551185833173
[memelab.com.br ]
[palm.estudiolivre.org ]
[myspace.com/livenoisetupi ]
[skype:palmieriricardo]
[msn: ricardopalmi...@bol.com.br ]
[linux user # 392484]



___
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






Man has survived hitherto because he was too ignorant to know how to  
realize his wishes.  Now that he can realize them, he must either  
change them, or perish.-William Carlos Williams




___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


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 X1 , and between X1 and 48, call those 
Y1 and Y2
Then do it another 8 times and you have 11 random positions within your range 
of 0 till 48 ;)


If you make this a uniform random pick, this will make it very likely that 
half of the chords are very short, and this will introduce intense 
correlations between chord durations, as the first half of the sequence 
will have a common random factor in selecting their duration, and in the 
same manner for all subpacks of chords in there (second half, 1st quarter, 
2nd quarter, 3rd quarter, 4th quarter, 1st eighth, ...)


Not sure if it will actually work out, but I just had this brainfart 
after seeing this thread go on so long :)


The thread could go on much longer. It's a tricky topic, especially after 
one has found out the additional requirements that were not specified at 
first (how should the likelihood be spread over the possible outcomes).


 ___
| 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] 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 more If-arguments into the expr to get better  
results BUT after 9 if-arguments everything crashes: Pd closes  
immediatly and when I reopen and try to change something in the expr  
Pd crasches again. Even if I try to erase lines out of the expr ->  
CRASH...


I tried it on other Computers with the same result...

I'm quite confused...

Are the Objects limited to a specific number of signs/rows/ 
arguments? Any ideas?


By the way: I'm using Pd 0.42.5-extended

I added two examples with 5 lines and 9 lines of if-arguments...

Thanks for any help!!!

best regards

moritz

< 
FreMo_Expression5 
.pd 
>___

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] 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 do it another 8 times and you have 11 random positions within your
range of 0 till 48 ;)

Not sure if it will actually work out, but I just had this brainfart after
seeing this thread go on so long :)

--
buZz
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


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 with it):
> 48 = 4 * 10 + 1 * 8
> so you use
> n1=random(10)
> n2 = 10 - n1
> n3 = random(10)
> n4 = 10-n3
> .
> .
> n9 = random(8)
> n10 = 8 - n9
> 
> 
> But this makes the odd-ordered chords to start at every 10 seconds. I
> believe that Caio wants something more random than that.
> 
> 
> Yes that's right. And another problem is that all the durations are integers. 
> I
> want something without the feeling of (regular) pulsations.
> 
>  
> 
> BTW I have another idea :
> 
> initialise all of them to equal or almost equal amounts, then modify the
> delays gradully : pick a donor randomly among delays that aren't already
> minimum ; pick a acceptor randomly among delays that aren't already
> maximum ; give one unit of delay from the donor to the acceptor.
> 
> 
> I was trying to figure out something like that. Now that I think about it, is
> more important to have a minimum duration than a maximum because depending on
> the minimum I chose, the probability of a chord too long is low (and bottom 
> line
> I can always change the result to fit in what I want to hear).
> 
> I'll need to experiment a bit. If I have the time to make a cool patch with
> general paramethers I'll share with the list. Unfortunately today I could not
> compose.
> 
> Caio Barros

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[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 everything crashes: Pd closes  
immediatly and when I reopen and try to change something in the expr  
Pd crasches again. Even if I try to erase lines out of the expr ->  
CRASH...


I tried it on other Computers with the same result...

I'm quite confused...

Are the Objects limited to a specific number of signs/rows/arguments?  
Any ideas?


By the way: I'm using Pd 0.42.5-extended

I added two examples with 5 lines and 9 lines of if-arguments...

Thanks for any help!!!

best regards

moritz



FreMo_Expression5.pd
Description: Binary data


FreMo_Expression9.pd
Description: Binary data
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


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 it. 


Eduardo

 

_
Eduardo Patrício
http://www.eduardopatricio.com.br
+55 41 8434-0480



De: Richie Cyngler 
Para: Eduardo Patricio 
Cc: Phil Stone ; pd-list 
Enviadas: Terça-feira, 1 de Março de 2011 18:30
Assunto: Re: [PD] Music made with PD


Great stuff Eduardo! I love that Zin, what a wonderful thing. We are doing 
similar work, although you are far ahead of me with Arduino. I should post some 
of my wii videos. 

Here is my first attempt at Arduino http://vimeo.com/20355024 it's now fully 
veroboarded. Now I have to work on the patch.

I would be really interested in the exact specifications of you Zin, I am 
intending to make my own gestural HID with Arduino. If you would be willing to 
share your circuit designs or sensor specs I'd very much appreciate it.

thanks

Richie Cyngler


On Wed, Mar 2, 2011 at 5:18 AM, Eduardo Patricio  wrote:


>
>Thanks, Phil!
>
>I believe not. It's very simple.  
>
>Hardware: six infrared distance sensors (to directly control several 
>parameters), and two proximity sensors. 
>
>Software: a simple granular synthesis implementation, a reverb and two delay 
>modules (one for each output of the stereo)
>
>Basically you control directly some synthesis parameters, reverb and delay 
>levels. 
>
>There's a "score" system to make some pre-programed changes
> (it changes the samples used during the performance and some delay parameters)
>
>The proximity sensors turns on and off a second synthesis layer (a kind of 
>automated buffered granular synthesis) which is created while you're playing.
>
>Also, you can control how quick the sensors respond to the gestures.
>
>GUI
>
>I guess that's all.
>
>Eduardo
>
>
>
>De: Phil Stone 
>Para: Eduardo Patricio 
>Cc: pd-list 
>Enviadas: Terça-feira, 1 de Março de 2011 13:43
>Assunto: Re: [PD] Music made
> with PD
>
>
>
>>
>  
>
>
>  
>  
>Very nice! Have you discussed the Zin here before? If not, what is
>going on there?
>
>
>>Phil Stone
>www.pkstonemusic.com
>
>>On 3/1/11 8:15 AM, Eduardo Patricio wrote:
> 
>
  Hello, list!
>>
  Two more videos:
>>
>>http://vimeo.com/20464262 - Wii stuff + Pd
>>
>>http://vimeo.com/20464964 - Zin (arduino based) + Pd
>>
  Cheers
>>
  Eduardo
>> 
>> 
>>
_
>>Eduardo Patrício
>>http://www.eduardopatricio.com.br
>>+55 41
>>8434-0480
>>
   
>> 
>>
>>___
>>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
>
>


-- 
shiny

Rich


  ___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


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
ffmpeg for ex.:

 ffmpeg -f gem%05d.tif -b 800k test.avi

(but i have better experience with mencoder for doing this)
mencoder fex.:

 mencoder "mf://*.tif" -mf fps=25 -o test.avi -ovc lavc -lavcopts 
vcodec=msmpeg4v2:vbitrate=800


and than i bring the movie and the audio-files together with ffmpeg f.ex:

 ffmpeg -i test.avi -i sound.aiff -vcodec copy -async 10 -ab 128k 
output.mov
sorry, the output have also to be .avi oder the input .mov... it makes 
no sense to convert it like this...

greetings christian


hmm thats my way to do it (but always with different 
parameters...i'm a newby in it and experiment always).

hope it helps a little

for me it's fine cause it is scriptable and with the [shell]- object i 
directly can integrate it into my patch



So far i tried using glc-capture, which gives good video results, but refuses to
record any sound at all. glc-capture should work with alsa, but it only outputs
error messages like this: snd_pcm_open (input): Device or resource busy or [
33.15s alsa_capture error ] initialization failed: Invalid argument ...

markus

___
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] 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 -b 800k test.avi

(but i have better experience with mencoder for doing this)
mencoder fex.:

 mencoder "mf://*.tif" -mf fps=25 -o test.avi -ovc lavc -lavcopts 
vcodec=msmpeg4v2:vbitrate=800


and than i bring the movie and the audio-files together with ffmpeg f.ex:

 ffmpeg -i test.avi -i sound.aiff -vcodec copy -async 10 -ab 128k 
output.mov


hmm thats my way to do it (but always with different 
parameters...i'm a newby in it and experiment always).

hope it helps a little

for me it's fine cause it is scriptable and with the [shell]- object i 
directly can integrate it into my patch

**

So far i tried using glc-capture, which gives good video results, but refuses to
record any sound at all. glc-capture should work with alsa, but it only outputs
error messages like this: snd_pcm_open (input): Device or resource busy or [
33.15s alsa_capture error ] initialization failed: Invalid argument ...

markus

___
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