% configureFileNamesAndDirectories.m set file locations for other scripts

% Last review: 05/2023, Daniel Pinardi
 

%% INPUT FILES

% Write here the recorded file name with extension (sweep or noise)
recordedFileName                = 'primo-piano-2-trim.wav';

% Write here the name of the encoding matrix (with extension)
encodingFilterMatrixFileName    = 'Ambeo-Ambix.wav';

% Write here the name of the background image (with extension)
backgroundImageFileName         = 'IMG_20250317_164456_00_027.jpg';

% Write here the inverse sweep file name with extension (OPTIONAL, mandatory for b_multiChConvolve.m)
invSweepFileName                = 'INV-ESS.wav';

% Write here the sweep file name with extension (OPTIONAL for b_multiChConvolve.m)
sweepFileName                   = '';


%% FILES, FOLDERS and RESOURCES

% folders
recordingFolder                 = './ArrayRecording/';
outputFolder                    = './AnalysisResults/';
resourcesFolder                 = './resources/';

% files and paths
mapsFolderIrs                   = [ outputFolder 'acousticIrsMaps/' ];
irsFolder                       = [ outputFolder 'deconvolvedIrs/' ];
encodedIrsFolder                = [ outputFolder 'encodedIrs/' ];

backgroundImageFile             = [ resourcesFolder backgroundImageFileName ];
encodingFilterMatrixFile        = [ resourcesFolder encodingFilterMatrixFileName ];
invSweepFile                    = [ resourcesFolder invSweepFileName ];
recordedSweepFile               = [ recordingFolder recordedFileName ];
sweepFile                       = [ resourcesFolder sweepFileName ];

irsMatFileName                  = [ irsFolder 'Irs_' recordedFileName(1:end-4) '.mat' ];
irsWavFileName                  = [ irsFolder 'Irs_' recordedFileName(1:end-4) '.wav' ];

encodedIrsMatFileName           = [ encodedIrsFolder 'Irs_' encodingFilterMatrixFileName(1:end-4) '_' recordedFileName(1:end-4) '.mat' ];
encodedIrsWavFileName           = [ encodedIrsFolder 'Irs_' encodingFilterMatrixFileName(1:end-4) '_' recordedFileName(1:end-4) '.wav' ];
