- 12-pad drum sampler with 4x3 grid (expandable by 4) - Velocity layers with round-robin (Salamander-style filename parsing) - Rhythm Engine-style GUI: pad grid (left), sample editor (right top), FX panel (right bottom), master panel (bottom) - Waveform thumbnails on pads + large waveform in sample editor - ADSR envelope, pitch, pan per pad - Drag & drop sample/folder loading - Kit save/load (.drumkit XML presets) - Load Folder with smart name matching (kick, snare, hihat, etc.) - Choke groups, one-shot/polyphonic mode - Dark modern LookAndFeel with neon accent colors - Built with JUCE framework, CMake, MSVC 2022 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
21 sor
800 B
C++
21 sor
800 B
C++
#pragma once
|
|
#include <JuceHeader.h>
|
|
|
|
class InstaDrumsLookAndFeel : public juce::LookAndFeel_V4
|
|
{
|
|
public:
|
|
// Colour palette
|
|
static inline const juce::Colour bgDark { 0xff1a1a2e };
|
|
static inline const juce::Colour bgMedium { 0xff16213e };
|
|
static inline const juce::Colour bgLight { 0xff0f3460 };
|
|
static inline const juce::Colour textPrimary { 0xffe0e0e0 };
|
|
static inline const juce::Colour textSecondary { 0xff888899 };
|
|
static inline const juce::Colour accent { 0xff00ff88 };
|
|
|
|
InstaDrumsLookAndFeel();
|
|
|
|
void drawRotarySlider (juce::Graphics& g, int x, int y, int width, int height,
|
|
float sliderPosProportional, float rotaryStartAngle,
|
|
float rotaryEndAngle, juce::Slider& slider) override;
|
|
};
|