Giter VIP home page Giter VIP logo

pentaseq's Introduction

Pentaseq

Pentatonic melody writer/player. Final project for Dr. Schuyler Quackenbush's C Programming for Music Technology class.

Comes with several pre-written melodies which of course can be deleted if desired.

To run:

./build.sh, ./pentaseq.

To use:

How to write a melody:

  • Name: Enter a name that will be valid as a filename (the program will automatically generate a .txt file with this name).
  • Tempo: This is in Beats Per Minute (BPM). I recommend using tempos below 100 BPM. Your melody will be one bar of 16th notes, but you can also cut the desired tempo in half and consider it two bars of 8th notes, or again to make four bars of quarter notes.
  • Scale: 1 for major pentatonic, 2 for minor pentatonic. If you choose any other value your melody will not work.
  • Starting note: This is a MIDI number. 48 is middle C for example.

Then you will see a grid of Xs which you can maneuver with the arrow keys. The top row is the root note and the following rows are the following notes of the pentatonic scale. The bottom row is an octave above the root. Press F1 to save your melody, r to go to the play melody window, or q to quit.

Playing melodies is straightforward. Just select a melody with the arrow keys and press enter to play it. Press r to start recording output to a WAV file. Press q to quit the program and stop recording. The WAV file will be called out.wav and will be overwritten unless you rename it before recording again.

pentaseq's People

Stargazers

 avatar  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.