# Audio Unit Converter MCP for AI Agents MCP

> Audio Unit Converter MCP. It handles the math for music production and audio engineering, moving between frequencies, sample counts, and decibel levels. Stop guessing your MIDI numbers or sample timings and let your agent do the heavy lifting.

## Overview
- **Category:** utilities
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_7uXxsrGEZbBKEW6hNKHHWK4WSEtbjWIcn8cJ8qj8/mcp
- **Tags:** audio, music, frequency, tempo, decibels, midi, dsp

## Description

The Audio Unit Converter handles the math for audio engineering and music production. When you're deep in a mix or coding a synth, the math gets tedious. You need to know exactly how many samples are in a 500ms window at 48kHz, or what a specific note in C# translates to in MIDI. This tool takes that weight off your shoulders. Instead of pulling out a calculator or hunting for a reference table, you just tell your agent what you need. It handles the conversion between Hertz and note names, calculates rhythmic subdivisions like sixteenth notes based on your BPM, and switches between linear amplitude and decibel levels like dBFS. It's built for people who need precision in audio engineering without the manual overhead. You can find this in the Vinkius catalog to quickly link it to your favorite tools. It makes the technical side of music production feel like a conversation rather than a math homework assignment. You no longer have to worry about rounding errors or incorrect MIDI values stalling your progress. Whether you're adjusting gain levels or syncing complex percussion, the math stays consistent. This tool ensures that your technical data is always accurate, letting you spend more time on the actual sound design. It's a reliable way to keep your project's data consistent across different software environments.

## Tools

### convert_amplitude_magnitude
Switch between decibel levels like dBFS and linear amplitude ratios. This helps you understand your signal levels accurately during a mix.

### convert_pitch_identity
Translate between Hertz, note names, and MIDI numbers including cents. Use this to quickly map specific frequencies to your MIDI controller.

### calculate_tempo_rhythm
Find the exact duration of eighth or sixteenth notes based on a BPM. This ensures your rhythmic subdivisions stay perfectly in sync with your project.

### convert_sample_timing
Calculate the number of samples in a duration based on a specific sample rate. This is essential for achieving sample-accurate timing in your audio edits.

## Prompt Examples

**Prompt:** 
```
What's the MIDI number for a frequency of 330.59 Hz?
```

**Response:** 
```
The frequency of 330.59 Hz corresponds to the note **E4**. In MIDI, this is note number **64**.
```

**Prompt:** 
```
How many samples are in 100ms at a 48000Hz sample rate?
```

**Response:** 
```
At a sample rate of 48,000 Hz, 100 milliseconds contains exactly **4,800 samples**.
```

**Prompt:** 
```
How long is a sixteenth note at 128 BPM?
```

**Response:** 
```
At 128 BPM, a sixteenth note lasts exactly **187.5 milliseconds**.
```

## Capabilities

### Convert Hertz to MIDI notes
Translate any frequency into its corresponding musical note and MIDI value instantly.

### Calculate sample counts from milliseconds
Determine the exact number of samples in a duration based on your project's sample rate.

### Determine note durations from BPM
Find the millisecond length of eighth, sixteenth, or other notes based on your current tempo.

### Switch between dBFS and linear ratios
Convert between logarithmic decibel levels and linear amplitude for precise gain staging.

### Translate note names to exact frequencies
Get the precise Hertz value for any musical note name including cents deviation.

## Use Cases

### Sample-accurate timing for edits
Someone asks how many samples are in 250ms at 96kHz. The agent uses convert_sample_timing to give the exact count for a perfect cut.

### Mapping frequencies to MIDI
A producer needs the MIDI number for a specific frequency. The agent uses convert_pitch_identity to provide the note and MIDI value.

### Calculating rhythmic subdivisions
A user wants to know the duration of a sixteenth note at 128 BPM. The agent uses calculate_tempo_rhythm to return the millisecond duration.

### DSP gain staging
A developer needs to convert -6dBFS to a linear ratio. The agent uses convert_amplitude_magnitude to provide the exact value for their code.

## Benefits

- Stop manually calculating sample counts for 500ms windows using convert_sample_timing.
- Get exact MIDI numbers for any frequency instantly with convert_pitch_identity.
- Calculate precise rhythmic durations for complex sequences using calculate_tempo_rhythm.
- Switch between dBFS and linear ratios accurately with convert_amplitude_magnitude.
- Remove the need for external calculators or reference tables during your mix.
- Ensure sample-accurate timing across different sample rates and project tempos.

## How It Works

The bottom line is you get instant, accurate audio math without leaving your workspace.

1. Connect the Audio Unit Converter MCP to your AI client.
2. Provide the specific audio parameters like sample rate or BPM.
3. Get the exact numerical values for your project.

## Frequently Asked Questions

**Can the Audio Unit Converter MCP help with MIDI numbers?**
Yes, it translates frequencies into exact MIDI numbers and note names. This saves you from looking up pitch tables when you're trying to map specific frequencies to your synth.

**How does the Audio Unit Converter MCP handle sample counts?**
You can ask it to calculate how many samples occur in a specific millisecond duration based on any sample rate. It's great for ensuring sample-accurate timing in your projects.

**Can I use the Audio Unit Converter MCP for decibel conversions?**
Yes, it handles conversions between logarithmic decibel levels like dBFS and linear amplitude ratios. This is useful for audio engineering and understanding your signal levels.

**Does the Audio Unit Converter MCP work with different BPMs?**
It can calculate the exact duration of subdivisions like eighth or sixteenth notes for any BPM you provide. This helps you plan complex rhythmic patterns accurately.

**Can the Audio Unit Converter MCP convert Hertz to note names?**
It does exactly that. You can provide a frequency in Hertz, and it will tell you the corresponding musical note and its MIDI value.

**Is the Audio Unit Converter MCP good for DSP development?**
It's a great tool for developers who need to move between linear ratios and decibels or calculate precise timing without doing the math manually.