DOI: 10.5281/zenodo.5136591
title: Coughs: ESC-50 and FSDKaggle2018

description: This dataset consists of timestamps for coughs contained in files extracted from the ESC-50 and FSDKaggle2018 datasets. <strong>Citation</strong> This dataset was generated and used in our paper: Mahmoud Abdelkhalek, Jinyi Qiu, Michelle Hernandez, Alper Bozkurt, Edgar Lobaton, “Investigating the Relationship between Cough Detection and Sampling Frequency for Wearable Devices,” in the 43rd Annual International Conference of the IEEE Engineering in Medicine and Biology Society, 2021. Please cite this paper if you use the <em>timestamps.csv </em>file in your work. <strong>Generation</strong> The cough timestamps given in the <em>timestamps.csv</em> file were generated using the cough templates given in figures 3 and 4 in the paper: A. H. Morice, G. A. Fontana, M. G. Belvisi, S. S. Birring, K. F. Chung, P. V. Dicpinigaitis, J. A. Kastelik, L. P. McGarvey, J. A. Smith, M. Tatar, J. Widdicombe, "ERS guidelines on the assessment of cough", European Respiratory Journal 2007 29: 1256-1276; DOI: 10.1183/09031936.00101006 More precisely, 40 files labelled as "coughing" in the ESC-50 dataset and 273 files labelled as "Cough" in the FSDKaggle2018 dataset were manually searched using Audacity for segments of audio that closely matched the aforementioned templates, both visually and auditorily. Some files did not contain any coughs at all, while other files contained several coughs. Therefore, only the files that contained at least one cough are included in the <em>coughs</em> directory. In total, the timestamps of 768 cough segments with lengths ranging from 0.2 seconds to 0.9 seconds were extracted. <strong>Description</strong> The audio files are presented in <em>wav</em> format in the <em>coughs</em> directory. Files named in the general format of "*-*-*-24.wav" were extracted from the ESC-50 dataset, while all other files were extracted from the FSDKaggle2018 dataset. The <em>timestamps.csv</em> file contains the timestamps for the coughs and it consists of four columns: <pre><code>file_name,cough_number,start_time,end_time</code></pre> Files in the <em>file_name</em> column can be found in the <em>coughs</em> directory. <em>cough_number</em> refers to the index of the cough in the corresponding file. For example, if the file <em>X.wav</em> contains 5 coughs, then <em>X.wav</em> will be repeated 5 times under the <em>file_name</em> column, and for each row, the <em>cough_number</em> will range from 1 to 5. <em>start_time</em> refers to the starting time of a cough segment measured in seconds, while <em>end_time</em> refers to the end time of a cough segment measured in seconds. <strong>Licensing</strong> The ESC-50 dataset as a whole is licensed under the Creative Commons Attribution-NonCommercial license. Individual files in the ESC-50 dataset are licensed under different Creative Commons licenses. For a list of these licenses, see LICENSE. The ESC-50 files in the <em>cough</em> directory are given for convenience only, and have not been modified from their original versions. To download the original files, see the ESC-50 dataset. The FSDKaggle2018 dataset as a whole is licensed under the Creative Commons Attribution 4.0 International license. Individual files in the FSDKaggle2018 dataset are licensed under different Creative Commons licenses. For a list of these licenses, see the <em>License</em> section in FSDKaggle2018. The FSDKaggle2018 files in the <em>cough</em> directory are given for convenience only, and have not been modified from their original versions. To download the original files, see the FSDKaggle2018 dataset. The <em>timestamps.csv</em> file is licensed under the Creative Commons Attribution-NonCommercial 4.0 International license.
description: This work was supported by the National Science Foundation under award IIS-1915599 and EEC-1160483 (ERC for ASSIST).