Skip to content

A simple tool to convert waveforms(16-bit int.) into MIDI files using Python and STFT(Matplotlib)

License

Notifications You must be signed in to change notification settings

Mewnojs/SingingPiano

 
 

Repository files navigation

SingingPiano

中文版

Tutorials

Supported Platform

  • Windows 10 (64 bit version)
  • Linux (64 bit version) [UNCHECKED]
  • Android [PARTIAL]
  • OS X [UNCHECKED]

Installation

  1. Obtain Python;
  2. Use pip install -r requirements.txt to install all the requirements for this tool;
  3. For non-windows users: Manually build the native module, here is the command: (under the source directory)python3 setup.py build, and put the binary module file into the libs directory;
  4. Run SingingpianoQt.pyw and enjoy!

Troubleshooting

Unable to open "SingingpianoQt.pyw"

  • Make sure that you have done the former installation steps successfully;
  • Use QTDEBUG.BAT(windows user) or python3 SingingpianoQt.pyw(in "terminal" window) to start the tool, if any error occured, come up with a new issue here.

Playing generated MIDI files

  • PFA is recommended as it provides a simple choice to customize track colors;
  • A MIDI Driver such as OmniMIDI is needed in order to apply the specified soundfont before playing;

Suggested Track Color: (Color #4 is a color close to the background color the most)

Track # Color
0 Color #4
1 Color #3
2 Color #2
3 Color #1
4 Color #1
5 Color #2
6 Color #3
7 Color #4

See also PFA Configuration File.

About

A simple tool to convert waveforms(16-bit int.) into MIDI files using Python and STFT(Matplotlib)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • QML 76.1%
  • Python 20.4%
  • C++ 3.4%
  • Batchfile 0.1%