Enter a sequence of figures and listen.
{{ $parent.$parent.getPrimeNumberForCell(cell.row, cell.col) }}  
How is a melody generated from numbers?

The goal is to create a melody from the prime decomposition of the number.

To make it short, the melody lasts n beats (between 1 and 32), so the given number is decomposed in n numbers of equals length. Each number is decomposed in prime factors. Each cell represents a prime number. The row on which the prime factor is located determines which note will be played (from D5 to D6). The melody is generated by playing one beat (column) after the other.

Here are some numbers you can try for yourself :
- 190017030003000017000500 (with 12 beats)
- 07030711071117050205021902190700 (with 16 beats)
- 191300071300190019001700130000050300 (with 18 beats)
Toggle Grid
Try About GitHub