Pedro Kroger

A composer turned programmer turned entrepreneur

How Does Pascal’s Triangle Sound?

The idea of transforming a mathematical sequence into sound may sound (no pun intended, but I’ll take it) strange at first, but people have been doing it for ages. In this post we will generate some music randomly to have and idea of how it sounds and then we will see how sequences like Fibonacci and Pascal’s triangle sound.

This post is taken from Music for Geeks and Nerds. You can find all code and examples for free here. I use the open source pyknon library to generate the music examples. This free chapter explains how to use pyknon.

tl;dr: Random music sounds bad, Pascal’s triangle sounds great!

Two New Compositions

I was commissioned to write two new compositions recently; one for four clarinets and the other for soprano and mixed ensemble. In this post I want to share the video of both premieres.

Time Tracking for Founders

How many hours have you worked on your Minimum Viable Product (MVP) in the past month? How many hours have you worked on your lifestyle business this week? How long does it take to write a book? I’m able to give reasonable answers to these questions because I track my time. Hackers turned founders rightfully track many things about their products (downloads, page visits, conversions, etc) but, surprisingly, many of them don’t track where they spend their time.