Carlos Castro

Carlos EduardoLeal de Castro

Professor at Ibmec São Paulo and co-founder of SIGMA Lab. PhD in Computer Science from IME-USP. I study how the construction of a drum shapes its sound, work on geometry processing for 3D printing, and play bass.

Publications and datasets PhD thesis GitHub ORCID

Strike the head. An ideal circular membrane, clamped at the rim: where you hit decides which modes ring. Motion slowed down; sound synthesized from the same mode frequencies.

Mode (m, n) and frequency. Model: Fletcher & Rossing, The Physics of Musical Instruments, §3.5; Bessel zeros from Abramowitz & Stegun, Table 9.5.

Carlos Castro in glasses and a white T-shirt, holding a round red theremin circuit board

About

I teach data science, machine learning and AI at Ibmec São Paulo, across the Data Science & AI, Software Engineering, Computer Engineering and Production Engineering programs. At Ibmec I co-founded and coordinate SIGMA Lab (Sistemas Inteligentes, IoT, Geometria, Modelagem e Algoritmos), a group that brings undergraduates into research.

My training is in mathematics. I came to computing through geometry and to audio through music: I play bass, and I produced and recorded several of the records listed further down this page.

PhD
Computer Science, IME-USP, 2026. Advisor: Marcelo Gomes de Queiroz. Member of the Computer Music Research Group.
MSc
Pure and Applied Mathematics, UFSC, 2020. Advisor: Leonardo Koller Sacht.
BSc
Mathematics, UFSC.
Groova
Partner at a Brazilian music technology platform that connects artists with contractors.
Reviewer
Journal of the Brazilian Computer Society (JBCS).

Research

Three lines that keep crossing each other: acoustics and timbre, geometry, and learning systems that recommend or explain.

Drum acoustics and timbre

How do shell wood, thickness, reinforcement rings, hoops and drumheads change the sound of a tom-tom? My doctoral work recorded tom-toms built from nine construction configurations, each under sixteen controlled tuning conditions, and used audio descriptors and timbre spaces to test which construction changes are audible and to describe their mechanical-acoustic signatures.

Three unfinished tom-tom shells in light, reddish and medium wood
Araucária, Copaíba and Teca shells used in the corpus, supplied by Odery Drums.

Geometry processing for 3D printing

Parts of a model that hang in the air need supports when printed, and supports are waste. Using the normal field of the surface, I look for a global orientation that minimizes overhang before slicing. The work started in the master's dissertation at UFSC with Leonardo Sacht and continues in a journal article now under review.

Pairs of 3D models (camel, cow, bunny, heart) shown in two orientations
Figure from the MSc dissertation, Optimal rotations for overhang reduction (UFSC, 2020).

Learning, inference and recommendation

Causal inference and recommender systems, applied to recommending physical configurations for acoustic drums in the doctoral work and to matching artists with contractors at Groova. In the classroom, the same tools become courses on machine learning, deep learning and applied AI.

Publications

Papers, theses, open datasets and teaching material. Datasets and the textbook are on Zenodo under CC BY 4.0.

In review

  • Journal article

    Normal-field-based global orientation for support reduction in 3D printing

    Carlos Eduardo Leal de Castro, Leonardo Koller Sacht. Submitted to the Journal of the Brazilian Computer Society (JBCS).

2026

  • PhD thesis

    Mechanical properties and timbre in drum tom-toms: acoustic discrimination and mechanical-acoustic signatures

    Instituto de Matemática e Estatística, Universidade de São Paulo. Advisor: Marcelo Gomes de Queiroz.

    DOI 10.11606/T.45.2026.tde-08102026-153436 Full text BibTeX

  • Conference paper and poster

    Timbre Discrimination in Drum Tom-Toms: An Approach Based on Audio Descriptors and Timbre Space

    Carlos Eduardo Leal de Castro, Marcelo Gomes de Queiroz. Proceedings of the 4th International Conference on Timbre (Timbre 2026), Montréal, 2–4 July 2026.

    DOI 10.5281/zenodo.22775209 Paper (PDF) Poster (PDF) BibTeX

  • Dataset

    Drum Tom-Tom Timbre Dataset: Acoustic Recordings of Nine Mechanical Configurations under Sixteen Controlled Tuning Conditions

    144 recordings with metadata and derived audio features. Zenodo, v1.0.0, September 2026. 90.5 MB.

    DOI 10.5281/zenodo.22783358

  • Dataset

    Drum Excitation Apparatus Repeatability Dataset: Thirty Repeated Acoustic Responses of One Tom-Tom under Nominally Identical Conditions

    Thirty recordings of the same tom-tom under the same setup. Zenodo, v1.0.0, September 2026. 26.4 MB.

    DOI 10.5281/zenodo.22783801

  • Dataset

    Drum Shell Impact Response Dataset: Acoustic Recordings of Five Isolated Tom-Tom Shells under Controlled Excitation

    Five unfitted shells struck by a controlled pendulum. Zenodo, v1.0.0, October 2026. 43.6 MB.

    DOI 10.5281/zenodo.23350876

  • Textbook (pt-br)

    Programação para Análise de Dados: da preparação dos dados ao aprendizado de máquina com Python

    Zenodo, v1, 2026. CC BY 4.0.

    DOI 10.5281/zenodo.22776420

2020

  • MSc dissertation

    Optimal rotations for overhang reduction

    Universidade Federal de Santa Catarina. Advisor: Leonardo Sacht.

    UFSC repository PDF BibTeX

2019

2018

  • Article (pt-br)

    A importância do desenho geométrico no ensino da geometria

    Revista da Olimpíada Regional de Matemática de Santa Catarina, n. 15. ISSN 1679-7612.

    Journal issue (zip) BibTeX

BSc

  • Undergraduate dissertation (pt-br)

    Image reconstruction methods applied to audio signals

    Universidade Federal de Santa Catarina. Advisor: Leonardo Sacht.

    PDF BibTeX

Teaching

Courses at Ibmec São Paulo, from calculus and statistical inference to deep learning and AI agents, plus an MBA course in applied statistics.

2025.1

  • Cálculo I
  • Cálculo II
  • Inferência Estatística

2025.2

  • Cálculo I
  • Cálculo III
  • Inferência Estatística
  • Métodos de Previsão
  • Programação para Análise de Dados Administração, Economia
  • Programação para Análise de Dados Engenharia de Produção
  • Projeto de Machine Learning
  • Fundamentos de Tecnologias Disruptivas
  • Estatística Aplicada a Negócios MBA

2026.1

  • Cálculo I
  • Métodos de Previsão
  • Programação para Análise de Dados Engenharia de Produção
  • Projeto de Machine Learning
  • Projeto de Deep Learning

2026.2

  • Projeto de Machine Learning
  • Projeto de Deep Learning
  • Métodos e Aplicações de IA IBM3116
  • Gestão de Produtos com IA IBM4584
  • IA e Agentes Computacionais em Sistemas Complexos

Open materials

Music

Records I played on, produced or recorded. Covers open the album or video.

  • Cover of Vamos pra rua

    Vamos pra rua

    Maglore, 2013

    Production, vocals, backing vocals, bass

    Rolling Stone
  • Cover of Veroz

    Veroz

    Maglore, 2011

    Bass, production, backing vocals

  • Cover of Elo Natural

    Elo Natural

    Jardim de Allah

    Production, drum recording, bass

  • Cover of Uma ideia ou outra

    Uma ideia ou outra

    Os Infames, 2014

    Bass

  • Cover of Agora é agora, depois é depois

    Corrida de Cavalo

    Irmão Carlos e o Catado, 2011

    Guitar. From Agora é agora, depois é depois

  • Cover of Armazém 1973

    Fala

    Armazém 1973, Secos e Molhados tribute, 2013

    Production, recording, mix, master, bass

    O Globo
  • Cover of A cara e o coração

    A cara e a coragem, Brasília

    A cara e o coração, Guilherme Arantes tribute, 2011

    Production, backing vocals, bass. Brasília

    Correio Braziliense
  • Cover of Re-trato

    O velho e o moço

    Re-trato, Los Hermanos tribute, 2012

    Production, backing vocals, bass

    Rolling Stone
  • Still from Warnow

    Warnow

    Dance improvisation, 2014

    Soundtrack composition

Contact

carlos dot castro at professores dot ibmec dot edu dot br

Pixel-art portrait of Carlos Pixel art by Paulo Ferrato