function S = scan_info_str(scan,sound)

%--
% initialize scan information string
%--

S = cell(0);

if (isempty(scan.start))
	return;
end

%--
% display scan duration and interval information
%--

S{end + 1} = ['SCAN: (', sec_to_clock(scan.duration), ')'];
S{end + 1} = '-----';

for k = 1:length(scan.start)
	S{end + 1} = [sec_to_clock(scan.start(k)), ' - ', sec_to_clock(scan.stop(k))];
end

%--
% display page information
%--

S{end + 1} = '';

S{end + 1} = ['PAGES: (', sec_to_clock(scan.page.duration), ')'];

if (scan.page.overlap)
	S{end} = [S{end}, ' (', sec_to_clock(scan.page.overlap * scan.page.duration), ')'];
end 

S{end + 1} = '------';

% NOTE: set scan position to zero to get all pages

scan.position = 0; [page,scan] = get_scan_page(scan);

while (~isempty(page))
	S{end + 1} = page_to_str(page); [page,scan] = get_scan_page(scan);
end