View full-text article in PMC Sensors (Basel). 2022 Feb 22;22(5):1714. doi: 10.3390/s22051714 Search in PMC Search in PubMed View in NLM Catalog Add to search Copyright and License information © 2022 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/). PMC Copyright notice Algorithm 1 Voice Activity Detection (VAD) input← audio file rms← frame energy(input) threshold←0.05×max(rms) fori in range(len(rms)) do if rms[i]≥threshold then frame i stored in speech else frame i stored in nonspeech end if end forreturnspeech,nonspeech