How do I play the sound of $\pi$?
There is code for the sound of random integers in $(-1,1)$.
Sound[SoundNote[#, 0.12] & /@ Accumulate[RandomInteger[{-1, 1}, 100]]]
I tried:
Sound[SoundNote[#, 0.12] & /@ Accumulate[RealDigits[N[Pi, 100], 2]]]
but it doesn't work.
Accumulate[First@RealDigits[Pi, 3, 100] - 1]]
$\endgroup$Sound[SoundNote[#, 0.12] & /@ Accumulate@First@RealDigits[N[Pi, 10], 2]]
$\endgroup$Sound[SoundNote[#, 0.12] & /@ First@RealDigits[N[Pi, 100]]]
directly turns the digits into MIDI note numbers. $\endgroup$