Giter Site home page Giter Site logo

contributions-chiptune's Introduction

contributions-chiptune

What does your contributions graph sound like? Find out with this script! It works iterating through the contributions graph one week at a time and assigning each day of the week a frequency based on its color value. The frequencies for the week are then overlayed and played by a Web Audio API oscillator, creating a neat chiptune.

##Hey there! Check out these cool hacks straight from the EmpireJS open source night! Pat Needham - It sweeps, not beeps. Sounds great on sparse graphs

##How to use

  1. Navigate to your git profile page and open up the dev console with f12
  2. Paste makenoise.min.js (or non-min, if you're brave) into the console
  3. Lower your volume a lil' bit
  4. Press enter if you haven't already

You can also change up the charasteristics of the chiptune via its function arguments found on the last line.

(audioContext, freq, delay, waveform)

  • audioContext: Actually, you can't change this one
  • freq: The fundamental frequency. Higher number = higher pitch
  • delay: The time in ms between notes. Up is faster
  • waveform: The type of waveform oscillators generate. Proper values are sine, square, sawtooth, and triangle

contributions-chiptune's People

Contributors

basarat avatar johnbartos avatar patneedham avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

contributions-chiptune's Issues

Save it

Hi!

Beautiful idea!

It is possible to save it?

<3

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.