Processamento de arquivos de áudio para composição de testes de reconhecimento de fala em português
Processing of audio files for the construction of speech recognition tests in portuguese
Kauana Knappmann; Stephan Paul
Resumo
Palavras-chave
Abstract
Purpose: To develop computational codes for the automated modification of large quantities of sentence recordings, capable of performing format modifications, filtering, simulating sound signal processing in cochlear implants, and adjusting root mean square amplitude to equalize perceived volume between sentences.
Methods: Python codes were developed for the intended processes, using the Spyder interface and packages such as pydub, soundfile, os, and numpy. The codes were tested on two sets of previously recorded audio files in Brazilian Portuguese, in .MP3 and .WAV formats.
Results: Codes were implemented for 1) file format modification, 2) fade-in and fade-out adjustment, 3) high-pass filtering, 4) optional vocoderization, and 5) adjustment of root mean square amplitude. Testing the developed codes on two sets of sentence recordings available in .WAV and .MP3 formats in Portuguese showed consistent results as expected.
Conclusion: Python codes were developed for the automated modification of audio files, available on the GitHub website for further adaptations and improvements by third parties.
Keywords
References
1 Força MT, Cal RVR, Santos SR, Pereira LC, Boas GPV, Zell RGA, et al. Análise comparativa da percepção da perda auditiva com o resultado da audiometria em pacientes adultos e idosos do Hospital Bettina Ferro de Souza/PA. BJHR. 2020;3(6):17457-73.
2 WHO: World Health Organization. World report on hearing [Internet]. Geneva: WHO; 2021 [citado em 2025 junho 25]. DisponÃvel em:
3 Costa LD, Vaucher AVA, Pagliarin KC, Costa MJ. Teste de palavras no ruÃdo: desenvolvimento, validação e valores de referência. CoDAS. 2024;36(3):e20230091.
4 Campos Salvato C, Araújo SRS, Muller R, Soares AD, Chiari BM. Correlação entre reconhecimento de fala, tempo de privação auditiva e tempo de uso de Implante Coclear em usuários com surdez pós-lingual. Distúrb Comun. 2020;32(3):396-405.
5 Ferreira MC, Zamberlan-Amorim NE, Wolf AE, Reis ACMB. Influence of different types of noise on sentence recognition in normally hearing adults. Rev CEFAC. 2021;23(5):e2121.
6 Wilson BS, Dorman MF. Cochlear implants: current designs and future possibilities. JRRD. 2008;45(5):695-730.
7 Gifford RH, Shallop JK, Peterson AM. Speech recognition materials and ceiling effects: considerations for cochlear implant programs. Audiol Neurootol. 2008;13(3):193-205.
8 Johnson PA, McNamara DM, Ziarani AK. A novel VOCODER for cochlear implants. In: 30th Annual International Conference of the IEEE Engineering in Medicine and Biology Society; 2008; Vancouver, BC. New York: IEEE; 2008. p. 4732-5.
9 Pinheiro MMC, Vieira MG, Vieira LM, Koerich I, Rosseto I, Lazzarotto-Volcão C, et al. Adaptação de listas de sentenças para avaliação da percepção da fala. CoDAS. 2022;34(1):e20200301.
10 Sbompato AF, Corteletti LCBJ, Moret ADLM, Jacob RTDS. Hearing in Noise Test Brazil: standardization for young adults with normal hearing. Braz J Otorhinolaryngol. 2015;81(4):384-8.
11 Costa MJ. Listas de sentenças do português. Santa Maria: Pallotti; 1998. 48 p.
12 Valente SLO. Elaboração de listas de sentenças construÃdas na lÃngua portuguesa [dissertação]. São Paulo: PontifÃcia Universidade Católica; 1998.
13 Wilson RH, McArdle RA, Smith SL. An evaluation of the BKB-SIN, HINT, QuickSIN, and WIN materials on listeners with normal hearing and listeners with hearing loss. J Speech Lang Hear Res. 2007;50(4):844-56.
14 Spahr AJ, Dorman MF, Litvak LM, Van Wie S, Gifford RH, Loizou PC, et al. Development and validation of the AzBio sentence lists. Ear Hear. 2012;33(1):112-7.
15 Massa ST, Ruckenstein MJ. Comparing the performance plateau in adult cochlear implant patients using HINT and AzBio. Otol Neurotol. 2014;35(4):598-604.
16 Jung C, Shah KV, Ferraro T, Bigelow DC, Ruckenstein MJ, Peng-Hwa T. Non-english validation of the azbio sentence test: a systematic review of current applications and early adoption patterns. Otol Neurotol. 2026;47(1):e8391.
17 Nilsson M, Soli SD, Sullivan JA. Development of the Hearing In Noise Test for the measurement of speech reception thresholds in quiet and in noise. J Acoust Soc Am. 1994;95(2):1085-99.
18 Upadhyay N, Karmakar A. A multi-band speech enhancement algorithm exploiting iterative processing for enhancement of single channel speech. J Signal Inf Process. 2013;4(2):197-211.
19 Karoui C, James C, Barone P, Bakhos D, Marx M, Macherey O. Searching for the sound of a cochlear implant: evaluation of different vocoder parameters by cochlear implant users with single-sided deafness. Trends Hear. 2019;23:2331216519866029.
20 Välimäki V, Reiss J. All about audio equalization: solutions and frontiers. Appl Sci. 2016;6(5):129.
21 Raj VA, Dhas MDK. Analysis of audio signal using various transforms for enhanced audio processing. Int J Health Sci. 2022;6(2):8890-7.
22 Berglund B, Hassmén P, Job RFS. Sources and effects of low-frequency noise. J Acoust Soc Am. 1996;99(5):2985-3002.
23 Lupşa-Tătaru L. Customizing audio fades with a view to real-time processing. Applied Computer Science. 2019;15(4):16-26.
24 Ricketts TA, Bentler RA. The effect of test signal type and bandwidth on the categorical scaling of loudness. J Acoust Soc Am. 1996;99(4):2281-7.
25 Emily Shannon Fu Foundation. AngelSim (TigerCIS): Cochlear Implant and Hearing Loss Simulator [Internet]. 2013 [citado em 2025 junho 25]. DisponÃvel em:
26 Cychosz M, Winn MB, Goupell MJ. How to vocode: uing channel vocoders for cochlear-implant research. J Acoust Soc Am. 2024;155(4):2407-37.
27 The Python Standard Library [Internet]. 2001 [citado em 2025 junho 25]. DisponÃvel em:
28 Kent RD, Read C. Acoustic analysis of speech. 2nd ed. San Diego: Singular Publishing Group; 2002.
29 Greenwood DD. Auditory masking and the critical band. J Acoust Soc Am. 1961;33(4):484-502.
30 Forinash K, Christian W. Sound: an interactive ebook [Internet]. 2012 [citado em 2025 junho 25]. DisponÃvel em:
Submitted date:
11/12/2025
Accepted date:
04/01/2026


