| configure_drum_controls | Configure global pitch and envelope controls for each drum type. This tool will: Add per-drum pitch controls with customizable rangesConfigure ADSR envelope settings for natural decay controlGenerate proper XML structure for global drum controls
 Error Handling: Validates pitch range values (min/max must be valid numbers)Ensures envelope times are positive valuesVerifies curve values are within -100 to 100 rangeReturns detailed error messages for invalid configurations
 Success Response:
Returns XML structure containing: Global controls for each drum typeMIDI CC mappings for real-time controlProperly formatted parameter bindings
 | 
| configure_round_robin | Configure round robin sample playback for a set of samples. This tool will: Validate sequence positionsVerify sample files existGenerate proper XML structure for round robin playback
 Error Handling: Checks if sample files exist at specified pathsValidates sequence positions are unique and sequentialEnsures mode is one of: round_robin, random, true_random, alwaysReturns specific error messages for missing files or invalid sequences
 Success Response:
Returns XML structure with: | 
| analyze_wav_samples | Analyze WAV files to detect common issues in drum kit samples. This tool checks for: Non-standard WAV headers that may cause playback issuesMetadata inconsistencies that could affect multi-mic setupsSample rate and bit depth compatibilityChannel configuration issuesFile size and format validation
 Error Handling: Reports detailed header format issuesIdentifies metadata inconsistencies between related samplesFlags potential playback compatibility problemsReturns specific error messages for each issue type
 Success Response:
Returns detailed analysis including: IMPORTANT: Always use absolute paths (e.g., 'C:/Users/username/Documents/Samples/kick.wav') rather than relative paths. | 
| configure_mic_routing | Configure multi-mic routing with MIDI controls for drum samples. This tool will: Set up individual volume controls for each mic position (close, OH L/R, room L/R)Route each mic to its own auxiliary output for DAW mixingConfigure MIDI CC mappings for mic volumesGenerate proper XML structure for DecentSampler
 Error Handling: Validates mic position assignmentsChecks for duplicate MIDI CC assignmentsEnsures valid output routing targetsVerifies bus indices are unique and validReturns specific errors for routing conflicts
 Success Response:
Returns XML structure containing: | 
| generate_drum_groups | Generate DecentSampler  XML for drum kits. This tool supports two configuration types: BasicDrumKitConfig: For simple presets with minimal featuresNo UI controls, effects, or routingOnly supports basic sample mapping and optional velocity layersRecommended for straightforward drum kits
 AdvancedDrumKitConfig: For complex setups combining multiple featuresSupports UI controls, effects, and routingIntegrates with other tools (configure_drum_controls, configure_mic_routing, etc.)Use when you need advanced features like round robin or multi-mic setups
 Best Practices: IMPORTANT: Always use absolute paths (e.g., 'C:/Users/username/Documents/Samples/kick.wav')Group all samples for a drum piece into a single groupWhen using multiple mic positions, include them all in the same groupUse velocity layers within a group to control dynamics
 Error Handling: Validates all sample paths existChecks for valid MIDI note numbersEnsures velocity layers don't overlapVerifies muting group configurationsReturns specific errors for any invalid settings
 Example Configurations: Basic Configuration (simple drum kit):
{
"globalSettings": {
"velocityLayers": [
{ "low": 1, "high": 42, "name": "soft" },
{ "low": 43, "high": 85, "name": "medium" },
{ "low": 86, "high": 127, "name": "hard" }
]
},
"drumPieces": [{
"name": "Kick",
"rootNote": 36,
"samples": [
{"path": "C:/Samples/Kick_Soft.wav"},
{"path": "C:/Samples/Kick_Medium.wav"},
{"path": "C:/Samples/Kick_Hard.wav"}
]
}]
}Advanced Configuration (multi-mic kit with controls):
{
"globalSettings": {
"velocityLayers": [
{ "low": 1, "high": 127, "name": "full" }
],
"drumControls": {
"kick": {
"pitch": { "default": 0, "min": -12, "max": 12 },
"envelope": {
"attack": 0.001,
"decay": 0.5,
"sustain": 0,
"release": 0.1
}
}
},
"micBuses": [
{
"name": "Close Mic",
"outputTarget": "MAIN_OUTPUT",
"volume": { "default": 0, "midiCC": 20 }
}
]
},
"drumPieces": [{
"name": "Kick",
"rootNote": 36,
"samples": [
{
"path": "C:/Samples/Kick_Close.wav",
"micConfig": {
"position": "close",
"busIndex": 0
}
}
],
"muting": {
"tags": ["kick"],
"silencedByTags": []
}
}]
}
 Success Response:
Returns complete XML structure with: Organized sample groupsVelocity layer mappingsMuting group configurationsAll sample references and settingsAdvanced features when using AdvancedDrumKitConfig
 |