	**** Sounds File ****
sounds.txt
	**** Labels File ****
labels.txt
	**** Stimulus Level(dB re: file) ****
0
	**** Data Subdirectory ****
../Data/DataFilesEnvTrain

	**** Task (1=sounds, 0=words only) ****
1
	**** Feedback [2=yes (no training if correct), 1=yes (always train), 0=no) ****
2
	**** Rate Sound Familarity (1=yes, 0=no) ****
0
	**** Training Repetitions (applies to sounds only with Feedback) ****
3
	**** Unmasked Training Cue (1=yes, 0=no) ****
0
	**** Global S/N (soundfile S/N currently not used,>99 for stim dur, =200 to omit mask) ****
200
	**** S/N Per-Rep Decrement During Training (after 1st rep) ****
0
	**** Masker Low Cutoff Frequency (Hz) ****
0.0
	**** Masker High Cutoff Frequency (Hz) [<= 0 to omit filtering] ****
8000.0
	**** Masker-Modulator Lowpass Cutoff Frequency (Hz) [<= 0 to omit modulation] ****
0.0
	**** Number of Blocks ****
3
	**** Total Number of Trials (used only if greater than blocks times #_files & blocks>2) ****
0
	**** S/N Decrement Per Previous Block Correct Response ****
2.5
	**** Trial # Increment for Pushbutton Resume (0 for never) ****
80
	**** Sample Room Level (1=yes, 0=no) & Reference SPL ****
0	56.

*******************************************************************

If either the listed Sounds File or Labels File is the same as the subject identifier, an incremental file name is assumed based on the subject name (e.g., Joe_Snd_1.txt, Joe_Lab_1.txt). 

Results are stored in three Matlab matrix variables that are both saved to a mat file and written to an Excel spreadsheet in the subdirectory DataFiles.  The first variable, "clout", is written to the first 9 columns of the Excel spreadsheet and shows data for specific sound files. By column, results indicate the following:

column A: Boolean correct/incorrect on the first block of trials
column B: subject response on the first block of trials
column C: Boolean correct/incorrect on the last block of trials (empty if only 1 block was run)
column D: subject response on the last block of trials (empty if only 1 block was run)
column E: cumulative # of correct response across all blocks (not just first and/or last)
column F: correct response label associated with the sound file
column G: sound file name
column H: familiarity rating (-1 default if not part of the test procedure)
column I: S/N in dB used with sound file presentation on first and last blocks

The second variable, "labSum", is written in three columns and shows performance by source label.  Following an empty Excel column J,
column K: list of source labels
column L: # of correct responses for the specific label
column M: # of stimuli presented for the specific label

If there was more than one block of trials, the third variable, "labSum2", is written in three columns and shows performance by source label on the final block.  Following an empty Excel column N,
column O: list of source labels
column P: # of correct responses for the specific label
column Q: # of stimuli presented for the specific label

Other variables are in the mat file, but not written to Excel.

The four-column cell array "labDetails" can be used for file selection for training.  The first coulmn is a list of source labels with the second column giving P(c) for that source.  The third column is an array of file index numbers (re the listing order in the mat-file variable "Files") for which the response was correct, and the fourth column is an array of file index numbers for which the response was incorrect.  The same information stored in"labDetails" is also stored in separate mat-file variables "labsUsed", "labPcs", "labRightFileIdxs", and "labWrongFileIdxs."

The listing of sound-file names and response labels from the input files "sounds.txt" and "labels.txt" are also stored in the mat file as "Files" and "Labs", respectively.  Finally, other specific values from the file "params.txt" are stored in the mat file.


Both the Excel spreadsheet and the mat file share a common name which is a concatenation of subject name, underscore, and counter value which increments from 1.  The Excel filename is the subject name.
