Get 3 month of Tech AI Magazine for FREE. Full unlimited access, zero commitment. No credit card Required. Unlock Free Access
Loading...
Logout
Loading...
Logout
Table of Contents

AI Prompt Playbook for Music Composition: Create Like a Pro

The AI Prompt Playbook for Music Composition

 AI for Music Composition: Prompts for Melodies and Harmonies.

The AI Prompt Playbook for Music Composition is your hands-on guide to unlocking musical creativity through thoughtful, structured prompts. Instead of generic outputs, this playbook teaches you to interact with AI tools like a musician and gives it clear context, emotional direction, and compositional constraints.

 

At Tech AI Magazine, we’ve seen how the next generation of AI agents are transforming not just business and productivity, but also the arts. This playbook is a perfect example of how to collaborate with AI in a way that enhances human creativity rather than replace it.

 

From crafting cinematic violin melodies and funky guitar riffs to developing dreamy harmonic progressions or counterpoint between instruments, each section provides:

  • A powerful prompt format
  • A real musical example (melody, rhythm, or harmony)
  • Creative tips on how to perform or arrange it
  • Optional outputs: Sheet music, MIDI, audio renderings

 

Whether you’re scoring a film, writing a song, or simply exploring ideas, these prompts are designed to help bridge musical imagination with AI capability, producing ideas that feel intentional, expressive, and emotionally grounded.

 

Let’s dive into how AI can support your next melody, progression, or motif; one prompt at a time.

 

1. Genre and Mood-Driven Melody

Prompt: “Create a [genre, e.g., ‘melancholy jazz,’ ‘upbeat indie pop,’ ‘epic orchestral’] melody for a [instrument, e.g., ‘piano,’ ‘violin,’ ‘synthesizer’]. The melody should evoke a feeling of [mood, e.g., ‘nostalgia,’ ‘excitement,’ ‘serenity’] and be suitable for a [song section, e.g., ‘verse,’ ‘chorus,’ ‘instrumental break’].”

Sure! Here’s a melody concept based on a detailed prompt:

 

🎵 Melody Brief

  • Genre: Epic orchestral
  • Instrument: Violin
  • Mood: Nostalgia
  • Song Section: Instrumental break

 

🎼 Melody Description:

  • Tempo: 72 BPM (slow and expressive)
  • Key: A minor
  • Time Signature: 4/4
  • Melodic Shape: Starts with a rising phrase that reaches a peak and then gently descends — reflecting the bittersweet arc of memory.

 

🎻 Sample Melody (in solfège, approximate):

| mi fa sol | la sol fa | mi re | do — |
| re mi fa | sol — | fa mi re | mi — |

Or in notes (relative to A minor):

| C D E | F E D | C B | A — |
| B C D | E — | D C B | C — |

  • The opening phrase lifts the listener with hopeful, rising intervals.
  • The middle phrase introduces tension with minor intervals.
  • The closing phrase softly resolves, echoing the fading nature of a memory.

 

🎧 Use Case Tips:

  • Layer with soft sustained strings or ambient pads for cinematic depth.
  • Add a low cello drone beneath the melody for emotional gravity.
  • Apply a slight reverb to make the violin feel distant, enhancing the nostalgic mood.

Would you like this melody turned into sheet music or a MIDI file?

 

 

Prompt description: This prompt focuses on generating a specific melody by providing the AI with clear parameters on genre, intended mood, instrumentation, and its role within a larger composition. This helps the AI understand the emotional and stylistic context.

 

 

2. Chord Progression to Melody

Prompt: “Generate a catchy melody over the following chord progression: [list chords, e.g., ‘Cmaj7 – Fmaj7 – G7 – Cmaj7’]. The melody should be in a [key, e.g., ‘C Major’] and suitable for [instrument, e.g., ‘lead guitar,’ ‘vocal line’]. Aim for a [adjective, e.g., ‘flowing,’ ‘staccato,’ ‘syncopated’] rhythm.”

Great! Let’s create a melody based on your custom request:

 

🎵 Melody Request:

  • Chord Progression: Cmaj7 – Fmaj7 – G7 – Cmaj7
  • Key: C Major
  • Instrument: Lead guitar
  • Rhythmic Style: Syncopated

 

🎼 Melody Composition Overview:

  • Tempo: 100 BPM (groovy, mid-tempo)
  • Time Signature: 4/4
  • Style: Funky pop/neo-soul — ideal for expressive bends, hammer-ons, and pull-offs.

 

🎸 Melody (in bars with syncopation):

Bar 1 – over Cmaj7

Notes: E – G – A – G – E

Rhythm: 1e & 2& 3 4e&

Feel: Slides from E to G, quick hop to A, returns syncopated to root notes.

 

Bar 2 – over Fmaj7

Notes: A – C – D – C – A

Rhythm: 1 2& 3e & 4

Feel: Hammer-on from A to C, quick sixteenth run.

 

Bar 3 – over G7

Notes: B – D – E – G – F

Rhythm: 1& 2 3e & 4

Feel: Bluesy with a touch of dominant tension, ending on F to hint at resolution.

 

Bar 4 – over Cmaj7

Notes: G – E – C – D – E

Rhythm: 1e& 2& 3 4&

Feel: Melodic resolution with upbeat tail, climbing back to tonic.

 

🎧 Sound Suggestions for Lead Guitar:

  • Use a clean tone with a bit of chorus or slapback delay.
  • Add expressive elements like string slides, vibrato, and ghost notes to enhance syncopation.
  • Play it in a mid-neck position (~5th to 10th fret) for warmth and clarity.

Would you like a MIDI file or guitar tablature for this melody?

 

Prompt description: This prompt is for when you already have a harmonic foundation. It asks the AI to create a melody that complements a given chord progression, ensuring harmonic compatibility and providing rhythmic guidance.

 

 

3. Harmonic Progression for a Mood

Prompt: “Compose a 4-bar harmonic progression for a [mood, e.g., ‘hopeful,’ ‘dramatic,’ ‘dreamy’] atmosphere. Use [instrumentation, e.g., ‘strings and piano,’ ‘acoustic guitar and bass,’ ‘electronic pads’]. The progression should lead to a strong [resolution/tension, e.g., ‘sense of resolution,’ ‘unresolved tension’] at the end.”

Sure! Here’s a custom harmonic progression based on your prompt:

 

🎵 Harmonic Progression Brief

  • Mood: Dreamy
  • Instrumentation: Strings and piano
  • Resolution Style: Unresolved tension (perfect for segues, cinematic transitions, or ambient intros)

 

 

🎼 4-Bar Harmonic Progression (Key: E♭ Major)

Bar Chord Function Description
1 E♭maj7 I (Tonic) Warm, lush opening with suspended sense of calm.
2 Gm9 iii (Color chord) Softly lifts, adding emotional depth without much drive.
3 A♭maj7 IV (Subdominant) Expansive and ethereal, suggesting openness.
4 Fm11 ii (Modal tension) Ends on a modal, unresolved chord with dreamy ambiguity.

 

🎧 Sound & Arrangement Tips
  • Piano: Arpeggiate each chord softly in the mid-range; use pedal for sustain and ambient blur.
  • Strings: Use long legato notes — low cello for root tones, high violins/violas for airy 7ths and 9ths.
  • Optional Pad Layer: Add a soft electronic pad to enhance the floating, dreamy texture.

 

🎯 Why It Works:

This progression avoids strong dominant–tonic motion. Instead, it gently glides through rich, extended harmonies, ultimately leaving the listener suspended in thought — perfect for a fade-out or dreamy interlude.

Would you like this as a MIDI, audio demo, or sheet music?

 

 

Prompt description: This prompt focuses on generating harmonies first. It directs the AI to create a chord progression that conveys a specific emotion, providing flexibility in instrumentation and guiding the harmonic movement towards a desired outcome.

 

 

4. Counterpoint and Interplay

Prompt: “Create two contrasting melodic lines for [two instruments, e.g., ‘flute and cello’] that weave together in a [style, e.g., ‘baroque counterpoint,’ ‘modern minimalist,’ ‘call-and-response’] fashion. Both melodies should be in [key, e.g., ‘D minor’] and ideally resolve together every [number] bars.”

Certainly! Here’s a full melodic concept:

 

🎼 Composition Brief

  • Instruments: Flute and Cello
  • Style: Baroque Counterpoint
  • Key: D minor
  • Resolution: Every 4 bars

🎶 Concept Overview:

  • Time Signature: 4/4
  • Tempo: 92 BPM (moderato)
  • Mood: Dramatic and elegant, like a slow dance between two expressive voices
  • Texture: Imitative and interlocking counterpoint, with both voices taking turns leading

🎵 4-Bar Phrase (Resolves at Bar 4)

Flute Melody (upper voice):

Bar 1: D4 – E4 – F4 – A4
Bar 2: G4 – F4 – E4 – D4
Bar 3: E4 – F4 – G4 – A4
Bar 4: Bb4 – A4 – G4 – D4

Cello Melody (lower voice):

Bar 1: D3 – C3 – Bb2 – A2
Bar 2: G2 – Bb2 – D3 – E3
Bar 3: F3 – E3 – D3 – C3
Bar 4: Bb2 – A2 – D3 – (rest)

🔍 Interaction Notes:
  • Bar 1–2: The flute introduces a rising theme while the cello plays a descending mirror image — a classic contrary motion.
  • Bar 3: The cello begins a motif that the flute echoes in reverse — an example of imitation.
  • Bar 4: Both converge harmonically on a D minor chord with a satisfying cadence.

🎧 Style Tips for Realization:
  • Flute: Light staccato or gentle legato with slight rubato for expressiveness.
  • Cello: Bowed with warmth; emphasize phrasing in counterpoint.
  • Ornamentation: Consider adding mordents or trills in the flute on repeat phrases to enhance the baroque feel.

Would you like a MIDI file, notation sheet, or an audio playback of this passage?

 

 

Prompt description: This prompt pushes the AI beyond simple melody or harmony generation, asking it to create intertwined melodic lines (counterpoint) and define their interaction style, adding complexity and depth.

 

 

5. Melodic Development and Variation

Prompt: “Take the following short melody: [provide a few notes/short sequence, e.g., ‘C-E-G-C’]. Develop this into a 16-bar melodic phrase, introducing variations in [parameters, e.g., ‘rhythm,’ ‘dynamics,’ ‘register’]. Keep the overall [mood, e.g., ‘playful,’ ‘serious’] consistent.”

Great! Let’s develop a full 16-bar phrase based on your initial melody.

🎵 Melody Development Prompt:

  • Seed Melody: C – E – G – C
  • Parameters for Variation: Rhythm, Dynamics, Register
  • Mood: Playful

🎼 Overview:

  • Key: C Major
  • Time Signature: 4/4
  • Tempo: 110 BPM (bouncy and bright)
  • Style: Light-hearted, suitable for a piano, flute, or marimba line

🧩 Thematic Development Strategy:

  • Bars 1–4: Present original motif, with simple rhythm and light bounce
  • Bars 5–8: Alter rhythm (add syncopation), shift notes up an octave (higher register)
  • Bars 9–12: Invert or re-sequence the motif slightly; dynamics add more punch
  • Bars 13–16: Return to original motif with rhythmic twist and cheerful final cadence

🎶 16-Bar Melody Breakdown:

 

Bars 1–4:

C – E – G – C (quarter notes)

| C4 E4 G4 C5 | C4 D4 E4 G4 | E4 F4 G4 A4 | G4 E4 C4 – |

 

Bars 5–8: (Register ↑, add bounce)

| C5 E5 G5 C6 | G5 E5 C5 G4 | A4 (dotted 8th) B4 (16th) C5 G4 | F4 G4 E4 – |

 

Bars 9–12: (Inversion and sequencing)

| E4 C4 A3 F3 | G3 B3 D4 E4 | F4 A4 G4 F4 | E4 C4 D4 – |

 

Bars 13–16: (Motif returns with syncopation and final lift)

| C4 (8th) E4 (8th) G4 (quarter) C5 (quarter) | C4 (quarter) G4 (quarter) E4 (quarter) – | D4 (triplet) E4 F4 | G4 (half) C5 (half) ||

3 Month Free Access
Get Tech AI Magazine for 3 Month completely Free

🎧 Performance Suggestions:

  • Dynamics:
    • Bars 1–4: mezzo piano
    • Bars 5–8: mezzo forte with articulation
    • Bars 9–12: forte for contrast
    • Bars 13–16: Crescendo to fortissimo, then gently taper at the end

 

  • Articulation:
    • Light staccato or spiccato for a playful bounce
    • Slight rubato at cadences for charm

 

Would you like this melody as:

  • 🎵 Sheet music (PDF)?
  • 🎧 MIDI or audio demo?
  • 🪕 Arranged for a specific instrument?

Just let me know!

 

 

Prompt description: This prompt helps in developing a musical idea. By giving the AI a foundational melodic snippet, it instructs it to expand upon it, introducing variations to create a longer, more evolved melody while maintaining a core identity.

 

 

6. Voice Leading for a Chord Progression

Prompt: “Given the chord progression [list chords, e.g., ‘Am – G – C – F’], generate smooth voice leading for a 4-part [choir/instrument ensemble, e.g., ‘SATB choir,’ ‘string quartet’]. Focus on minimizing jumps and creating stepwise motion in each voice.”

Great! Let’s create smooth 4-part voice leading for your chord progression:

🎵 Input:

  • Chord Progression: Am – G – C – F
  • Ensemble: SATB choir (Soprano, Alto, Tenor, Bass)
  • Goal: Minimize leaps and use mostly stepwise or small interval motion for smooth, singable lines.

🎼 Basic Chord Tones in C Major:

Chord Tones
Am A – C – E
G G – B – D
C C – E – G
F F – A – C

🎶 Voice Leading Arrangement (One Chord Per Bar):

Voice Assignment (SATB):

We’ll write each part in a comfortable range, aiming to keep common tones and minimize motion:

🟥 Chord 1: Am

  • Soprano: E4
  • Alto: C4
  • Tenor: A3
  • Bass: A2

 

🟧 Chord 2: G

  • Soprano: D4 (step up)
  • Alto: B3 (step up)
  • Tenor: G3 (step down)
  • Bass: G2 (step down)

 

🟩 Chord 3: C

  • Soprano: E4 (step up)
  • Alto: C4 (step up)
  • Tenor: G3 (common tone)
  • Bass: C3 (up a 4th)

 

🟦 Chord 4: F

  • Soprano: F4 (step up)
  • Alto: C4 (common tone)
  • Tenor: A3 (step up)
  • Bass: F2 (down a 5th)

 

✅ Voice Leading Summary:
  • Soprano: E → D → E → F (mostly stepwise)
  • Alto: C → B → C → C (static or step)
  • Tenor: A → G → G → A (small motions)
  • Bass: A → G → C → F (roots with intervals of 2nd, 4th, 5th—typical in bass movement)

 

🎧 Tips for Realization:
  • Use legato phrasing to emphasize the smoothness.
  • Avoid doubling the leading tone (B in G major) — here, it’s placed in Alto for balance.
  • If sung by a choir, slight dynamic shaping (swells or phrasing arcs) between chord changes helps natural flow.

Would you like this arranged in:

  • 🎼 Sheet music (SATB notation)?
  • 🎧 MIDI playback?
  • 🎤 A cappella vocal mockup?

Let me know!

 

 

Prompt description: This prompt is for more advanced harmonic generation, specifically focusing on “voice leading” – how individual notes in chords move from one to the next. It helps create natural and pleasing harmonic transitions.

 

 

7. Melodic Hook from a Theme

Prompt: “Generate a memorable melodic hook, no more than 4 bars long, based on the theme of [theme, e.g., ‘a quiet forest,’ ‘urban bustle,’ ‘first love’]. The hook should be suitable for a [genre, e.g., ‘cinematic underscore,’ ‘pop ballad,’ ‘electronic track’] and instantly recognizable.”

Absolutely! Here’s a custom melodic hook based on your prompt:

 

🎵 Hook Composition Brief

  • Theme: A quiet forest
  • Genre: Cinematic underscore
  • Length: 4 bars
  • Mood: Gentle, mysterious, and reflective
  • Instrumentation Suggestion: Solo clarinet, piano, or soft synth pad

🎼 Melody Overview

  • Key: D minor
  • Time Signature: 3/4 (to evoke a flowing, natural rhythm)
  • Tempo: 76 BPM (slow and contemplative)

🎶 4-Bar Hook (Note names)

Bar Melody Notes (simple version) Feel/Texture
1 D4 – F4 – A4 (hold) Rising minor triad, like a breath
2 G4 – E4 – F4 – (hold) Gentle fall, stepwise mystery
3 Bb4 – A4 – F4 – D4 Descending arc, a forest sigh
4 C4 – D4 (quarter), rest (half note) Echoing cadence, unfinished feel

🎧 Sound Suggestions

  • Clarinet or English horn: To capture the earthy, whisper-like texture of a quiet forest
  • Piano with reverb: To enhance spatial atmosphere
  • Soft pad layer: Optional for ambient texture underneath

🎯 Why it’s Memorable

  • Starts with a strong rising minor triad, emotionally anchoring the listener
  • Includes stepwise motion and a gentle fall, evoking natural flow
  • Ends with an open cadence, inviting continuation or looping for cinematic use
  • Perfect for film scoring, meditative scenes, or ambient intros

 

Would you like:

  • 🎵 A MIDI file of this melody?
  • 🎼 Sheet music (PDF)?
  • 🎧 A sample audio render?

Just let me know!

 

 

Prompt description: This prompt aims to create a concise, impactful musical idea. It focuses on the “hook” – a memorable part of a song – and connects it to a non-musical theme, challenging the AI to translate abstract ideas into musical motifs.

 

 

8. Modulation and Key Change Harmony

Prompt: “Create a 8-bar harmonic progression that starts in [starting key, e.g., ‘G Major’] and smoothly modulates to [target key, e.g., ‘E minor’] by the end of the phrase. Indicate the pivot chord or common tone used for the modulation.”

Great! Let’s harmonize your melody:

🎵 Input Prompt

  • Melody: C – D – E – F – G – A – B – C
  • Instrumentation: Strings (e.g., violin I, violin II, viola)
  • Style: Simple, diatonic 3-part harmony (in C Major)
  • Goal: Supportive and smooth, not overshadowing the main melody

🎼 Voice Assignment

  • Violin I: Melody (C–C)
  • Violin II: Upper harmony (a 3rd or 6th below melody)
  • Viola: Lower harmony (a 5th or 6th below melody; sometimes doubling root)

🎶 Harmonized Lines

Beat Melody (Violin I) Violin II (3rd/6th below) Viola (Root/5th below)
1 C5 A4 F3
2 D5 B4 G3
3 E5 C5 A3
4 F5 D5 B3
5 G5 E5 C4
6 A5 F5 D4
7 B5 G5 E4
8 C6 A5 F4

🎧 Sound & Style Suggestions

  • Use legato phrasing for a smooth, supportive string texture
  • Keep Violin II and Viola dynamics slightly below Violin I
  • Avoid harsh intervals (no parallel 5ths or octaves)

🎯 Why This Works

  • All parts are diatonic in C Major
  • Harmonies move mostly in stepwise or small interval motion
  • Triadic voicing supports the melody without drawing attention away

Would you like this as:

  • 🎼 Sheet music (PDF)?
  • 🎧 MIDI or audio file?
  • 🎻 Adapted for another ensemble (e.g., vocal trio)?

Let me know!

 

 

Prompt description: This prompt explores changing keys within a piece, a crucial compositional technique. It asks the AI to not only create a progression but also manage a smooth transition between two different keys.

 

 

9. Rhythmic Pattern to Melodic Idea

Prompt: “Take the rhythmic pattern [notation or description, e.g., ‘quarter note, two eighth notes, quarter note’] and generate a 2-bar melodic idea for a [instrument, e.g., ‘bassline,’ ‘lead synth’]. The melody should be in [key, e.g., ‘C blues scale’] and feel [adjective, e.g., ‘groovy,’ ‘driving,’ ‘relaxed’].”

Perfect! Here’s a custom melodic idea based on your parameters:

🎵 Melody Generation Prompt

  • Rhythmic Pattern: Quarter note, two eighth notes, quarter note
  • Instrument: Bassline
  • Key: C blues scale (C – Eb – F – F# – G – Bb – C)
  • Mood/Feel: Groovy

🎼 Rhythmic Pattern per bar:

Bar 1 & 2 Pattern:

♩ ♪ ♪ ♩ | ♩ ♪ ♪ ♩

This gives each bar a syncopated, funky swing — great for a groovy bassline.

🎶 2-Bar Melodic Idea (Bassline, C Blues)

 

Bar 1:
  • Notes: C – Eb – F – G
  • Rhythm: Quarter – Eighth – Eighth – Quarter

 

Bar 2:
  • Notes: Bb – G – F – C
  • Rhythm: Quarter – Eighth – Eighth – Quarter

🎧 Groove Tips
  • Play style: Fingerstyle or slap bass for extra funk
  • Articulation: Emphasize staccato on eighth notes for bounce
  • Tempo suggestion: ~100–110 BPM for a pocket groove

🎯 Why It Works
  • The rhythmic motif creates repetition and catchiness
  • C blues scale offers soulful color with a raw, funky edge
  • Stepwise movement and occasional leaps keep it interesting but grounded

 

Would you like:

  • 🎼 Sheet music or TAB?
  • 🎧 MIDI or sample audio loop?
  • 🔁 Expanded into a 4-bar groove with variation?

Let me know how you’d like to build on this!

 

 

Prompt description: This prompt reverses the typical process, starting with a rhythmic idea and asking the AI to build a melody around it. This is useful for composers who prioritize rhythm and want to develop melodic content from a rhythmic foundation.

 

 

10. Harmonizing a Given Melody

Prompt: “Given the melody [provide notes/short sequence, e.g., ‘C-D-E-F-G-A-B-C’], generate a simple, diatonic 3-part harmony below it using [instrumentation, e.g., ‘strings,’ ‘vocal harmonies’]. The harmony should support the melody without overshadowing it.”

Absolutely! Let’s harmonize the melody C–D–E–F–G–A–B–C in a simple, diatonic 3-part harmony.

🎵 Input:

  • Melody: C – D – E – F – G – A – B – C
  • Key: C Major
  • Instrumentation: Vocal harmonies (e.g., Soprano, Alto, Tenor)
  • Style Goal: Supportive, balanced, singable harmony that enhances without overpowering

🎼 Harmony Plan (SAT):

Beat Soprano (Melody) Alto (3rd or 6th below) Tenor (root or 5th below)
1 C5 A4 F3
2 D5 B4 G3
3 E5 C5 A3
4 F5 D5 B3
5 G5 E5 C4
6 A5 F5 D4
7 B5 G5 E4
8 C6 A5 F4

✅ Why this works:

  • All voices stay within diatonic C major (no accidentals)
  • Alto uses mostly 3rds or 6ths below soprano, offering warmth and blend
  • Tenor supports root or 5th in lower range — stable, foundational harmony
  • Motion is mostly stepwise, very natural for singers
  • Voicing avoids parallel fifths or octaves

🎧 Style Tips for Performance:

  • Use light dynamics on Alto and Tenor to keep the melody (Soprano) in focus
  • Blend vowels carefully if sung by real voices to maintain harmonic clarity
  • Add legato phrasing for a flowing, choral sound

 

Would you like this:

  • 🎼 As SAT sheet music (PDF)?
  • 🎧 As a vocal MIDI mockup or audio demo?
  • 🎤 Adapted to an SSA or TTBB ensemble?

Let me know how you’d like to use it!

 

 

Prompt description: This prompt is ideal for fleshing out an existing melodic idea. It directs the AI to create accompanying harmonies that fit the provided melody, emphasizing a supportive role and specific instrumentation.

 

The optional outputs of SAT and MIDI Files generated in premium version of GPT based on the preferences which are helpful for editing and tuning:

Editing is done through any Midi editor like in picture.

 

 


 

There’s more to uncover—dive into Tech AI Magazine, latest issue free for 3 months. No credit card required.

Related

Tech-AI-Magazine-June-Issue-2026-front_page

Get Tech AI Magazine Free for 3 Month