Re: [PD] Release Announcement: PCSLIB for Pure Data

2010-05-30 Thread IOhannes m zmölnig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jose Luis Santorcuato wrote:
 Hey man the link is broken... 

you have to accept the warning about the self-signed certificate.
if you don't like it, please send some money so we can buy a certificate
from one of those officially (what's that) approved blood suckers.

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

iEYEARECAAYFAkwCpf8ACgkQkX2Xpv6ydvTZowCfY2x6SuS1e4d3vluN8YFbjimy
DW0AoLhp4tC/3W38PDSmFQEPHgzCuiFV
=Vucc
-END PGP SIGNATURE-

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


Re: [PD] noise~ inlet?

2010-05-30 Thread Mathieu Bouchard

On Sat, 29 May 2010, Martin Peach wrote:


Mathieu Bouchard wrote:

x-x_val = (init *= 1319);
Ooops, I missed that init is declared static in noise_new(), so the same 
variable is used by every instance of [noise~].


right. and then init *= 1319 is a process that loops after pow(2,30) 
iterations. int is a finite ring, the set of all values of init is a 
subring of that, therefore its number of elements is a divisor of the 
number of elements of int (that is, of pow(2,32)), so, another power of 
two. testing repeated squaring of 1319 mod pow(2,32), you can find that 
pow(1319,pow(2,30)) = 1 but any smaller power won't equal 1. therefore it 
takes pow(2,30) more instanciations to get back to the first noise seed.


Could you please explain what could sound different when multiplying two 
[noise~] together ?
I doubt if it would sound any different. Subtracting two identical noise 
signals should result in zero, but since it's very difficult to make two 
identical [noise~] streams it probably doesn't matter any more.


well, another line from the pd source code says :

  val = val * 435898247 + 382842987;

this thing loops after pow(2,30) iterations. you can find it like that :

  int a = 435898247; int b = 382842987;
  for (int i=0; i32; i++) {
printf(i=%d a=%d b=%d\n,i,a,b);
int newa = a*a;
int newb = a*b+b;
a = newa;
b = newb;
  }

then I don't recall why val=val*a+b would always loop after a power of two 
iterations (I know it for b=0), but in this case, it says that pow(2,30) 
iterations are like val=val, and if there were any smaller number for 
that, it would be a divisor of pow(2,30), so, we would know from this list 
anyway.


I don't know any tricks to expose any patterns in the noise, especially as 
the lower bits are hidden (truncated when converting from int32 to 
float32). I'm not an expert with that stuff...


 _ _ __ ___ _  _ _ ...
| Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] noise~ inlet?

2010-05-30 Thread Mathieu Bouchard

On Sun, 30 May 2010, Mathieu Bouchard wrote:

then I don't recall why val=val*a+b would always loop after a power of two 
iterations (I know it for b=0), but in this case, it says that pow(2,30) 
iterations are like val=val, and if there were any smaller number for that, 
it would be a divisor of pow(2,30), so, we would know from this list anyway.


even though val loops after pow(2,30) iterations, all the output of 
[noise~] uses (val  0x7fff) instead of val, which effectively cuts 
the loop to pow(2,29) iterations :


  i=29 a=1 b=-2147483648

because -2147483648  0x7fff == 0

 _ _ __ ___ _  _ _ ...
| Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] loading an .aif file into an array

2010-05-30 Thread Camilo Cadavid Corredor

[rc-filename] doesnt exist in my Pd. it is the extended 0.41.4 version. Is this 
an object? I still havent been able to upload an .aif file... I also tried the 
sugested:list camilocadavid/Secuencias/Bajo_fiesta1 80.aif Bajo
|
[l2s]
|
read -resize $1well, after I created the 100 size Bajo named array, these 
comands didnt fit the file into the array. My main objective is to simply load 
an .aif to play with it.I appreciate your help.
C. Cadavid C.

 Date: Wed, 26 May 2010 09:13:23 -0400
 From: ma...@artengine.ca
 To: zmoel...@iem.at
 CC: cccada...@hotmail.com; pd-list@iem.at
 Subject: Re: [PD] loading an .aif file into an array
 
 On Wed, 26 May 2010, IOhannes m zmoelnig wrote:
 
  On 2010-05-26 03:33, Mathieu Bouchard wrote:
  On Tue, 25 May 2010, Dan Wilcox wrote:
  In this case, you'd use
  [camilocadavid/Secuencias/Bajo_fiesta1 80.aif 
  |
  [rc-filename]
  |
  [read -resize $1 Bajo
  woops, sorry. I didn't put the table name separately (ouch)
 
  that's why its called trickery
 
 What ? I can be making that mistake with anything at all, as long as I'm 
 not even trying it and not proofreading myself at all.
 
 It's called trickery ?
 Who calls it trickery ?
 
   _ _ __ ___ _  _ _ ...
 | Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801
  
_
News, entertainment and everything you care about at Live.com. Get it now!
http://www.live.com/getstarted.aspx___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list