Transform prime numbers into captivating bass melodies.
Project details
Prime Bass is an innovative web app that turns prime numbers into music by generating and sequencing notes played on a bass guitar. With customizable settings for note duration and fret adjustments, users can explore the musicality of prime numbers in a unique way, enriching their auditory experience.
Prime Bass is a unique web application designed to transform prime numbers into music by utilizing a bass guitar. The application generates a selectable number of prime numbers and plays them in a musical sequence, allowing for an engaging experience that blends mathematics and music.
Explore the application and interact with it on the official demo page: Prime Bass Demo.
The idea behind Prime Bass stems from the concept of feeling prime numbers through music. This web app leverages the power of Tone.js to create a synthesizer, enabling users to hear the melodies formed by prime numbers.
The underlying principle of Prime Bass lies in the characteristics of prime numbers. Primes can only terminate with 1, 3, 7, or 9, which fits perfectly with the four strings of a bass guitar. The mapping strategy uses the modulo operation with the number of frets for a harmonizing effect, creating a unique auditory representation of mathematical concepts.
Contributions are welcomed! For guidelines and details, refer to the CONTRIBUTING.md file. Ideas for future improvements include:
Comments
12Fun to play with. A visual component to this would be cool
Hahaha this is amazing. Sounds like Terminator 1's soundtrack.
super Project !
ayo, this is cool