Git Product home page Git Product logo

prog-gen's Introduction

prog-gen

prog-gen is an advanced music chord progression generator

The user can configure the bass octave of the chords, octave range, number of notes, instrument, type of chord progression, and key. The chord is created such that each note will be given a random octave inside the specified range, and extra notes (ex: if user specified 5 notes for a major chord which only requires 3 notes) will be randomly chosen from the specified chord quality as well.

External libs

prog-gen requires the external lib sfml: https://github.com/SFML/SFML

Be sure to include the sfml library for each object file compilation, and link sfml libs and in the creation of the final executable, as explained in https://www.sfml-dev.org/tutorials/2.5/start-linux.php

Depending on where sfml is installed to, using export LD_LIBRARY_PATH=<sfml-install-path>/lib && ./sfml-app might be necessary as well (where sfml-app is the name of your program)

Chords

Recipe for FakeChord is as such:

FakeChord(int bassOct, int octRange, int numNotes, Key key, RN rn, Mode mode, Instrument instrument);

Progressions

Recipe for Progression is as such:

Progression(int bassOct, int octRange, int notesPerChord, Key key, std::vector<RN> rns, Instrument instrument);

Extra notes

Although there are many types of roman numerals and modes in recipes.h, not all of them have been implemented as of yet. So far only the standard 7 roman numerals have been implemented, along with the standard 7 church modes. More instruments are expected to be implemented in the future as well, although currently there only exists GrandPiano

prog-gen's People

Watchers

Andrew Holt 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.