8000 GitHub - enw/rainbow-beat-maker
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

enw/rainbow-beat-maker

Repository files navigation

Rainbow Beat Maker

Next.js TypeScript React Tailwind CSS License

A web-based drum machine/beat maker built with Next.js and Web Audio API. Features a 4x4 grid of drum pads that can be triggered via mouse clicks or keyboard shortcuts. The rainbow color scheme was inspired by Noelle's design suggestions.

Rainbow Beat Maker RBM Sketches

Features

  • 16 drum pads with unique sounds
  • Keyboard shortcuts for quick access (displayed on pads)
  • Visual feedback when pads are triggered
  • Rainbow color scheme for easy pad identification
  • Toggle keyboard shortcut display with 'K' key
  • BPM control
  • Play/Stop functionality
  • New layout with timeline
  • Recording functionality
  • Pattern sequencer

Keyboard Layout

1 2 3 4
Q W E R
A S D F
Z X C V

Getting Started

  1. Clone the repository
  2. Install dependencies:
npm install
# or
yarn install
  1. Add drum samples: Create a public/samples directory and add the following .wav files:

    • kick.wav
    • snare.wav
    • clap.wav
    • hihat.wav
    • tom1.wav
    • tom2.wav
    • cymbal.wav
    • perc.wav
    • kick2.wav
    • snare2.wav
    • clap2.wav
    • hihat2.wav
    • tom3.wav
    • tom4.wav
    • cymbal2.wav
    • perc2.wav

    (Note: Sample population script coming soon!)

  2. Run the development server:

npm run dev
# or
yarn dev
  1. Open http://localhost:3000 in your browser

Technologies Used

  • Next.js 14
  • React
  • TypeScript
  • Tailwind CSS
  • Web Audio API

Coming Soon

  • Script to populate samples
  • Sound customization
  • Save/load patterns
  • Share beats with others
  • Sample libraries
  • Save/load
  • Arrangement view

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0