MINDSYNC: ARCHITECTURE AND PERFORMANCE OF A WEB SOUND-MIXING PLATFORM
Abstract
This work presents MindSync, a web sound-mixing platform that combines a stereo track with distinct tones per channel with an ambient texture chosen according to the stress level reported by the user, and evaluates its architecture, security and performance. The back-end uses .NET, Clean Architecture, CQRS with MediatR and the Dapper micro-ORM. Authentication uses JSON Web Tokens in HttpOnly cookies with resource-ownership checks. The front-end uses React, TypeScript and the Web Audio API, and the infrastructure was packaged in Docker containers. On a general-purpose laptop, 77 back-end and 56 front-end unit tests, k6 load scenarios and 22 checks of the HTTP surface showed that, with 25 simultaneous virtual users, 25,098 requests were processed without failures and session operations had medians below 25 ms. A comparison with Entity Framework Core showed lower write latencies for Dapper. All access-control checks passed, and the time to first sound was dominated by audio decoding (median of 2.6 s without network throttling). The study does not evaluate therapeutic effects.
Author Biographies
Undergraduate student in Information Systems at the University of Araraquara (UNIARA) and .NET Developer at 5by5 - Consultoria em TI LTDA.
PhD in Organic Chemistry from the University of São Paulo (USP), Master's degree in Chemistry from the Federal University of São Carlos (UFSCar), Bachelor's degree in Chemistry from São Paulo State University (UNESP), and a teaching degree in Computing from Centro Universitário Claretiano. Professor at Faculdades Integradas Logatti and the University of Araraquara (UNIARA), with expertise in Computer Science, computer networks, mobile application development, and artificial intelligence. Also serves as Google Workspace Technology Manager and a member of the Artificial Intelligence Technical Committee at UNIARA.
References
BRAIN.FM. Science. 2026. Disponível em: https://www.brain.fm/science Acesso em: 16 out. 2026.
BRASIL. Lei nº 13.709, de 14 de agosto de 2018. Lei Geral de Proteção de Dados Pessoais (LGPD). Brasília, DF: Presidência da República, [2018]. Disponível em: https://www.planalto.gov.br/ccivil_03/_ato2015-2018/2018/lei/l13709.htm Acesso em: 8 set. 2026.
CHAIEB, L.; WILPERT, E. C.; REBER, T. P.; FELL, J. Auditory beat stimulation and its effects on cognition and mood states. Frontiers in Psychiatry, v. 6, 2015 DOI: https://doi.org/10.3389/fpsyt.2015.00070 DOI: https://doi.org/10.3389/fpsyt.2015.00070
DAPPER LIB. Dapper - a simple object mapper for .NET. 2026. Disponível em: https://github.com/DapperLib/Dapper Acesso em: 19 mar. 2026.
DOCKER. Docker documentation. 2026. Disponível em: https://docs.docker.com Acesso em: 1 abr. 2026.
ENDEL. Endel. 2026. Disponível em: https://endel.io Acesso em: 16 out. 2026.
FOWLER, M. et al. Patterns of enterprise application architecture. Boston: Addison-Wesley, 2002.
GARCIA-ARGIBAY, M.; SANTED, M. A.; REALES, J. M. Efficacy of binaural auditory beats in cognition, anxiety, and pain perception: a meta-analysis. Psychological Research, v. 83, n. 2, p. 357-372, 2019 DOI: https://doi.org/10.1007/s00426-018-1066-8 DOI: https://doi.org/10.1007/s00426-018-1066-8
HERNÁNDEZ, K. G. MindSync: repositório do código-fonte. 2026. Disponível em: https://github.com/krysgh/MindSync Acesso em: 10 set. 2026.
JONES, M.; BRADLEY, J.; SAKIMURA, N. JSON Web Token (JWT). RFC 7519. Internet Engineering Task Force (IETF), maio 2015. Disponível em: https://www.rfc-editor.org/rfc/rfc7519 Acesso em: 18 out. 2026 DOI: https://doi.org/10.17487/RFC7519 DOI: https://doi.org/10.17487/RFC7519
MARTIN, R. C. Arquitetura limpa: o guia do artesão para estrutura e design de software. 1. ed. Rio de Janeiro: Alta Books, 2019.
MDN WEB DOCS. Web Audio API. 2026. Disponível em: https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API Acesso em: 21 jul. 2026.
MICROSOFT. Command Query Responsibility Segregation (CQRS) pattern. Azure Architecture Center, atualizado em 21 fev. 2025. Disponível em: https://learn.microsoft.com/en-us/azure/architecture/patterns/cqrs Acesso em: 16 out. 2026.
MYNOISE. myNoise. 2026. Disponível em: https://mynoise.net Acesso em: 16 out. 2026.
NIELSEN, J. Usability engineering. Boston: Academic Press, 1993. DOI: https://doi.org/10.1016/B978-0-08-052029-2.50009-7
ORGANIZAÇÃO MUNDIAL DA SAÚDE. World mental health report: transforming mental health for all. Genebra: OMS, 2022. Disponível em: https://www.who.int/publications/i/item/9789240049338 Acesso em: 10 fev. 2026.
OSTER, G. Auditory beats in the brain. Scientific American, v. 229, n. 4, p. 94-102, out. 1973. DOI: https://doi.org/10.1038/scientificamerican1073-94
OWASP. A01:2021 – Broken Access Control. OWASP Top 10:2021. Disponível em: https://top10.owasp.org/2021/A01_2021-Broken_Access_Control/index.html Acesso em: 16 out. 2026.
PIXABAY. Content License Summary. Disponível em: https://pixabay.com/service/license-summary/ Acesso em: 16 out. 2026.
PROVOS, N.; MAZIÈRES, D. A future-adaptable password scheme. In: USENIX ANNUAL TECHNICAL CONFERENCE, 1999, Monterey. Proceedings [...]. Berkeley: USENIX Association, 1999. p. 81-92. Disponível em: https://www.usenix.org/legacy/publications/library/proceedings/usenix99/provos/provos_html/index.html Acesso em: 16 out. 2026.
REACT. React documentation. 2026. Disponível em: https://react.dev Acesso em: 13 jun. 2026.
TYPESCRIPT. TypeScript documentation. 2026. Disponível em: https://www.typescriptlang.org/docs/ Acesso em: 16 jun. 2026.
WOODS, K. J. P. et al. Rapid modulation in music supports attention in listeners with attentional difficulties. Communications Biology, v. 7, n. 1, p. 1-13, out. 2024 DOI: https://doi.org/10.1038/s42003-024-07026-3 DOI: https://doi.org/10.1038/s42003-024-07026-3
