Performance video
Torrents
Composed by David Mao, performed at the MusicOn! + InterArts Festival. Watch on YouTube
Music, mathematics, code, and the places they meet
Based in Pittsburgh, I compose for piano and have won international composition prizes. I published two first-author IEEE papers on how music affects the heart, and I build apps, from a screen-time game on the App Store to an ear-training game for calculus. Since sixth grade I have helped run nonprofits that teach competition math and AI literacy to students in more than twenty countries.
No. 1
Pianist since age six
Performance video
Composed by David Mao, performed at the MusicOn! + InterArts Festival. Watch on YouTube
Audio
A dance for the orca, heard here as a MIDI rendering of the score.
First Prize
At the piano
I've played piano since I was six. I've earned Superior ratings seven times and completed PMTA Level 6 Theory, and my chamber group was selected for the NYC MusicOn Festival.
No. 2
Built, shipped, and in use
iOS app · on the App Store
Beddr turns time away from your phone into a game. Tap Lock In and Beddr uses Apple's Screen Time API to block the apps you've chosen. Each minute you stay locked in earns a point. Friends create or join competitions with a six-character code. Each one has its own dates and reward and a win rule: top three, top percentage, or a shared team goal. A live leaderboard tracks the race, and a small blob companion wakes up and keeps you company while you focus.
I built it with React Native, Expo and Firebase after interviewing more than 30 students, parents and teachers about distraction triggers, habit formation and phone overuse. I now work with six nonprofits to promote healthier technology habits.
Max/MSP · Arduino · music therapy
Isoyue is music written live by your heartbeat. Its name comes from the Chinese folk technique fish bites tail, where each phrase begins on the last note of the one before it. It also builds on the iso principle from music therapy: first match the listener's state, then guide them somewhere calmer.
It builds on my research on neural entrainment with the Vinjamuri Lab and on Chinese five-tone theory.
Web game · Max/RNBO audio
MusePlot is an ear-training game for calculus. It turns a hidden curve into sound. You draw your own curve, play it back, and try to make it sound the same.
Math mode maps slope, the integral and concavity to pitch and volume. Music mode maps the graph to reverb, wave shape and LFO motion through an audio engine I built in Max/RNBO. Each attempt is scored on the curve's mathematical features and feeds an ELO-style rating. There are daily puzzles, practice rounds and guest play, all drawn in a pencil-on-paper style.
No. 3
Computational neuroscience and machine learning
Vinjamuri Lab, University of Maryland, Baltimore County · 9th–12th grade
Working with Professor Ramana Vinjamuri, I developed a mathematical-modeling approach to explain how music may influence heartbeat and stress through neural entrainment. The work has produced two first-author papers at IEEE EMBC, the international conference of the IEEE Engineering in Medicine and Biology Society, and it is the scientific basis for Isoyue.
Stony Brook University · Summer 2026
Admitted to the Simons Summer Research Program, which has a 2% acceptance rate and allows two nominations per school. Under Professor Yuefan Deng, I studied how accurately machine-learning models forecast financial time series and presented a poster at the final symposium. I'm still working with Professor Deng's team and plan to submit a first-author paper to the Regeneron Science Talent Search.
Inspirit AI Scholars · June 2025
I completed the Inspirit AI Scholars program with a project on natural-language processing for algorithmic trading. Our team won Best Presentation, voted the crowd favorite.
No. 4
| Competition | Result | Details |
|---|---|---|
| UC Berkeley CALICO Gold Brick | #28 of 422 teams worldwide (top 6.6%) | Fall 2025 · #16 of 287 pre-college teams · 38 countries |
| USACO | Gold Division | 2026 · National |
| Cornell University HS Programming Competition | 1st & 2nd Place teams | 2026 & 2025 · National |
| Virginia Tech HS Programming Contest | 2nd & 3rd Place teams | 2025 & 2023 · National |
| Lockheed Martin Code Quest | 2nd Place team, Advanced Division | Pacific Region · 11th grade |
No. 5
| Competition | Result | Details |
|---|---|---|
| Purple Comet! Math Meet Global 1st | 1st Place team in the world (full-score tie) | 2026 · nearly 3,000 high school teams from 89 countries · also 1st in US and PA |
| AIME | Qualifier, four times | 2022–2025 · National |
| ARML | 2nd Place team, Division B | 2024 · International |
| HMMT Estimathon | 2nd Place team | 2026 · International |
| CMIMC Estimathon | 2nd Place team | 2026 · International |
| CMIMC | 8th Place overall team | 2025 · International |
No. 6
STEAM Studio, Division III
For the "Classics… Opening Night Antics" problem, our team wrote and staged an original musical. In it, a play's opening night goes wrong, and Mr. Toad from The Wind in the Willows reviews it as the theater critic. We wrote the script and lyrics and built the props, costumes and backdrops ourselves. I composed the music and played it live on stage, and I did the same again at a second World Finals.
We took first at the Western Pennsylvania Regional, at States, and then at the World Finals.
Interview
Citation
In the press
No. 7
Scholastic Art & Writing Awards · Film & Animation
My film What Is Consciousness earned a National Silver Medal in Film & Animation, which goes to the top 0.75% of entries. Across 2024 and 2025, my films have also earned two regional Gold Keys and two Honorable Mentions.
Through Palettech, I also edit videos for community organizations, including culture-festival videos and a digital art gallery for the Chinese Association for Science and Technology, Pittsburgh Chapter.
No. 8
| Honor | Distinction | Details |
|---|---|---|
| Princeton Book Award | School nominee, 1 of 704 (0.14%) | Academic excellence and leadership · 11th grade |
| National Merit | Semifinalist | National |
| College Board National Recognition Program | Award recipient | 2025 · National |
| DECA State Champion | Principles of Marketing | 2025 · ICDC qualifier |
No. 9
Math, AI, art and technology for the community
501(c)(3) · Co-founder & CFO, now CEO · 6th–12th grade
Mathlings is a competition-math nonprofit that reaches more than 3,000 students in 21 countries through online courses, after-school programs, competitions and summer camps. I helped design its child-centered curriculum, have led and trained more than 170 instructors, and secured a Google Ads grant worth up to $10,000 a month. Mathlings has earned a Youth Entrepreneurship and Finance Association Certificate of Achievement and two Leadership & Innovation Lab Awards.
"I have seen Mathlings grow from the very start, since we began brainstorming names."
David Mao, Pittsburgh Post-Gazette, July 2024
Founder & CEO · 8th–12th grade
Frontier AI offers free AI education to more than 600 students nationwide. I wrote its curriculum on AI literacy and critical thinking, and we teach real AI applications along with MIT's Day of AI.
Co-founder · 7th–12th grade
Palettech is a student-led nonprofit that offers free art and technology services. It has served more than 30 community clients, including theater groups, cultural organizations, a volunteer fire company and a historic cemetery. I've led projects in web development, animation, graphic design and video production.
I'm always glad to talk about music, research or any of the projects here.
Elsewhere
© 2026 David Mao