GithubHelp home page GithubHelp logo

talkwithkeyboard / bpmd Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 1.0 264 KB

Play music 🎵 and input some content, the program will show a chart about the bpm of the music and the frequency of the keypress.(To my girl)

Shell 0.62% Python 99.38%

bpmd's Introduction

BPMD

Environment

  • Python 3.9
  • MacOS Big Sur 11.4
  • ffmpeg 4.4
  • fluidsynth 2.2.2

First project: BPM Detention

  1. Add a song to the project folder, name it to 'song'.

  2. Execute some commands:

$ cd bpmd
$ python -m venv venv
$ source venv/bin/activate
$ pip install -r requirements.txt
$ sudo python main.py
  1. Click on "ESC" to end the process and get the chart like this.

example

Second project: Write A Song

  1. Add a csv file to the project folder, name it to 'data.csv', it should adhere to the following format:
Date,Starting Time,Duration
2021.4.4,17:08,68
2021.4.5,17:40,93
2021.4.6,14:41,133
  1. Download sound style file to the project folder, click this URL.

  2. Execute some commands:

$ cd bpmd
$ python make_song.py
  1. Get a new song, play it and have fun!

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.