Getting started
Once the environment is installed, make sure that you have the following:
-
Stimulus files
Place all speech or audio stimuli used in your EEG listening experiment in a single folder. Each stimulus should be saved as an individual.wavfile. -
Preprocessed EEG files
This toolbox assumes that EEG preprocessing has already been completed, including steps such as filtering, ICA, resampling, and epoching. The preprocessed data should be saved asmne.Epochsin.fiffiles in the same folder. Each epoch should correspond to one stimulus audio track. -
Metadata file
Prepare a.csvspreadsheet that lists each EEG data file and its associated metadata. This spreadsheet will be used to link EEG data to the corresponding stimulus files. At minimum, the metadata file should include:- A column containing the EEG data filenames.
- A column containing the stimulus filenames, including file extensions, for all epochs in the corresponding EEG file. Multiple stimulus filenames should be separated by semicolons (
;).
For example, a minimal metadata file may look like this:
filename stim sub-01_task-alice.fif track1.wav;track2.wav;track3.wav;track4.wav;track5.wav In this example,
sub-01_task-alice.fifcontains five epochs, and thestimcolumn lists the corresponding stimulus files in epoch order, separated by semicolons.You are encouraged to add any additional metadata columns that may be useful for your analysis, such as participant ID, session, listening condition, etc. See
misc/example_metadata.csvfor an example.