Code Monkey home page Code Monkey logo

rhythm-master's Introduction

The project is a music game named "rhyme master" which can be operated on Xilinx.

Platform

EDA tool: ise design suite 14.7 demoboard model: Spartan6 XC6LX16-CS324 FPGA model: Xilinx

Peripherals

buzzer


*** there is a video display "presentation.mp4" that you can watch first! ***


Introductions

  • Place the demoboard horizontally, the rightmost line is the tapping line. With the playing of music, the light key well move toward you (to right) until the tapping line. While they are just on the tapping line, press the button of demoboard.
  • the pathway is like this
-----------------
|       |       |       |key is moving on the screen in this direction
|d      |       |a      ↓
-----------------       ↓
   b         c          ↓
-----------------       ↓
|       |       |       ↓
|       |       |       ↓
-----------------       ↓
-----------------       ↓
|       |       |       ↓
|       |       |       ↓
-----------------       ↓
-----------------       ↓
|       |       |       ↓
|       |       |       ↓
-----------------   <--tapping line
  • there are four pathways. On "a" and "d" there are only long keys which means you should press the button for longer. On "b" and "c" you should press for shorter. And there are broken line keys like "L" which means you should press "d" and "b" at the same time while they are on the tapping line.
  • there are three qualities for your pressing. If the distance between the time key's appearing on tapping line and your pressing is not more than 0.1s, your time prediction and pressing is "perfect" which praise you 50 marks. The distance which is more than 0.1s but not more than 3 timeunits is "great" which praise you 25 marks. If you press later than the apprearing time then you get a "miss". You can end pressing a long key ahead of time. If that the score you get is calculated according to the time ratio you press.
  • Your current pressing ranking is presented real-time on the first three led lights. Perfect means 3 lights on, great means 2 and miss means one.
  • Your whole score is presented real-time on the last five led lights. Initially you have 0 score and no lights on. If you get not more than 100 scores you have one on, 300 scores you will have two, 700 scores you will have 4, and 1000 means 4, 2000 means 5 which is difficult because the whole score is not more than 2500.
  • there are 4 switches for ajusting modes. Turn on the Switch 0 means low speed, Switch 1 means medium, Switch 2 means fast. Other switch situation means "horrible"! The function of last switch is pause. The music is suspended as well as the key. You can continue by reswitch the last switch.

rhythm-master's People

Watchers

 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.