Stockato: Making .WAVs
Find us at table 48!
Stocks to Sounds
No stock is safe from musicalization! We wrote Stockato, a program that creates melodies derived from the general trend of a user-inputted ticker. Once paired with our sick beats, any stock market chart becomes a work of art. What's more, Stackato is hosted by Microsoft Azure, which means that the power to songify the stock market is at your fingertips anytime, anywhere.
How It Works
A python program retrieves stock data and stores it in a text file using Yahoo's finance API. Then, with Java's jfugue library, a Java program translates this data into a melody. Each trading day is a note whose pitch is determined by the rise and fall of a stock's value. The higher the volume of trade, the longer the note is held. The result is a rhythmically variant, dissonant at times melody that we incorporate into three different music styles: rock, electronic, and pop.
Stockato is accessed through www.squidinc.xyz, and is hosted by Microsoft Azure. Users are prompted to input a company ticker symbol (ie AAPL, MSFT, etc.) and a music genre, after which Stockato outputs the song generated by their choices. A graph of the stock ticker is also offered for a visual interpretation of what the listener is hearing.
We had a lot of fun building this project, and we hope you have a lot of fun using it!