Skip to content
This repository was archived by the owner on Nov 25, 2020. It is now read-only.

shawn524/git-synth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitSynth

Turns Github commit messages into music.

  • Built on Rails(4.2).
  • Hits the Github API using Octokit.
  • Pulls all commit messages for specified repo.
  • Turns each character into musical note.
  • Passes those notes through a Timbre.js synth.
  • Uses Semantic UI for front-end.

Musical note conversions:

  • a4 = note & timing
  • <> = octave changes
  • r = rest
  • & = tie
alpha = {
      'a' => 'a4',
      'h' => '<a2>',
      'o' => '<<a8.5>>',
      'w' => '<<<a8>>>',
      'b' => 'b4',
      'i' => '<b2>',
      'p' => '<<b8.5>>',
      'x' => '<<<b8>>>',
      'c' => 'c4',
      'j' => '<c2>',
      'q' => '<<c8.5>>',
      'y' => '<<<c8>>>',
      'd' => 'd4',
      'k' => '<d2>',
      's' => '<<d8.5>>',
      'z' => '<<<d8>>>',
      'e' => 'e4',
      'l' => '<e2>',
      't' => '<<e8.5>>',
      '.' => '<<<e8>>>',
      'f' => 'f4',
      'm' => '<f2>',
      'u' => '<<f8.5>>',
      ','  => '<<<f8>>>',
      'g' => 'g4',
      'n' => '<g2>',
      'v' => '<<g8.5>>',
      '!'  => '<<<g8>>>',
      ' ' => '&',
      '?'  => '|',
      'r'  =>  'r'
    }

About

Turn commit messages into music

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published