Re: [PD] euclidean rhythms

2011-05-26 Thread Pierre Massat
Do you want to have a similar GUI as well?

Pierre

2011/5/26 Martin Dupras martindup...@gmail.com

 I had a quick read of the paper just now. I might have missed the
 point altogether, but from what I understand, the results that he gets
 from the Euclidian algorithm are the same (if you accept a rotation
 pattern as being equivalent) as what you'd get from the simple
 rounding of fractions.

 In other words: let's say you want 5 beats in a grid of 12 (or a
 12-sided polygon, if we use his graphical representation), the exact
 spacing between two beats would be 12/5, or 2.4.

 The first beat would be 0*2.4= 0.
 The second beat would 1*2.4 = 2.4, rounded to 2
 The third would be 2*2.4 = 4.8, which we round to 5.
 The fourth would be 3*2.4= 7.2, which we round to 7.
 The fifth would be 4*2.4  = 9.6, which we round to 10.

 We now have the pattern x.x..x.x..x.

 The way I would do it would be to store the pattern in table;
 calculate the slice size (e.g. 12/5), then multiply successfully by
 values from 0 to n-1 (0 to 4, since we want 5 divisions of 12), round
 that, and then store a 1 at the rounded index values.

 I'm sure there are plenty of more elegant methods.

 - martin



 On 25 May 2011 22:13, Cody Loyd codyl...@gmail.com wrote:
  Posted this on the PD forum.. but haven't heard anything yet so i
  thought I'd try here as well.
 
  Euclidean Rhythms
 
  I am interested in implementing something like THIS:
 
  http://www.hisschemoller.com/
 
  in PD.
 
  I understand the algorithm for generating the rhythms on paper, but
  i'm not sure how in Pd to go about doing it.  I'd imagine that it
  would involve some pretty heavy 'list surgery' and I'm not too sure
  how to go about doing it.
 
  This website:
 
  http://ruinwesen.com/blog?id=216
 
  gives a little more info on how the algorithm works (especially in the
  PDF he links to, page 2 has the relevant example), and talks about
  coding the thing in Lisp, but i can't figure it out in PD.
 
  any hints?
 
  ___
  Pd-list@iem.at mailing list
  UNSUBSCRIBE and account-management -
 http://lists.puredata.info/listinfo/pd-list
 

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


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


[PD] Waiting an array to be finished reading

2011-05-26 Thread Arda Eden
Hi all,
I'm reading a drum loop from an array. While playing when i read another loop 
in to the array it naturaly keeps playing from the phasor's current value. How 
can i wait the array to be finished reading before writing the new sound file 
into the array ? Thanks.
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Spectral focusing

2011-05-26 Thread Peter Plessas
Hi Zax, did you look into Miller's timre stamp example file? Perhaps 
this is also useful for you! best, P


e...@mx.kein.org wrote:

Hello list,
After a few years of maxing I migrated back to PD about a year and a half
ago and haven’t looked back.
Now I ran into a stumbling block and I figured I turn to you for help:

I’m looking for a way to impose a harmonic spectrum on a non-harmonic
signal. I tried cross-synthesis with a harmonic signal, which is ok, but
what I’m actually trying to do is to “tune” a field recording, in a way,
so it can have harmonic relations to a live instrument.

I played with the pvtune~ object from fftease which is nice, but the
results end up sounding a bit autotune-ish. And I also tried driving a few
vcf~ filters with frequencies running from fiddle~/sigmund~ but the
fundamental from these objects is too erratic and it sounds very
unnatural.

Wishart describes in his book a technique he calls spectral focusing,
which relies on lpc. He says that lpc can be set to generate a filter bank
which is distributed evenly with respect to pitch, but I’m not sure I
understand what he means and how it can be done in PD. lpc seems to output
a set of amplitudes for the coefficients. Can I set the filters to
frequencies of my choice?

Any help with this would be greatly appreciated,
Zax



___
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] euclidean rhythms

2011-05-26 Thread martin brinkmann
On 05/26/2011 01:29 AM, Martin Dupras wrote:

 In other words: let's say you want 5 beats in a grid of 12 (or a
 12-sided polygon, if we use his graphical representation), the exact
 spacing between two beats would be 12/5, or 2.4.
 
 The first beat would be 0*2.4= 0.
 The second beat would 1*2.4 = 2.4, rounded to 2
 The third would be 2*2.4 = 4.8, which we round to 5.
 The fourth would be 3*2.4= 7.2, which we round to 7.
 The fifth would be 4*2.4  = 9.6, which we round to 10.
 
 We now have the pattern x.x..x.x..x.

though the flash app (at hisschemoeller.com)
produces soemthing like x..x..x.x.x.
the number and length of rests is the same in this case,
but the distribution is different. if you, instead of
rounding, just cut the fractional part, you get the same
result as the flash app, only mirrored, but this
seems not to work for other numbers.

i have attached my own quick and dirty
itterative attempt, but i think it should also
be possible to implement with operations on lists,
like in the ruinwesen example. but i am not that familliar
with this in pd...

bis denn!
 martin
#N canvas 98 91 985 910 10;
#X obj 326 59 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X text 231 35 steps;
#X text 168 35 len;
#X obj 223 125 -;
#X obj 254 86 t b f;
#X floatatom 204 178 5 0 0 0 - - -;
#X obj 228 363 mod;
#X obj 265 231 until;
#X obj 265 259 f;
#X obj 296 261 + 1;
#X obj 340 261 sel 0;
#X obj 296 282 mod 64;
#X obj 264 201 int;
#X obj 325 408 tabread \$0rests;
#X obj 329 85 t b b;
#X text 323 39 clear and recalculate;
#X obj 322 434 + 1;
#X obj 238 488 tabwrite \$0rests;
#X obj 241 386 t b f f;
#X obj 241 464 int;
#X obj 445 165 until;
#X obj 445 193 f;
#X obj 476 195 + 1;
#X obj 520 195 sel 0;
#X obj 476 216 mod 64;
#X msg 445 142 64;
#X obj 467 293 tabwrite \$0rests;
#X obj 477 251 t b f;
#X msg 468 271 0;
#X text 503 162 clear;
#N canvas 0 0 450 300 (subpatch) 0;
#X array \$0rests 64 float 2;
#X coords 0 16 64 0 256 128 1 0 0;
#X restore 365 480 graph;
#X text 137 159 nr of rests;
#X text 308 620 ...and now do something with the rythmn-data in the
table...;
#X obj 167 700 mod;
#X obj 48 623 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X obj 166 55 nbx 5 14 1 64 0 1 empty empty empty 0 -8 0 10 -262144
-1 -1 12 256;
#X obj 237 57 nbx 5 14 1 64 0 1 empty empty empty 0 -8 0 10 -262144
-1 -1 5 256;
#X msg 333 231 0;
#X text 291 202 for nr of rests do;
#X text 282 348 put nr of 'silent steps' following each 'active' step
into a table;
#X obj 122 655 f;
#X obj 156 662 + 1;
#X obj 188 799 delay;
#X obj 167 724 tabread \$0rests;
#X obj 228 776 *;
#X obj 191 749 t b f;
#X obj 299 708 nbx 5 14 10 2000 0 1 empty empty empty 0 -8 0 10 -262144
-1 -1 277 256;
#X text 298 692 steplen in ms;
#X text 78 697 sequencer;
#X text 461 664 ping;
#X obj 510 747 line~;
#X msg 513 711 0 100;
#X msg 563 708 1;
#X obj 445 809 *~;
#X obj 428 734 osc~ 440;
#X obj 511 672 t b b;
#X obj 506 783 *~;
#X obj 438 863 dac~;
#X obj 442 836 *~ 0.5;
#X text 23 602 start playing;
#X connect 0 0 14 0;
#X connect 3 0 5 0;
#X connect 3 0 12 1;
#X connect 4 0 3 0;
#X connect 4 1 3 1;
#X connect 6 0 18 0;
#X connect 7 0 8 0;
#X connect 8 0 9 0;
#X connect 8 0 6 0;
#X connect 9 0 11 0;
#X connect 10 0 7 1;
#X connect 11 0 10 0;
#X connect 11 0 8 1;
#X connect 12 0 7 0;
#X connect 13 0 16 0;
#X connect 14 0 12 0;
#X connect 14 1 25 0;
#X connect 14 1 37 0;
#X connect 16 0 19 1;
#X connect 18 0 19 0;
#X connect 18 1 17 1;
#X connect 18 2 13 0;
#X connect 19 0 17 0;
#X connect 20 0 21 0;
#X connect 21 0 22 0;
#X connect 22 0 24 0;
#X connect 23 0 20 1;
#X connect 24 0 23 0;
#X connect 24 0 21 1;
#X connect 24 0 27 0;
#X connect 25 0 20 0;
#X connect 27 0 28 0;
#X connect 27 1 26 1;
#X connect 28 0 26 0;
#X connect 33 0 43 0;
#X connect 34 0 40 0;
#X connect 35 0 3 0;
#X connect 35 0 33 1;
#X connect 36 0 4 0;
#X connect 36 0 6 1;
#X connect 37 0 8 1;
#X connect 40 0 41 0;
#X connect 40 0 33 0;
#X connect 41 0 40 1;
#X connect 42 0 34 0;
#X connect 42 0 55 0;
#X connect 43 0 45 0;
#X connect 44 0 42 1;
#X connect 45 0 42 0;
#X connect 45 1 44 0;
#X connect 46 0 44 1;
#X connect 50 0 56 0;
#X connect 50 0 56 1;
#X connect 51 0 50 0;
#X connect 52 0 50 0;
#X connect 53 0 58 0;
#X connect 54 0 53 0;
#X connect 55 0 51 0;
#X connect 55 1 52 0;
#X connect 56 0 53 1;
#X connect 58 0 57 0;
#X connect 58 0 57 1;
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Waiting an array to be finished reading

2011-05-26 Thread Pierre Massat
You have to know the length of the array. If you know the length you know
where the phasor is with respect to the end of the array.
Also, if you want to write something into the array, you should do it before
phasor reaches the end. Otherwise you'll have to read and write at the same
time. Generally i use a different array to write to, and switch to it when
phasor has finished reading the first array.

Pierre

2011/5/26 Arda Eden ardae...@gmail.com

 Hi all,
 I'm reading a drum loop from an array. While playing when i read another
 loop in to the array it naturaly keeps playing from the phasor's current
 value. How can i wait the array to be finished reading before writing the
 new sound file into the array ? Thanks.
 ___
 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] When the bubbles exploded, they tickled the bath.

2011-05-26 Thread Pierre Massat
I guess the question isn't that simple...

2011/5/25 Pierre Massat pimas...@gmail.com

 Hi All!

 A very simple question : if you wanted an audio source to sound as if it
 was played underwater and modulated everytime a bubbled reached the surface,
 how would you go about it?
 Convolution? I don't anything about it...

 Cheers!

 Pierre

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


Re: [PD] When the bubbles exploded, they tickled the bath.

2011-05-26 Thread ALAN BROOKER
Hi

maybe [+bubbler~] part of soundhack externals will be do?

http://www.soundhack.com/externs.php

On Thu, May 26, 2011 at 12:33 PM, Pierre Massat pimas...@gmail.com wrote:
 I guess the question isn't that simple...

 2011/5/25 Pierre Massat pimas...@gmail.com

 Hi All!

 A very simple question : if you wanted an audio source to sound as if it
 was played underwater and modulated everytime a bubbled reached the surface,
 how would you go about it?
 Convolution? I don't anything about it...

 Cheers!

 Pierre


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



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


Re: [PD] When the bubbles exploded, they tickled the bath.

2011-05-26 Thread Mikael Fernstrom
The question is close to some of the issues we (softday.ie) explored  
in our Marbh Chrios performance. Just playing a sound doesn't make any  
bubbles.


Eventually, we thought about what a human drowning would sound like.  
After playing around with various patches, we decided to use a plastic  
bottle with a contact mic and sing through a hose, allowing the  
airflow of the singer to bubble the water. This contraption is now  
known as our Bubbleizer (and looks good in a performance).


This is, of course, not the true answer to the question as sound isn't  
contained in the bubbles, but as a metaphor it works ok. You could  
probably get a similar effect by passing your sound through a set of  
tuned vcf~ objects controlled by bubbly ramps.

/Mikael

On 26 May 2011, at 12:33, Pierre Massat wrote:


I guess the question isn't that simple...

2011/5/25 Pierre Massat pimas...@gmail.com
Hi All!

A very simple question : if you wanted an audio source to sound as  
if it was played underwater and modulated everytime a bubbled  
reached the surface, how would you go about it?

Convolution? I don't anything about it...

Cheers!

Pierre

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


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


Re: [PD] When the bubbles exploded, they tickled the bath.

2011-05-26 Thread Pierre Massat
I think +bubbler is just an enhanced delay that splits the sound into
particles that can be played backwards, etc. (It's a very cool external btw,
like the rest of the package).

I tried once (to no avail, but i didn't spend enough time on this) to use
vcf~ with exponential ramps, but i didn't get anything satisfying.
The bottle sounds interesting, although i want to have an effect that can be
used live with my electric guitar (i mainly use pd with my guitar). Is there
any video or sound clip on your website in which the bubbleizer can be
heard?

Thank you both for your replies!

Pierre

2011/5/26 Mikael Fernstrom mikael.fernst...@ul.ie

 The question is close to some of the issues we (softday.ie) explored in
 our Marbh Chrios performance. Just playing a sound doesn't make any
 bubbles.

 Eventually, we thought about what a human drowning would sound like. After
 playing around with various patches, we decided to use a plastic bottle with
 a contact mic and sing through a hose, allowing the airflow of the singer to
 bubble the water. This contraption is now known as our Bubbleizer (and looks
 good in a performance).

 This is, of course, not the true answer to the question as sound isn't
 contained in the bubbles, but as a metaphor it works ok. You could
 probably get a similar effect by passing your sound through a set of tuned
 vcf~ objects controlled by bubbly ramps.
 /Mikael

 On 26 May 2011, at 12:33, Pierre Massat wrote:

 I guess the question isn't that simple...

 2011/5/25 Pierre Massat pimas...@gmail.com

 Hi All!

 A very simple question : if you wanted an audio source to sound as if it
 was played underwater and modulated everytime a bubbled reached the surface,
 how would you go about it?
 Convolution? I don't anything about it...

 Cheers!

 Pierre


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



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


Re: [PD] When the bubbles exploded, they tickled the bath.

2011-05-26 Thread Andy Farnell

I solved this a couple of different ways for various
projects. The rjdj Drowning Street had a bubble
generator (synthetic) hooked to an envelope tracker
(RMS side chain with [env~]). It works well if the
pitch centre of the bubbles are close to the voice
pitch, so you could use fiddle or sigmund to focus that.
Another bubbling voice thing I did used slow amplitude
and pitch modulation of the voice to create a Dalek
type ringmod circa 8 Hz. The vibrato effect can be done
with [vd~] taps, spaced in time and enveloped like a
bubble generator. Interestingly, some realism can 
be added if you pitch shift the voice up too, since
underwater the speed of sound is faster.


On Thu, 26 May 2011 12:47:35 +0100
Mikael Fernstrom mikael.fernst...@ul.ie wrote:

 The question is close to some of the issues we (softday.ie) explored  
 in our Marbh Chrios performance. Just playing a sound doesn't make any  
 bubbles.
 
 Eventually, we thought about what a human drowning would sound like.  
 After playing around with various patches, we decided to use a plastic  
 bottle with a contact mic and sing through a hose, allowing the  
 airflow of the singer to bubble the water. This contraption is now  
 known as our Bubbleizer (and looks good in a performance).
 
 This is, of course, not the true answer to the question as sound isn't  
 contained in the bubbles, but as a metaphor it works ok. You could  
 probably get a similar effect by passing your sound through a set of  
 tuned vcf~ objects controlled by bubbly ramps.
 /Mikael
 
 On 26 May 2011, at 12:33, Pierre Massat wrote:
 
  I guess the question isn't that simple...
 
  2011/5/25 Pierre Massat pimas...@gmail.com
  Hi All!
 
  A very simple question : if you wanted an audio source to sound as  
  if it was played underwater and modulated everytime a bubbled  
  reached the surface, how would you go about it?
  Convolution? I don't anything about it...
 
  Cheers!
 
  Pierre
 
  ___
  Pd-list@iem.at mailing list
  UNSUBSCRIBE and account-management - 
  http://lists.puredata.info/listinfo/pd-list
 


-- 
Andy Farnell padawa...@obiwannabe.co.uk

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


Re: [PD] CVs

2011-05-26 Thread Andy Farnell



Alan Watts, and to some extent Pierre Grimes analysing
Plato, gave me some good thoughts on this. 

If we weren't neural networks, prone to classification,
the question might be, are there different kinds of
intelligence? Or is what we do, (throwing boundaries 
around things and concepts), intelligence by definition
only?




On Fri, 20 May 2011 13:01:54 +0800
Chris McCormick ch...@mccormick.cx wrote:

 On Thu, May 19, 2011 at 05:12:09PM +0200, Bryan Jurish wrote:
  If forty-two trees fall in a forest and no one is around to count them

  When the trees fall, something is happening on the space time manifold, 
  but I don't think it's accurate to say without the computational aparatus 
 to perceive it that 42 trees are falling.


-- 
Andy Farnell padawa...@obiwannabe.co.uk

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


Re: [PD] CVs

2011-05-26 Thread Andy Farnell


Another great quote, I apologise for reading it again, I am always 
bringing this one out because it's elegant, is Quine
who restates Shannon and Weaver in a way:

The notion of information is indeed clear enough... it is central
to the theory of communication. It makes sense relative to one
or another pre-assigned matrix of alternatives... You have to
say in advance what features are going to count.

No pre-conception, no conception. Otherwise its novel, and a
confusing jumble until some ordering, naming and searching
of existing patterns has taken place. The next time, maybe
then it's okay for those sensible impressions to become
worthy of a symbol, like the number 42. In that case there
are necessary conditions for the perception of 42 trees
falling, other than the physical fact itself.
 




On Fri, 20 May 2011 13:01:54 +0800
Chris McCormick ch...@mccormick.cx wrote:

  chemicals and electricity inside the perceiver's physical head, 
  models another part of the universe - what it calls the 42 trees
  falling. 

-- 
Andy Farnell padawa...@obiwannabe.co.uk

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


Re: [PD] CVs

2011-05-26 Thread tim vets
2011/5/23 Mathieu Bouchard ma...@artengine.ca

 On Fri, 20 May 2011, Chris McCormick wrote:

 On Thu, May 19, 2011 at 05:12:09PM +0200, Bryan Jurish wrote:

 If forty-two trees fall in a forest and no one is around to count them,
 __forty-two__ trees have still fallen.


 I am not sure about that. To think is to model small chunks of the
 universe. Very small chunks, quite inaccurately. The thought itself, the
 model, exists in the physical universe, as part of a human brain. In the
 words of Carl Sagan, we are a way for the Universe to know itself.


 Ok. You guys are confusing « construct » with « mere construct ».

 You both agree that there _ideas_ that are _made_ and that are kept or
 rejected on the basis of whether they are useful to talk about reality.

 The number «42» exists in nature in this way : it is a pattern that cause
 human minds to come up with a concept that is the number «42» in order to
 describe what's going on.


  When you look at a Salvador Dali painting, where does it exist? I think it
 exists physically encoded on the chemical-electrical substrate of your
 brain. I don't think it exists outside of that.


 Dammit Chris, it's a PAINTING. It's made of PAINT.

 Even when YOU look at it. ;)

 (and non-paint reproductions are made of something else that isn't in the
 brain)


  The painting itself exists as chemicals on canvas, but until someone looks
 at it, models it, computes it with their brain, the scene it depicts does
 not exist anywhere in physical reality.


 The depicted scene is not the painting itself.

 I'm trying to say « the map is not the territory » in another way so that I
 get understood.

 you need to look at this (copy of a) painting instead :
 http://lyc71-dumaine.ac-dijon.fr/upi/img/guillaume/tableau_guillaume.jpg

 who is Guillaume? isn't this Magritte?


 or the modern version on the side of the Royal Victoria College of
 Montréal :

 http://fc00.deviantart.net/fs70/i/2011/010/0/3/ceci_n__est_pas_un_tag__by_ben_zen-d36vmd9.jpg

 Frankly, I think that's a misinterpretation, it's as if the original would
have been ceci n'est pas une peinture, which is false because it _is_ a
painting. (unless it would have been a painting _of_ a painting that says
ceci n'est pas une peinture...)
uitsmijter:
http://www.theonion.com/video/warcraft-sequel-lets-gamers-play-a-character-playi,14240/
gr,
Tim


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