Hello everybody. I've been interested in doing some experiments with cellular automata scpecifically visual but maybe i could journey into different controls for sound and composition as well. I'm interested in starting simple, and then seeing where i could go with it, but i don't know quite where to begin. I'm thinking GEM is what i want to use here for my output. what is the best way to set up a grid to have the fill of the blocks alternate their color according to rules? I don't have much expirience with coding so i get hung up on the most effective way to do it. Maybe someone has started a framework like this i could take a look at? Also I'm thinking that maybe there is a simpler way of outputing the graphics, because all I want is 2D for now. I thought about using plain text symbols in the console window but that isnt really elegant enough, and the data structures always seem to get unstable on my machine when the patch becomes complex (i guess this could be poor coding on my part)
anyway. thanks for any info, walter carpenter
ps, in the time I took attempting to send this message (long, pointless story..) i did find the cellular automata external that comes with maxlib. I think it will help me out a lot, although it still doesnt explain how i should go about setting up a basic array for the visual output.
hi all,
I'm pretty new to pd so sorry if this is a very basic question....
I need to output audio info(amplitude, frequencies....) to a text file. Is there an object that handles this in pd ?
What I want to obtain is a text file that would look like this :
timeStamp(in second) = amplitudeInfo
ex :
0.2 = 0.002 0.5 = -0.0003 0.7 = 0.2
etc...
any help appreciated
TIA
thomas
hi, u could use textfile, or msgfile (from zexy-library). or is your problem more complicated? ms.
----- Original Message ----- From: "thomas mery" thomas@thomas-mery.net To: pd-list@iem.kug.ac.at Sent: Wednesday, September 25, 2002 9:39 AM Subject: [PD] output to text file
hi all,
I'm pretty new to pd so sorry if this is a very basic question....
I need to output audio info(amplitude, frequencies....) to a text file. Is there an object that handles this in pd ?
What I want to obtain is a text file that would look like this :
timeStamp(in second) = amplitudeInfo
ex :
0.2 = 0.002 0.5 = -0.0003 0.7 = 0.2
etc...
any help appreciated
TIA
thomas
PD-list mailing list PD-list@iem.kug.ac.at http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list
You can get the amplitude of a wavefile at time intervals with the snapshot~ object. Snapshot~ can be triggered by metro (e.g. metro 200 for 0.2 msec intervals).
You can then use the textfile object to store the info in a textfile like <add $1 $2> where $1 and $2 are time and amplitude packed with the pack object. (Remember to connect to the right inlet of the pack object first or add a bang to the left inlet, because the right inlet is "cold" (not sending when changed). Otherwise your results will be moved one place down the list).
See the textfile reference for more info on the textfile. For more advanced textfile formatting you can try msgfile from the zexy lib.
HTH Soeren
On Wed, 25 Sep 2002, thomas mery wrote:
hi all,
I'm pretty new to pd so sorry if this is a very basic question....
I need to output audio info(amplitude, frequencies....) to a text file. Is there an object that handles this in pd ?
What I want to obtain is a text file that would look like this :
timeStamp(in second) = amplitudeInfo
ex :
0.2 = 0.002 0.5 = -0.0003 0.7 = 0.2
etc...
any help appreciated
TIA
thomas
PD-list mailing list PD-list@iem.kug.ac.at http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list
Soeren Bovbjerg Aalborg University
----- Original Message ----- From: "Soeren Bovbjerg" bovbjerg@musik.auc.dk To: "thomas mery" thomas@thomas-mery.net Cc: pd-list@iem.kug.ac.at Sent: Wednesday, September 25, 2002 9:57 AM Subject: Re: [PD] output to text file
You can get the amplitude of a wavefile at time intervals with the snapshot~ object. Snapshot~ can be triggered by metro (e.g. metro 200 for 0.2 msec intervals).
You can then use the textfile object to store the info in a textfile like <add $1 $2> where $1 and $2 are time and amplitude packed with the pack object. (Remember to connect to the right inlet of the pack object first or add a bang to the left inlet, because the right inlet is "cold" (not sending when changed). Otherwise your results will be moved one place down the list).
See the textfile reference for more info on the textfile. For more advanced textfile formatting you can try msgfile from the zexy lib.
HTH Soeren
thanks a lot I'll try this out
I think that should do what I want
thanks again
you could just set up a grad of Gem squares in one plane and send thier individual colour values from your CA stuff... simple enough?
Ben
On Wed, 25 Sep 2002, wwcarpen wrote:
Hello everybody. I've been interested in doing some experiments with cellular automata scpecifically visual but maybe i could journey into different controls for sound and composition as well. I'm interested in starting simple, and then seeing where i could go with it, but i don't know quite where to begin. I'm thinking GEM is what i want to use here for my output. what is the best way to set up a grid to have the fill of the blocks alternate their color according to rules? I don't have much expirience with coding so i get hung up on the most effective way to do it. Maybe someone has started a framework like this i could take a look at? Also I'm thinking that maybe there is a simpler way of outputing the graphics, because all I want is 2D for now. I thought about using plain text symbols in the console window but that isnt really elegant enough, and the data structures always seem to get unstable on my machine when the patch becomes complex (i guess this could be poor coding on my part)
anyway. thanks for any info, walter carpenter
ps, in the time I took attempting to send this message (long, pointless story..) i did find the cellular automata external that comes with maxlib. I think it will help me out a lot, although it still doesnt explain how i should go about setting up a basic array for the visual output.
PD-list mailing list PD-list@iem.kug.ac.at http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list
Le Mercredi 25 Septembre 2002 08:21, wwcarpen a écrit :
Also I'm thinking that maybe there is a simpler way of outputing the graphics, because all I want is 2D for now.
you can try xgui. It's dedicated to 2D graphics => http://dh7.free.fr
if you don't need any lan feature, use version 8 that is mutch more speed.
Cheers, Damien.