# Audio Unit Converter MCP for AI Agents AI Agent Connect

> Audio Unit Converter MCP. This tool handles the heavy lifting of audio math, translating between musical frequencies, rhythmic durations, digital sample counts, and logarithmic amplitude levels. Whether you're calculating sample offsets for a specific millisecond duration or trying to figure out the exact Hertz of a MIDI note, this Connector replaces manual math with precise conversions for music production and audio engineering.

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

## Description

Audio math is a constant hurdle in music production and sound design. You might have a tempo in BPM but need to know the exact millisecond duration of a sixteenth note. Or you're looking at a frequency in Hertz and need to know the corresponding MIDI note. It's the kind of technical friction that breaks your creative flow. This Connector lets your AI client handle those calculations instantly. It translates between musical frequencies, rhythmic durations, digital sample counts, and logarithmic amplitude levels. Whether you're building a custom plugin or just trying to get a sample to line up perfectly, you can just ask your agent to do the math. It handles the conversion between decibel levels and linear ratios, as well as the relationship between sample rates and time. By adding this to your Vinkius catalog, you're giving your AI client a specialized toolkit for the heavy lifting of audio engineering. Instead of pulling up a calculator or searching for conversion tables, you can keep your focus on the sound itself. You can ask about specific note identities in non-standard tunings, or calculate the exact sample count for a complex delay chain. This means no more manual errors when calculating gain stages or timing offsets. It's about removing the friction from the technical side of music so you can spend more time on the art.

## Tools

### convert_pitch_identity
Convert between frequency, note name, and MIDI number. Helps identify notes in non-standard tunings.

### calculate_tempo_rhythm
Calculate rhythmic subdivision durations based on BPM. Get exact millisecond lengths for notes.

### convert_sample_timing
Convert between duration in ms and sample count. Ensures sample-accurate timing for audio processing.

### convert_amplitude_magnitude
Convert between decibels and linear amplitude. Useful for accurate gain staging and DSP development.

## Prompt Examples

**Prompt:** 
```
What is the frequency of note A4 if the tuning is 440Hz?
```

**Response:** 
```
The frequency for A4 at a 440Hz tuning reference is exactly **440.0 Hz**.
```

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

**Response:** 
```
At a sample rate of 44100Hz, 500 milliseconds corresponds to **22,050 samples**.
```

**Prompt:** 
```
What is the duration of an eighth note at 120 BPM?
```

**Response:** 
```
At 120 BPM, an eighth note lasts **250.0 milliseconds**.
```

## Capabilities

### Convert frequencies to MIDI notes
Translate Hertz values into note names and MIDI numbers instantly.

### Calculate note durations from BPM
Determine the exact millisecond length of musical subdivisions based on your tempo.

### Convert milliseconds to sample counts
Calculate precise sample counts for any given millisecond duration and sample rate.

### Translate decibels to linear ratios
Convert between logarithmic decibel levels and linear amplitude values for DSP work.

## Use Cases

### Sample-accurate delay timing
An audio engineer needs to know how many samples are in a 500ms window at a 44.1kHz sample rate to set a precise delay using convert_sample_timing.

### Non-standard tuning identification
A music producer wants to find the exact frequency of a note in a custom tuning and needs the corresponding MIDI number via convert_pitch_identity.

### Dynamic music system math
A game developer is building a rhythmic system and needs the millisecond duration of a sixteenth note at 120 BPM using calculate_tempo_rhythm.

### Plugin gain slider logic
A plugin developer needs to convert a specific decibel level into a linear amplitude ratio for a gain slider using convert_amplitude_magnitude.

## Benefits

- Stop guessing sample counts for specific time durations using convert_sample_timing.
- Get exact note names from Hertz values instantly with convert_pitch_identity.
- Calculate precise eighth or sixteenth note lengths at any BPM using calculate_tempo_rhythm.
- Translate decibel levels to linear ratios for accurate DSP work with convert_amplitude_magnitude.
- Handle complex musical math through your AI client instead of a separate calculator.

## How It Works

The bottom line is you get precise audio math without leaving your workspace.

1. Connect this Connector to your AI client through the Vinkius dashboard.
2. Tell your agent the specific values you need to convert, like a BPM or a frequency.
3. Get the exact numerical results for your audio project.

## Frequently Asked Questions

**Can the Audio Unit Converter MCP find MIDI numbers for frequencies?**
Yes, it can translate any frequency in Hertz into its corresponding note name and MIDI number, which is perfect for working with non-standard tunings.

**How does it help with sample-accurate timing?**
It allows you to convert millisecond durations into exact sample counts based on your project's sample rate, ensuring your delays and reverbs are perfectly timed.

**Can I use it to convert decibel levels?**
Yes, it handles conversions between logarithmic decibel levels and linear amplitude ratios, which is essential for accurate gain staging and DSP development.

**Does it support different BPMs for note calculations?**
Absolutely. You can input any BPM, and it will calculate the exact millisecond duration for musical subdivisions like eighth or sixteenth notes.

**Can it help me with DSP gain calculations?**
It is great for that. You can quickly convert between decibels and linear ratios to ensure your audio plugin's gain sliders behave correctly.

**How accurate are the frequency conversions?**
The `convert_pitch_identity` tool provides highly precise calculations, including cents deviation from standard tuning references like 440Hz or 432Hz.

**Can I convert between milliseconds and samples?**
Yes, using `convert_sample_timing`, you can translate durations in milliseconds to sample counts (and vice versa) as long as you provide the sample rate.

**Does it support different decibel scales?**
Yes, `convert_amplitude_magnitude` supports conversions for dBFS, dBu, and dBV scales.