A web-based sample machine for mapping YouTube video clips to keyboard triggers
Transform any YouTube video into a playable instrument! Map video clips to keys, add background music, and create epic meme mashups with real-time visual feedback and audio visualization.
- Click any key button to assign it
- Press a letter key (A-Z) to map it
- Paste a YouTube URL
- Use the video preview to find your moment
- Click "Set Current Time" to capture the timestamp
- Repeat for more clips
- Click "Upload" next to the background track field
- Select an audio file (MP3, WAV, etc.)
- Your music will loop in the background during performance
- Click "Play" to enter performance mode
- Press mapped keys to trigger video clips
- Use SPACEBAR to start/stop background music
- Watch the real-time audio visualization
- Hold keys to keep videos playing
| Action | Method |
|---|---|
| Map key to clip | Click key button → Press letter |
| Add YouTube URL | Paste URL in text field |
| Set timestamp | Play preview → Click "Set Current Time" |
| Remove clip | Click red ✕ button |
| Toggle preview | Click ▲/▼ button |
| Upload audio | Click "Upload" button |
| Control | Action |
|---|---|
| A-Z Keys | Trigger mapped video clips |
| SPACEBAR | Start/stop background music |
| Hold Key | Keep video playing |
| Release Key | Stop video |
- Modern web browser (Chrome, Firefox, Safari, Edge)
- JavaScript enabled
- LocalStorage support
- Audio/video permissions
- Video: YouTube URLs only
- Audio: MP3, WAV, OGG, M4A (up to 50MB)
- Storage: Automatic browser storage (5MB+ recommended)
Want to make the meme machine even more awesome? Contributions welcome!
- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Open a Pull Request
MIT License - feel free to use, modify, and distribute!
- GitHub: github.com/DiogoNeves/meme-machine
- YouTube: @DiogoNeves
- Creator: Diogo Neves
Built with ❤️ for the meme community

