What is a key in music?

Updated September 2026By Veena Studio

A key in music is the set of notes a song is built from, centred on one home note — the tonic — and a scale, usually major or minor. Veena, the free AI DAW with a producer built in, keeps every part in key for you: set it once, and whatever CoProducer writes fits.

What is a key in music made of?

Two things: a tonic and a scale. The major scale follows the step pattern whole, whole, half, whole, whole, whole, half, so C major is C D E F G A B. Its relative minor, A minor, uses the same seven notes but treats A as home, which makes it sound darker. With 12 possible tonics and two modes, there are 24 major and minor keys.

The chords that live in a key

Build a three-note chord on each note of the scale and you get the key's family:

DegreeIiiiiiIVVvivii°
C majorCDmEmFGAmBdim

In A minor the same chords reorder as Am, Bdim, C, Dm, Em, F and G. Stay inside the family and everything fits; step outside it for colour, on purpose.

Choosing a key for a voice

The most common key mistake isn't theory, it's range. A melody that sits comfortably in G for one singer strains in B for another, so pick the key for the voice first. Changing key late is easy for MIDI, which transposes cleanly, and harder for recordings, which need pitch shifting. More in how to change the key of a song.

Set the key once, and every part follows

The key sits in Veena's transport bar with all 24 keys and a major/minor switch. CoProducer writes every part in the project key, and once clips exist it never changes the key unless you ask. On an audio clip, Find Key detects the key of your own recording and Pitch Shift moves it, while the Auto-Tune effect tunes a vocal to the key you set. Or just ask: "write a bass line in D minor" or "what key is my vocal in?"

Related: what a chord progression is, what Auto-Tune is and chords in Veena. Set your key in Veena, free.

Try this in Veena

Make a 72 BPM soul ballad in Db major with warm electric piano chords, a round bass, brushed drums and a string pad that swells into the chorus, with the melody kept in a comfortable range for a low voice

Open Veena free

Frequently asked questions

How do I choose a key in Veena?

Pick any of 24 keys, 12 roots in major or minor, from the transport bar, or name one in your request. Veena is an AI DAW with a personal music producer built in. Describe the song you want and CoProducer builds it with you — beats, chords, melody, arrangement and mix — as real tracks you can edit, mix and export. Free, in your browser.

What's the difference between a key and a scale?

A scale is an ordered set of notes; a key is a scale in use, with its tonic as home base. C major and A minor share the same seven notes but feel different because they resolve to different home notes. In Veena, set the key once and CoProducer writes every part in it.

How do I find the key of my song?

Sing or play the note that feels most like home, which is your tonic, then listen for whether the song sounds major or minor. In Veena, import your recording and use Find Key on the clip; CoProducer also measures the chords and key of your audio before it writes new parts around it.

Meet your personal music producer

Free, in your browser. Describe the song you want and CoProducer builds it with you.

Make music free