Late in a funk set, the band drops down to two chords and just rides them: a minor chord, then a major chord a few steps up, back and forth, while a horn or a singer improvises on top. Nobody in the room would call it sad. It's minor, yes, but it leans forward and grooves. That sound is very often the Dorian mode, and in the key of B it gives you seven notes that feel moody and hopeful at the same time: B, C#, D, E, F#, G#, A.
A scale is a set of notes arranged in order from a starting note, called the root. Here the root is B, the note the melody keeps coming back to and the place where a phrase feels finished.
Dorian is built from a pattern of whole steps and half steps. A half step is the smallest step in Western music, like moving from one piano key to the very next one, black or white. A whole step is two half steps. Starting on B, Dorian goes W - H - W - W - W - H - W:
Notice that every letter appears exactly once: B, C, D, E, F, G, A. That's why we write C# rather than Db, and G# rather than Ab. Each scale step gets its own letter name, which keeps the music easy to read and keeps chords spelled cleanly.
You may come across Cb Dorian. It sounds exactly the same, but it's spelled with nine flats, which is a lot of reading for no gain. Notes that sound identical but carry different names are called enharmonic equivalents. B Dorian is simply the friendlier spelling, so you can set Cb aside without worry.
If you sit at a piano and play A major, you'll use A, B, C#, D, E, F#, G#. Those are the very same notes as B Dorian. The difference is where the music rests. Play them from A to A and land on A, and it sounds bright and settled. Play them from B to B, and keep returning to B, and the whole color turns minor and soulful.
Because of this, B Dorian borrows A major's key signature: three sharps (F#, C#, G#). A key signature is the cluster of sharps or flats at the start of each line of sheet music. When you see three sharps and the tune keeps landing on B with a G# in it, you're probably in B Dorian. A mode, by the way, is just this idea: one parent scale heard from a different starting note.
Every melody is a conversation between notes that feel at rest and notes that want to move. In B Dorian, think of it like this.
B, D and F# are home base. Together they make the B minor chord, so ending a phrase on any of them feels settled, with B the most final of all. D gives that minor shade, the b3 or minor 3rd, which is the distance from B up three half steps.
C# wants to fall back to B. A, the minor 7th, often rises to B or slides down toward F#. E, the 4th, likes to step down to D. These are the notes that create forward motion in a tune.
G# is the one that makes this Dorian rather than an ordinary minor scale. Most minor scales on B would use G natural there; Dorian raises it to G#, a major 6th above the root. Sing B, then G#, and you'll hear a lift, a little ray of light in an otherwise minor room. In a melody, G# usually passes through: up from F# to A, or down from A to F#. Lean on it for a beat when you want the listener to hear exactly what mode they're in.
Stack every other note of the scale and you get chords. A triad is three notes; a seventh chord adds a fourth note on top.
The star here is E major. It contains G#, so moving from Bm to E puts the Dorian color right in the harmony. That's the two-chord funk vamp from the opening: try Bm7 to E7, two bars each, over and over. For something more song-like, play Bm - D - E - Bm. Pianists can keep the left hand on the roots and voice the chords in the right; singers can loop it on a phone and improvise over the top.
Here's a simple shape. Over Bm, sing or play B - D - E - F#, rising and confident. Over E, reach to G#, hold it, then step down G# - F# - E. Back on Bm, finish C# - B. Four bars, and the G# landing on the E chord tells everyone this is Dorian.
The general trick: start and end on home notes, use the pulling notes to travel, and save G# for a moment that matters, ideally over the E chord or as a stretched note near the top of your phrase. Repeat the idea once with a small change at the end and you have a real hook.
Guitarists can find the root B at the 7th fret of the low E string, or the 2nd fret of the A string. The same notes sit an octave higher at fret 19 and fret 14. Start from the 7th-fret B and walk up the scale on that string and the next, listening for where G# falls; that's your color note under your fingers.
Record Bm7 to E7 for two minutes. Then improvise using only B, D, F# and G#. Make every phrase touch G# while the E7 is sounding, and end every phrase on B. By the third pass, you'll hear the Dorian personality coming from the melody itself.
For the bigger picture, read The Dorian Mode.