Skip to content

Chopher composes your files into beautiful music, in case you are the type of person who wanted to do that. Gopher Gala 2016. entry.

Notifications You must be signed in to change notification settings

TheOrioli/chopher

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chopher (Chopin + Gopher) Build Status

Chopher is a for fun experimental project that hashes files as music.

For a given file Chopher will go through it's bytes and create a song. The first 16 bytes of a files determine the scale and the key note of the song, and the rest are used to determine the notes from the scale.

Chopher automatically determines whether a note can be part of a chord that fits the current scale, or if it should be a standalone note.

To generate the sound the Karsplus-Strong algorithm is used, but I think the implementation can be much faster. Due to the speed of the implementation the songs are limited to 200 notes.

If uploading files to random servers is not your thing, you can checkout main.wav in this folder which is the sound produced by uploading main.go.

About

Chopher composes your files into beautiful music, in case you are the type of person who wanted to do that. Gopher Gala 2016. entry.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 77.9%
  • HTML 19.3%
  • CSS 2.8%