Giter Club home page Giter Club logo

react-ktv's Introduction

React Home Karaoke System

This is a React home Karaoke system that you can remote control your song playlist on your desktop or mobile device using your browser.

React Home Karaoke System Preview

Features

  • Using socket.io to connect between server and device
  • Update playlist in realtime on your devices
  • Easy to build up the song library data
  • Display all the artists in an organized category system
  • Easy to filter the category and artist name
  • Display played history list

Setup

Initialize

  • git clone this repo
  • npm install

Setup Song Folder

  • The following image is an example to organize your video files into a designed folder system. song/artistType/artistName/language/artistName-songName.mp4
  • You can also add artist profile picture in the artist folder, or system will use default image.
  • /song_temp is the reference folder to organize your video files.

Song Folder Organize System

Video File Format

This web Karaoke system requires to use MP4 file format with vocal on right audio channel and no vocal on left audio channel to operate properly.

Building Song Library Data

After organize your video folders, you can start building your song library data.

  • run npm buildSongData.js
  • This will create songArtists.json and songData.json

Start Karaoke

  • npm start
  • The terminal will display your server ip address and port number (default port 8888)
  • Your home address will be your remote controller that you can access from your desktop or mobile device.
  • ipAddress/screen directory will be your Karaoke screen panel that you can connect your computer to your TV screen for better experience.

How to use

Main Navigation Panel

  • Artist - display all the songs in your song library
  • Playlist - display the songs that is added to playlist
  • History - display all the played songs to allow user to add song back to playlist
  • Search - display allows user to search song by entering the name of artist or the name of song

Main Navigation Panel

Add Song to Playlist

Slide to right to add song to playlist

Add Song to Playlist

Remove Song to Playlist

Slide to left to remove the song from playlist

Remove Song to Playlist

Selected Song to Play Next

Slide to right to make selected song to play next when the song is already in the playlist

Selected Song to Play Next

Main Play Control Panel

  • Next - play next song on the playlist
  • Pause - pause the video
  • Replay - replay the current video again
  • Vocal On/Off - turn on/off the vocal
  • Pitch Up - increase the pitch of the video
  • Pitch Down - decrease the ptich of the video
  • Pitch Reset - reset the pitch back to default

Main Play Control Panel

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.