Giter Club home page Giter Club logo

online_amt_mod's Introduction

Real-time Automatic Piano Transcription System

Screen shot This is the code for our Real-time Automatic Piano Transcription System, which was presented in SK Telecom Tech Gallery in Pangyo, Korea. The documentation is currently on working.

The system is based on the AMT model based on Polyphonic Piano Transcription Using Autoregressive Multi-State Note Model (ISMIR 2020). For the detailed explanation on the system implementation, please refer ISMIR 2020 LBD

Requirements

  • Flask==1.1.2
  • scipy==1.4.1
  • numpy==1.16.2
  • PyAudio==0.2.11
  • librosa==0.7.2
  • matplotlib==3.1.1
  • torch==1.6.0
  • rtmidi==2.3.4
  • python_rtmidi==1.1.2
  • numba==0.48

Pre-trained Model

The pre-trained model for AMT is uploaded with Git-LFS. If you are not familiar with Git-LFS, you can download it from here.

The model was trained with MAESTRO v.2.0.0 based on the code by Jongwook Kim

Usage

Caution

If you run the code on a laptop while using a laptop microphone input, the fan noise of laptop will cause severe degradation of AMT performance. We recommend you to use an external microphone, or internal audio such as Soundflower.

With a web browser visualization

$ python run_on_web.py

Then, open http://127.0.0.1:5000/ with your browser. After the page is opened, the AMT model will automatically run until a keyboard interrupt.

With a matplotlib visualization

$ python run_on_plt.py

online_amt_mod's People

Contributors

jdasam avatar

Stargazers

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