My ebook: Music for Geeks and Nerds

I’m happy to announce that I’m launching my ebook, Music for Geeks and Nerds. It uses programming and mathematics to teach same aspects of music and it answers long-standing questions such as why Eb and D# are different, and which sequence sounds better, Pascal’s triangle or Fibonacci (place your bets). I wrote it because I have friends who are programmers, […]

Continue Reading 1

PyCon 2012 was incredible

I attended the 2012 PyCon in Santa Clara were I presented the tutorial Making and understanding music with Python and a little bit of Math. I think the tutorial went well, and I’m in the process of moving the teaching library I used in the tutorial to it’s own github repository (with better code and documentation). My friends […]

Continue Reading 0

Harmonizing Every Scale With Python

I was advising some students the other day about harmonizing non-traditional scales and someone mentioned how it would be useful to have a list of harmonizations for every possible scale. I bragged that I could write a program in half-hour to accomplish it. Of course it took longer than that, but I quickly wrote a […]

Continue Reading 0

SICP in Python

Structure and Interpretation of Computer Programs (a.k.a SICP, or “The Wizard Book”) is considered one of the great computer science books. Some people claim it will make you a better programmer. It was the entry-level computer science subject at MIT and it’s still used in universities like Berkeley. One of the great things about SICP is that it focus on […]

Continue Reading 0

Printing Python Code With LaTeX

Call me old fashioned but I like to review my code by printing it. Yes. Printing. On dead tree. The advantage of reviewing code on paper instead of the monitor is that I can give my eyes a break and I can annotate more freely, connect things with arrows, draw boxes, etc. I don’t print […]

Continue Reading 0