Giter Club home page Giter Club logo

reactpianoplayer's Introduction

React Piano Player/Visualizer/Analyzer

PianoBlocksApp is a web application made for hobbists/enthusiasts of playing piano. This app provides a very simple way to visualize a persons piano playing, by reading his midi File.

Link to latest version https://react-piano-player-63qjc9wca-tzmcion.vercel.app/

Github version is not always up-to-date.

Last Update 5/05/2023

Description

What does this app do ?

I always wanted to create piano Tutorials like big youtubers, but I didn't want to pay for professional software, so I created it myself :). This app makes it super easy to create piano tutorials, it delivers some basic effects, basic sound, and if you can't record a midi file with softwares, you can record it there. Also with recording app gives you basic (super basic) sheet music. On top of that, app gives you plenty of ways to customize effects, colors, spped of playing. With this app you can learn and have fun.

Technologies used

  • React
  • Typescript
  • HTML/CSS
  • Sass (scss)
  • Redux (a little)
  • NPM library

How does the app work ?

app schema

  1. User input
    User Drags/chooses Midi file. He can configure options before that, or he can play demo file, then the Midi file is automatically imported
  2. Website proceses it
    Website saves the file to localstorage and it procesess it. It uses a "/helpers/getNoteEventsJSON.ts" file (function) to remove all unnecesarry events.
  3. Website creates canvas animation
    Canvas animation is created, frame rate is 60fps or 144 fps (depends on the screen type).

Installation

Just like every other github repo

git init
git pull https://github.com/tzmcion/ReactPianoPlayer
npm i 

Or git clone

git clone https://github.com/tzmcion/ReactPianoPlayer

Note !

  • In Official version you can find Donation page, but I deleted it here
  • Some dependencies in package.lock are not used
  • Please report every issue and bug
  • If you'd like to work on this app, I will explain how every file works to you with pleasure, just write :)

Resources

  • soundfont-player
  • midi-parser-js
  • react-youtube
  • rgb-hex
  • sass

License

MIT license

reactpianoplayer's People

Contributors

freestylexv avatar tzmcion avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

reactpianoplayer's Issues

Media keys support

Feature request

Why?

Media keys allow users to play or pause from their headphones, speakers or keyboard, even when piano blocks are not in the focus

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.