A website that turns twitch-chat into music!
http://jamesskripchuk.com/twitch-music/
Make sure to input a channel name at the top and press enter!
(It's set to a default channel which is probably not streaming so I'd recommend picking one of the popular ones
For example, let's say you have the channel https://www.twitch.tv/saltybet
You would type in the top "saltybet" and then press enter.
The process works like this
- Get comments from Twitch by using their API
- Analyze the sentiment of the message (aka is it a positive message or a negative message?) using a sentiment analyzer
- Play a note when a new message comes in (Every so often a bass note is played in addition to the melody note)
- Add that to an average sentiment over 100 messages
- If the overall sentiment is positive, the notes are mapped to a major pentatonic scale
- If the overall sentiment is negative, the notes are mapped to a minor pentatonic scale
So the music will ebb and flow based on how well the chat is receiving the action!
(When the sentiment is crossing between positive and negative a lot, it gives some weird/dissonant modal mixture so expect that)