Hi Pure Data Lovers,
I am looking for a way to store many symbols in Pd. I receive strings from [netreceive] and I need to use them right away, but also to store them somewhere for use at some other time. These strings are video file names to be played in GEM. Maybe the [any] external from iemlib would do it ? Thanks.
aalex
Hallo, Alexandre Quessy hat gesagt: // Alexandre Quessy wrote:
I am looking for a way to store many symbols in Pd. I receive strings from [netreceive] and I need to use them right away, but also to store them somewhere for use at some other time. These strings are video file names to be played in GEM. Maybe the [any] external from iemlib would do it ? Thanks.
How to store something very much depends on what you want to do with it later. For just storing symbols in a sequential way, textfile or qlist are great. Even messages could work ("add $1"). However if you need indexed or hashed access to your symbols later, then some other containers are better, like pool, some of the PDContainers or coll.
Frank Barknecht _ ______footils.org__
_ __latest track: "plak" @ http://footils.org/cms/show/44
On Tue, 2005-08-09 at 09:26 +0200, Frank Barknecht wrote:
Hallo, Alexandre Quessy hat gesagt: // Alexandre Quessy wrote:
I am looking for a way to store many symbols in Pd. I receive strings from [netreceive] and I need to use them right away, but also to store them somewhere for use at some other time. These strings are video file names to be played in GEM. Maybe the [any] external from iemlib would do it ? Thanks.
How to store something very much depends on what you want to do with it later. For just storing symbols in a sequential way, textfile or qlist are great. Even messages could work ("add $1"). However if you need indexed or hashed access to your symbols later, then some other containers are better, like pool, some of the PDContainers or coll.
Ciao
There is also [maphash] by Orm Finnendahl for associating arbitrary lists with symbols or floats.
Hallo, Jamie Bullock hat gesagt: // Jamie Bullock wrote:
There is also [maphash] by Orm Finnendahl for associating arbitrary lists with symbols or floats.
And, starting with the latest MSP Pd in CVS you can also store symbols in data structures, which can be a nice thing to do as well. Maybe some of the next updates will allow editing of symbols directly in a data structure as well?
Frank Barknecht _ ______footils.org__
_ __latest track: "plak" @ http://footils.org/cms/show/44