Day 3 -

Aug 20th

Stage 1

15:20 - 16:00

Scala, Sound, and Structure: Composing Music through Functional Programming

What do functional programming and Johann Sebastian Bach’s music have in common? More than you’d think. In this talk, we’ll explore how concepts from functional programming—immutability, pure functions, recursion—can be applied not just to code, but to creative processes like music composition. Using a sampler instrument built for the Sounds of Scala library we’ll generate melodies, and explore algorithmic music inspired by structures like Pascal’s Triangle and the Möbius strip. Along the way, we’ll connect music theory with functional patterns, showing how FP can act as a creative lens, not just a technical one. This talk is for developers curious about music, musicians curious about programming, and anyone interested in the intersection of maths and creativity.

Johanna Odersky

Tiko

I’m a junior Scala developer with a background in fine arts and music production. I began exploring Scala in 2022 and quickly developed a strong affinity for its expressive, functional side. As a contributor to the open-source Sounds of Scala web audio library, I developed the sampler instrument as part of Google Summer of Code 2024 under the Scala Center. I enjoy art, music, maths, coding and everything in between.

Subscribe

Join our conference

Subscribe and follow @ScalaDays on BlueSky for the latest conference updates.