Currently not doing any noise reduction, nor hiding the plot when dB is below a threshold for displaying it. The space I'm working on this from is rather noisy, so I haven't done any robust testing yet.
The end goal is to allow users to identify F2 and manipulate it, reproducing the experiment conducted by Kawitzky and McCallister (2020).
References
Barreda, S. (2023). phonTools: Functions for Phonetics in R. R package version 0.2-2.2.
Stagg, G. W., Lionel, H., et al. (2023). webR: The Statistical Language R Compiled to WebAssembly via Emscripten. https://docs.r-wasm.org/webr/latest/
Kawitzky, D., & McAllister, T. (2020). The effect of formant biofeedback on the feminization of voice in transgender women. Journal of Voice, 34(1), 53–67. https://doi.org/10.1016/j.jvoice.2018.07.017