GithubHelp home page GithubHelp logo

9skrip / fmprog Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jpcima/fmprog

0.0 0.0 0.0 357 KB

Automatic FM patch programmer with Genetic Algorithm

License: Boost Software License 1.0

C++ 29.99% C 69.40% Objective-C 0.41% CMake 0.20%

fmprog's Introduction

fmprog

Automatic FM patch programmer with Genetic Algorithm

This generates a FM instrument for OPN2/OPNA to match a reference sound file.

How to build

You will need:

  • build-essential
  • git
  • cmake
  • libaubio-dev
  • qtbase5-dev
  • qtmultimedia5-dev
  • libqt5multimedia5-plugins

Download sources

git clone --recursive https://github.com/jpcima/fmprog.git

Compile the program

mkdir fmprog/build
cd fmprog/build
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
cmake --build .

The program FMProg will be found inside the build folder.

How to use

  1. Load a sound file.

Click Load and select a reference sound file. Ideally this file is a clean recording of a playing note, without silence at the beginning nor at the end. You can try examples/Marimba.wav.

The program guesses the pitch and displays it in the Pitch box. You can change this value.

  1. Run the algorithm

You can choose the targeted FM chip in the FM clock box.

Then, click Start. As it computes, the Gen number will increase. It can be suspended at any moment by clicking Pause,

  1. Save the result

You may hear the current result by clicking Play. When it is satisfying enough, record the instrument by clicking Save.

License information

The source code of this program is licensed under the Boost Software License 1.0.

This mention excludes the following third-party items, which are provided under a different license, as indicated in their file headers.

  • sources/chips/
  • sources/file-formats/
  • sources/synth/

References

  • YEE-KING, Matthew et ROTH, Martin. Synthbot: an Unsupervised Software synthesizer Programmer. In : ICMC. 2008.

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.