The list is currently a text file that contains the information needed to construct the java-objects used for playing samples. Here is an example of a sample list:
# Samples file # pirr44.class=guinea.player.SoundSample pirr44.filename=samples/short/pirr44.aiff pirr32.class=guinea.player.SoundSample pirr32.filename=samples/short/pirr32.aiff pirr22.class=guinea.player.SoundSample pirr22.filename=samples/short/pirr22.aiff pirr16.class=guinea.player.SoundSample pirr16.filename=samples/short/pirr16.aiff pirr11.class=guinea.player.SoundSample pirr11.filename=samples/short/pirr11.aiff pirr8.class=guinea.player.SoundSample pirr8.filename=samples/short/pirr8.aiff mcll.class=guinea.player.SoundSample mcll.filename=samples/pink.aiffLets take a closer look at one sample's information:
pirr44.class=guinea.player.SoundSample pirr44.filename=samples/short/pirr44.aiffFirst in the start of every line is the sample ID. In this case it is pirr44. After the ID, there is a property name and its value if the form of 'name=value' or 'name: value'. For example, the line
pirr44.filename=samples/short/pirr44.aiffsets the property 'filename' of the sample pirr44 to value 'samples/short/pirr44.aiff'.
# ... other properties for sample 'pirr32' ... pirr32.property.filterType=lowpass pirr32.property.filterCutoff=32000 # ... other properties for sample 'pirr22' ... pirr22.property.filterType=lowpass pirr22.property.filterCutoff=22050The additional properties are specified with 'property' at the start followed by the a sample property name (in the one above: filterType and filterCutoff). Any number of properties can be used. The property values are strings.
The values of the sample parameters are readable from the sample object with the getProperty() method (See API doc for guinea.player.Sample class).