31

Here's a silly side project I've been working on just for fun:
https://soundofco.de/

It "programmatically" creates sound from code (or plain text) on GitHub. I wouldn't call it music, because it sounds kind of horrible almost all of the time :D It's very simple: The length of a line defines the note to be played. Really just a nerdy bit of fun.

Unfortunately I have absolutely zero knowledge in music theory and I have no idea how to make the resulting sounds more pleasant or even melodic. If you're interested in making this better or helping out with feedback, you can find the project at https://github.com/dneustadt/...

Also feel free to share if you find anything on GitHub that makes for some decent sounds :D (I doubt it)

Comments
  • 8
    It's php
    It makes noises
    It's 🤗.... omg I'm so going to fork this thing.
  • 4
    Waiting for the first repo to produce a rick roll with that.
  • 1
    Reminds me of the Pi Song.
  • 1
    Did you read Douglas Adams' Dirk Gently novels?
  • 0
    Really cool. May I ask which part of the code generates sounds?
  • 0
    I did on the same thing, but it generated "music" from text, and it couls also convert the same midi files back to text
  • 0
    This is actually amazing
  • 0
  • 0
    Love the explanation "it sounds horrible lost of the time"!

    Will definitely check that out! Thanks, mate!
  • 1
    haven't look into the app but here's my 2 cents...

    You should definitely parse the length of the line + spaces + syllabe per words to create a rhythm structure and use some kind of syllabe parsing to set the different pitch of the notes (like, map a degree of the scale to each syllabe and let the user change the scale). Next thing you know you'll be rendering a musically structured interpretation of poems and plays. Probably not the fist project doing something like that but it's still a neat idea.
  • 0
    I now have a reason to try and learn PHP beyond "it's useful." Thank you, when I get some time in the next week, I may try and fork it.
  • 1
    GNU license sounds good.

    https://soundofco.de//...
  • 1
    @rantsauce Had to dig a bit, but I think I found it
    Line 1770 and 1798 of https://github.com/dneustadt/...
Add Comment