Inspiration

As students, we find ourselves memorizing a lot of information. We find that it's really easy to learn a new song, and we felt that it was because we enjoy listening to music and singing along. We thought it would be a good idea to create a web app that converts text/information you would usually put on flashcards to memorize into a catchy song/map it to music.

What it does

Converts text to speech (as mp3 file) and then maps a tone to the word.

How we built it

We used javascript, React and HTML/CSS. We used a tool called soundoftext to convert text to an mp3 file and then used tone.js to map notes to words. We parsed user input into an array of strings, mapped each string to a random note, and then played it back.

Challenges we ran into

We found an API online that converted text directly to music but weren't able to get access to it. We had trouble using the tone.js library to play audio.

Accomplishments that we're proud of

Using javascript and React, getting audio to play, being able to use tone.js.

What we learned

We learned about some javascript concepts like promises, when to use var/let/const, and how to use tone.js. We also learned about APIs and knowing to find good online resources (for example, we were trying to use Google's text to speech service but found the documentation confusing so we went on to using soundoftext).

What's next for Remelody

Making it more song-like and adding the ability to save songs.

Built With

Share this project:

Updates