Sample list

The sample list relates the sample IDs the test items use to the actual audio samples. The information about a sample contains at least the sample ID and the file name of the audio file. Depending on the type of sample, additional information may be also stored.

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.name=pirr44
pirr44.filename=samples/short/pirr44.aiff

pirr32.class=guinea.player.SoundSample
pirr32.name=pirr32
pirr32.filename=samples/short/pirr32.aiff

pirr22.class=guinea.player.SoundSample
pirr22.name=pirr22
pirr22.filename=samples/short/pirr22.aiff

pirr16.class=guinea.player.SoundSample
pirr16.name=pirr16
pirr16.filename=samples/short/pirr16.aiff

pirr11.class=guinea.player.SoundSample
pirr11.name=pirr11
pirr11.filename=samples/short/pirr11.aiff

pirr8.class=guinea.player.SoundSample
pirr8.name=pirr8
pirr8.filename=samples/short/pirr8.aiff

mcll.class=guinea.player.SoundSample
mcll.name=mcll
mcll.filename=samples/pink.aiff
Lets take a closer look at one sample's information:
pirr44.class=guinea.player.SoundSample
pirr44.name=pirr44
pirr44.filename=samples/short/pirr44.aiff
First in the start of every line is a sample ID. In this case it is pirr44. After the ID, there is a property name and it value if the form of 'name=value' or 'name: value'. For example, the line
pirr44.filename=samples/short/pirr44.aiff
sets the property 'filename' of the sample pirr44 to value 'samples/short/pirr44.aiff'.

The properties for sound samples are:

class=java class name (required)
The java class name of the sample. For now only 'guinea.player.SoundSample' makes sense.
name=sample ID (required)
The sample ID of the sample, should be same as the ID in the beginning of line.
filename=file name of audio sample (required)
The file name of the real audio file.
correctionVolume=correction (optional)
A correction volume or calibration for sample's volume level. The correction is relative to the sample's normal level. It can be a level multiplier or it can be a dB level. Example: a value of '-6dB' is equivalent to about '0.5' multiplier.

· Directory Structure · Document index ·

Last modified: Wed Mar 25 14:02:53 EET 1998