# Groove Quantize Calculator MCP

> Groove Quantize Calculator converts musical tempo (BPM) into precise millisecond grids for DAWs. It calculates exact note durations—like dotted eighths or triplets—and figures out swing offsets and latency needs, giving producers absolute time control over their rhythm tracks.

## Overview
- **Category:** utilities
- **Price:** Free
- **Tags:** bpm, quantization, swing, daw, latency, rhythm

## Description

Timing in music production isn't about feel; it's about milliseconds. This MCP solves the headache of translating musical tempo into absolute digital time. If you need to know exactly how long a dotted quarter note lasts at 130 BPM, this calculator handles it instantly. You can use `calculate_note_durations` to nail down precise timings for any standard or triplet subdivision. Need to adjust the groove? Use `calculate_swing_offset` to find the exact millisecond displacement required for specific swing percentages. The tool also gives you a full view of your rhythmic grid with `get_complete_rhythmic_map`, which is huge for complex arrangements. Plus, it helps manage buffer size by providing latency advice via `get_latency_recommendation`. Vinkius makes connecting this level of timing precision to your existing workflow simple; just connect your preferred AI client and start calculating.

## Tools

### get_latency_recommendation
Calculates the recommended buffer size in milliseconds based on your project's BPM.

### calculate_note_durations
Determines the exact millisecond duration for standard, dotted, or triplet note subdivisions (e.g., 1/4, 1/8).

### get_complete_rhythmic_map
Generates a full grid map showing time values for all major rhythmic divisions at the current BPM.

### calculate_swing_offset
Provides the specific millisecond displacement value needed to apply a calculated swing effect.

## Prompt Examples

**Prompt:** 
```
What is the duration of a dotted 1/8th note at 140 BPM?
```

**Response:** 
```
At 140 BPM, a 1/8th note lasts approximately 214.29 ms, and its dotted version is approximately 321.43 ms.
```

**Prompt:** 
```
Calculate the swing offset for 70% swing at 90 BPM.
```

**Response:** 
```
For a 90 BPM project with a 70% swing target, the off-beat should be delayed by approximately 34.29 ms.
```

**Prompt:** 
```
Show me a full rhythmic map for 128 BPM with 50% swing.
```

**Response:** 
```
The complete rhythmic grid at 128 BPM (straight) includes: 1/4: 468.75ms, 1/8: 234.375ms, 1/16: 117.1875ms, etc.
```

## Capabilities

### Determine note durations
It calculates the exact millisecond length for standard, dotted, or triplet rhythmic values based on BPM.

### Adjust swing timing
The tool computes the specific millisecond offset needed to apply a desired amount of rhythmic swing.

### View full rhythm map
It generates a complete, comprehensive view of all possible time divisions within a given tempo range.

### Estimate latency needs
You get a recommended buffer size based on the project's current BPM, helping prevent audio dropouts.

## Use Cases

### Need a custom triplet feel at 150 BPM?
A producer needs to know the precise timing for triplets because their DAW's built-in quantizer feels too loose. They ask their agent, and it uses `calculate_note_durations` to return exact millisecond values, allowing them to program perfect timings into their track.

### Building a highly swung drum loop.
An audio engineer wants the beat to swing exactly 65%. They use `calculate_swing_offset`, getting the precise milliseconds needed for that deviation. This level of accuracy is impossible with just visual reference.

### Reviewing a complex, time-signature piece.
A composer needs to see every possible timing option across an entire measure at 128 BPM. They run `get_complete_rhythmic_map` and get a full breakdown of all divisions (1/4, 1/8, 1/16, etc.) in one go.

### Preparing a high-tempo mix for mastering.
The engineer is worried about buffer issues. They prompt the system to run `get_latency_recommendation`, immediately getting advice on what buffer size they need before even starting the final mix.

## Benefits

- Stop relying on visual estimations. Use `calculate_note_durations` to get the precise millisecond length of any note value, eliminating timing guesswork.
- Achieve perfect groove consistency by using `calculate_swing_offset`. This gives you the exact delay needed for a specific swing percentage, every time.
- Plan complex arrangements knowing exactly what's coming. The `get_complete_rhythmic_map` tool generates a full view of timing options at any given tempo.
- Avoid audio dropouts in fast tracks. Use `get_latency_recommendation` to check buffer sizes based on your BPM, keeping playback smooth.
- Bypass manual math entirely. Instead of opening multiple reference guides, let the MCP handle all calculations from one prompt.

## How It Works

The bottom line is that you get absolute time measurements for complex rhythmic ideas without manually calculating fractions and offsets.

1. Tell your AI client the base tempo (BPM) and what specific rhythmic structure you need analyzed.
2. The MCP runs calculations across its tools to process the tempo against musical timing rules, returning precise millisecond values.
3. You receive structured data showing exact durations for notes, swing adjustments, or a full time map.

## Frequently Asked Questions

**How does the Groove Quantize Calculator handle swing offsets?**
It uses `calculate_swing_offset` to give you a precise millisecond displacement value. You don't just get 'more swung'; you get the exact number needed for your DAW.

**Can I calculate durations for odd note values using Groove Quantize Calculator?**
Yes, `calculate_note_durations` handles standard and dotted subdivisions. You input the fraction (like '1/8') and it returns the accurate millisecond timing.

**What is the best way to check for latency using Groove Quantize Calculator?**
Use the `get_latency_recommendation` tool. You provide the BPM, and the MCP tells you what buffer size your system should use to prevent audio dropouts.

**Does Groove Quantize Calculator give me all possible note timings?**
Yes, `get_complete_rhythmic_map` generates a full grid map showing time values for every major division at the current tempo. It's perfect for quick reference.

**Is this better than using my DAW’s built-in timing tools?**
It's different. Your DAW quantizes based on settings; this MCP calculates the underlying mathematical truth of the rhythm, giving you verifiable data before you even open your project.