Wolfram Language

Compose Bitcoin Music

The Wolfram Language provides access to different layers of blockchain information. This example shows how to use the hexadecimal transaction IDs, get the ASCII code of each character and map a SoundNote to each.

To extract the list of transactions of a block, use BlockchainBlockData.

Use ToCharacterCode to get the ASCII code of each hexadecimal digit and take the first 100 elements, subtracting 60 to keep the values in the appropriate pitch range.

Use the modified ASCII code as the pitch and a multiple of its absolute value as duration to create music from the data.

Related Examples

de es fr ja ko pt-br zh