You can right-click a flute block to increase its pitch. There are 24 possible pitches, after which right-clicking again will reset to the first one.