Flatiron News

Learn To Program Your Favorite Song

“Shake It Off” in code

Erin Farber / 21 March 2016
SHARE:

‘Cause the coders gonna code, code, code, code, code….

In his latest online lecture, our co-founder, Avi, taught us how to code his favorite Taylor Swift song: “Shake it Off.” Using Ruby code and Sonic Pi – a live coding synth used by beginner students and pro musicians alike – he showed us how to use methods and other coding basics to program the song: everything from the harmony and melody to the volume and tempo.

“Throughout my life, I’ve always experienced code as a creative endeavor,” says Avi. “It’s not just about building apps, it’s also a medium to express an idea or model a phenomenon in the world around you.”

If you want to recreate Taylor’s “Shake it Off” yourself or even program your own favorite song, check out the recorded lecture! Tweet to us @FlatironSchool or @aviflombaum, and let us know what song you’ve chosen.

And to continue learning the ins and outs of programming, try out our free intro course on Learn.co. Let’s make beautiful music (and code!) together.

An Inside Look at Flatiron School's Online Campus With Student Sarah Lichter Previous Post Announcing the Kode With Klossy Summer Program Next Post