ComfyUI_DrumPad
Advanced drum machine for ComfyUI featuring a 64-step sequencer, custom sample support, and retro hardware aesthetics.
Nodes (1)
ComfyUI DrumPad
A drum pad node for ComfyUI with configurable 16/64 pad layouts."
https://github.com/user-attachments/assets/faed8461-bc53-4ed5-9e48-7020ee22a002
Features
- Configurable Grid: Switch between 4x4 (16 pads) and 8x8 (64 pads) layouts.
- Sequencer: Built-in sequencer supporting up to 64 steps.
- Parametric Controls: Pitch, Swing, and individual/master Volume adjustments.
- Custom Sounds: Support for loading custom audio files (.wav, .mp3, .ogg, .flac).
- Persistence: Kit configurations and assignments are saved automatically.
- Audio Output: Outputs audio tensors compatible with standard ComfyUI audio nodes.
Sound Assets
Default sounds are sourced from the 90s MPC Sample Pack.
Adding Custom Sounds
1. Via UI (Sound Picker)
- Select a pad.
- Click LOAD SOUND in the right panel.
- Choose either:
- UPLOAD FILE: Select a local audio file.
- Sound Library: Browse available sounds in the
sounds/directory.
Uploaded files are stored in ComfyUI_DrumPad/user_sounds/.
2. Manual Installation
Place audio files directly into the library structure:
ComfyUI_DrumPad/
└── sounds/
├── Kick/
├── Snare/
├── Hats/
├── Perc/
├── Bass/
└── Accents & FX/
Supported formats: .wav, .mp3, .ogg, .flac, .m4a, .aac
After adding files, restart ComfyUI or reload the kit to see new sounds.
Method 3: Add New Kit (Advanced)
- Create a new folder under
sounds/with your kit name (e.g.,sounds/My Kit/) - Add pad sound files named
Kick 1.wav,Snare 1.wav, etc. - Add kit definition in
config_manager.py→DEFAULT_KITSdictionary
Controls
| Control | Function | |---------|----------| | Pads | Trigger sound / Select pad for editing | | PADS (4x4 / 8x8) | Toggle between 16-pad and 64-pad grid layouts | | Sequencer Steps | Toggle notes on/off | | BPM | Adjust playback tempo (drag to change) | | PITCH | Adjust playback speed/pitch | | SWING | Apply swing timing to the sequencer | | Volume Faders | Adjust selected pad and master volume | | PLAY / REC | Transport controls for the sequencer | | KIT | Cycle through available kits |
Keyboard Shortcuts
Note: Mouse must be over the node.
Q W E R: Pads 1-4A S D F: Pads 5-8Z X C V: Pads 9-121 2 3 4: Pads 13-16
Outputs
- audio: Audio tensor output.
- file_path: Path to the primary sound file (if applicable).
Connect to Save Audio or Preview Audio nodes to listen to the result.
https://github.com/user-attachments/assets/3d92a116-b8dd-41c8-8a99-50873fa7c1ec
Installation
- Copy the
ComfyUI_DrumPadfolder to your ComfyUIcustom_nodesdirectory. - Restart ComfyUI.
- The node is available under the audio category.
License
MIT License.