GithubHelp home page GithubHelp logo

ryanpburnett / chord-progression Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 79 KB

A fun project I've been working on! This site generates chord progressions, 12-tone rows, and single row rhythm matrices. Future iterations of this project will feature a play button with dynamically generated MIDI sound.

JavaScript 36.91% CSS 14.53% HTML 48.56%

chord-progression's Introduction

Random musical element generator

Description

Licence

Installation

Usage

Dependencies

Contributing

GitHub Link

Link

https://ryanpburnett.github.io/chord-progression/

Description

This project generates random chord progressions, tone rows, and rhythm matrices.

License

GNU General Public Licence

Installation

N/A

Usage

Select which type of generator you want from the front page, and you're ready to go!

function generateProg() {
    document.querySelector("#chord-prog").innerText = ""

    for (i = 0; i < numOfChords.value; i++) {
        const prog = document.createElement("p")
        prog.innerText = 
        pitchClass[Math.floor(Math.random() * pitchClass.length)] +
        chordType[Math.floor(Math.random() * chordType.length)] 
        
        document.getElementById("chord-prog").appendChild(prog)
    }
    
    document.getElementById("chord-prog").style.display = "block";

}

Title

Dependencies

N/A

Contributing

Email Ryan @ [email protected]

GitHub Link

https://github.com/ryanpburnett

The repo for this readme generator can be found on RPB's Github page.

chord-progression's People

Contributors

ryanpburnett avatar

Stargazers

 avatar

Watchers

 avatar

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.