Coder Social home page Coder Social logo

mellotron's Introduction

Mellotron

Application

Mellotron

Author

BSFEMA (https://github.com/BSFEMA)

Purpose

I wanted to see if I could make a Mellotron using pygame that would then work on Linux and Windows.

Prerequisites:

You need to have the pygame library installed: Please see the pygame website for how to install.

Installation

  • Download "Mellotron.py" file and the "SourceCodePro-Bold.ttf" files.
  • Create a "Mellotron Sound Files" sub folder.
  • Add folders that contain 35 sound files to the "Mellotron Sound Files" folder.

Command Line Parameters

  • None

Modifiable settings

  • You can change "default_volume" from "60" to whatever volume you want to start off with.
  • You can also change the "SourceCodePro-Bold.ttf" font for whatever font would prefer.
  • Note: pygame can play .wav, .mp3, .ogg, .flac

Recommendations:

  • There are Mellotron sound packs that you can "find". I recommend renaming the files like this (or similar) so that they sort better:
    • G2.wav -> 01-2-G.wav
    • G#2.wav -> 02-2-G#.wav
    • A2.wav -> 03-2-A.wav
    • A#2.wav -> 04-2-A#.wav
    • B2.wav -> 05-2-B.wav
    • C3.wav -> 06-3-C.wav
    • C#3.wav -> 07-3-C#.wav
    • D3.wav -> 08-3-D.wav
    • D#3.wav -> 09-3-D#.wav
    • E3.wav -> 10-3-E.wav
    • F3.wav -> 11-3-F.wav
    • F#3.wav -> 12-3-F#.wav
    • G3.wav -> 13-3-G.wav
    • G#3.wav -> 14-3-G#.wav
    • A3.wav -> 15-3-A.wav
    • A#3.wav -> 16-3-A#.wav
    • B3.wav -> 17-3-B.wav
    • C4.wav -> 18-4-C.wav
    • C#4.wav -> 19-4-C#.wav
    • D4.wav -> 20-4-D.wav
    • D#4.wav -> 21-4-D#.wav
    • E4.wav -> 22-4-E.wav
    • F4.wav -> 23-4-F.wav
    • F#4.wav -> 24-4-F#.wav
    • G4.wav -> 25-4-G.wav
    • G#4.wav -> 26-4-G#.wav
    • A4.wav -> 27-4-A.wav
    • A#4.wav -> 28-4-A#.wav
    • B4.wav -> 29-4-B.wav
    • C5.wav -> 30-5-C.wav
    • C#5.wav -> 31-5-C#.wav
    • D5.wav -> 32-5-D.wav
    • D#5.wav -> 33-5-D#.wav
    • E5.wav -> 34-5-E.wav
    • F5.wav -> 35-5-F.wav

Screenshots

screenshot

License

MIT. See the License file.

mellotron's People

Contributors

bsfema avatar

Watchers

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