1. Home
  2. Explore
  3. Music
  4. Melody Writing Techniques

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Melody Writing Techniques

Melody Writing: Planning, Structure, Harmony, and Expression

Melody writing combines musical planning, harmonic awareness, rhythmic development, and expressive shaping. A successful melody does not simply fill a required number of bars with unrelated notes. It develops ideas logically, creates contrast and balance, and maintains a convincing musical style.


1. Begin with the Overall Structure

A common mistake is to start writing notes immediately, especially when only a short opening has been supplied and the melody must be extended to a specified length. A more effective approach is to plan the structure first.

A melody should be designed as a series of related phrases within an overall form, rather than created as an unplanned sequence of notes.

Phrase Structure

Music is often organized into phrases, which function similarly to sentences in language. A phrase usually presents an idea and brings it to some kind of temporary or final conclusion.

  • A common phrase length is four bars.

  • Phrases may also be eight bars long.

  • Phrases do not always have to be regular.

  • An irregular structure might contain:

    • One phrase of five bars

    • Followed by a phrase of three bars

    • Together forming a balanced eight-bar unit

Irregular phrase lengths can be effective when they create a sense of natural balance rather than sounding accidental.

Planning phrases helps a melody:

  • Sound organized

  • Establish clear points of arrival

  • Avoid wandering randomly from note to note

  • Create a sense of musical balance

  • Support larger forms such as binary or ternary form


2. Common Large-Scale Forms

Binary Form: A–B

Binary form consists of two main sections:

  • A section

  • B section

The A section normally ends with a clear cadence and may be marked by a double bar line or repeat signs. The B section uses related material but develops it or moves in a different harmonic direction.

A typical tonal plan is:

  1. The A section begins in the tonic key.

  2. The A section modulates to another related key.

  3. The B section begins in that new key.

  4. The B section travels through one or more keys.

  5. The B section eventually returns to the tonic key.

The most common modulation at the end of an A section is to the dominant key, especially when the original key is major.

Other possible tonal destinations include:

  • From a major tonic to its relative minor

  • From a minor tonic to its relative major

  • Another closely related key, depending on the musical context

A complete binary-form melody usually ends with a firm cadence in the original tonic key.

Ternary Form: A–B–A

Ternary form has three sections:

  1. An opening A section

  2. A contrasting B section

  3. A return of the A section

The returning A section may be:

  • A direct repetition of the opening

  • A decorated or varied version

  • A more substantially altered version

When the returning section is modified, the form is represented as A–B–A′. The prime symbol indicates that the final A section is related to the original but not identical.

The B section should provide genuine contrast while remaining connected to the surrounding material. Contrast may involve:

  • A different key

  • A different melodic register

  • A changed rhythm

  • A contrasting mood

  • Different movement between notes

  • New or transformed motifs

Ternary form is particularly practical for a complete melody because much of the final section can be based on the already-developed A section. The main additional challenge is creating a B section that is sufficiently different without sounding unrelated.


3. Plan the Internal Phrase Structure

Once the overall form has been chosen, the phrase lengths can be organized within it.

For example, a possible plan might be:

  • A section:

    • First four-bar phrase

    • Second four-bar phrase

  • B section:

    • Third four-bar phrase

    • Fourth four-bar phrase

  • Optional coda:

    • A short additional ending that rounds off the melody

A coda is an added closing passage that provides extra finality after the main structural material has finished.

The planning process can therefore proceed in this order:

  1. Decide the overall form.

  2. Decide the total number of bars.

  3. Divide the melody into phrases.

  4. Decide where each section begins and ends.

  5. Plan the keys of the sections.

  6. Plan the cadences.

  7. Develop the actual notes and rhythms.

This approach prevents the writer from reaching the end of the required length without knowing how the music should conclude.


4. Plan the Tonal Structure

Key planning is especially important in binary and ternary forms.

Tonal Planning in Binary Form

For a binary-form melody, a possible tonal outline is:

  • A section begins in the tonic.

  • The A section ends in the dominant or another related key.

  • B section begins in that new key.

  • B section modulates or moves through related keys.

  • The final cadence returns to the tonic.

The expected modulation should be planned before the detailed melody is written. This makes it easier to prepare the necessary accidentals and harmonic material.

Tonal Planning in Ternary Form

A ternary-form melody may use:

  • A section in the tonic

  • B section in a contrasting related key

  • Return of A section in the tonic

The B section often moves to a different key to reinforce its contrasting role. The return to the tonic then helps restore the identity and stability of the opening section.

Keys should generally remain practical and stylistically appropriate. Although skilled performers can play in difficult keys, unnecessary movement into keys containing many double-sharps or double-flats can make the melody awkward and obscure its tonal logic.


5. Plan the Cadences

A cadence is a harmonic or melodic point of punctuation. Cadences help define the ends of phrases and sections.

Important Cadence Types

  • Perfect cadence: A strong progression from chord V to chord I. It gives a firm sense of completion.

  • Plagal cadence: A progression from chord IV to chord I. It also provides closure, though usually less strongly than a perfect cadence.

  • Imperfect cadence: A phrase ending on chord V. It sounds unfinished and encourages continuation.

  • Interrupted cadence: A progression that begins like a perfect cadence but moves unexpectedly, commonly from chord V to chord VI instead of chord I.

Cadence Planning in a Binary Melody

A possible plan might be:

  • First phrase:

    • Ends with a perfect or plagal cadence in the home key

    • Or ends with an imperfect cadence to continue the thought

  • Second phrase:

    • Modulates to the dominant or another related key

    • Ends with a stronger cadence in that new key

  • Third phrase:

    • Begins in the new key

    • May end with an interrupted cadence

  • Fourth phrase:

    • Returns to the tonic

    • Ends with a perfect or plagal cadence

The final cadence of a complete melody should usually be firm enough to establish the tonic clearly.

Cadences as a Harmonic Framework

Planning cadences provides a basic harmonic skeleton. Once the final chord of a phrase is known, the preceding chord can be selected, and the rest of the phrase can be built toward that goal.

For example, in D major:

  • Chord I consists of D, F-sharp, and A.

  • Chord V consists of A, C-sharp, and E.

  • An imperfect cadence ends on chord V.

  • The chord before V might be chord I, IV, or II.

If a phrase is intended to end with an imperfect cadence, the final notes should emphasize the notes of chord V, especially A, C-sharp, and E. The melody can therefore imply the cadence even when no accompaniment is present.


6. Harmonic Implication

A conventional melody generally suggests an underlying chord progression. The melody does not need to contain only chord notes, but its important notes should make the harmony understandable.

A strong melody often “spells out” harmony through its structurally important notes.

Identifying Chords in a Given Opening

Suppose a melody is in D major and begins with F-sharp, A, and D. These notes belong to chord I:

  • D

  • F-sharp

  • A

The opening therefore strongly suggests the tonic chord.

A later group of notes may suggest chord V:

  • A

  • C-sharp

  • E

Other notes can occur around these harmony notes as decoration.

Chord and Non-Chord Notes

Melodic notes can be divided broadly into:

  • Harmony notes: Notes belonging to the current chord

  • Inessential or non-chord notes: Notes that decorate, connect, or approach harmony notes

Inessential notes are not necessarily weak or unimportant musically. They create movement and variety around the underlying harmony.


7. Harmonic Rhythm

Harmonic rhythm is the rate at which the chords change.

It is important to determine how often the harmony changes in the given opening and whether that pattern should continue.

For example, if the opening suggests:

  • One chord for the first dotted-crotchet beat of a 6/86/86/8 bar

  • Another chord for the second dotted-crotchet beat

then the harmonic rhythm is changing once per dotted-crotchet beat.

Applying Harmonic Rhythm

A melody may contain many rapid notes, but that does not mean every note requires a new chord. Changing chords too frequently can make the harmony confused or unstable.

For example:

  • A whole group of semiquavers may belong to one chord.

  • Passing and auxiliary notes may occur without changing the harmony.

  • A chord may remain in place for an entire beat or bar.

The harmonic rhythm established in the opening usually provides a general model for the rest of the melody. It does not have to be followed mechanically, however.

Useful variations include:

  • Slowing the harmonic rhythm at a cadence

  • Holding the final chord of a phrase for two beats

  • Temporarily increasing the rate of chord change for energy

  • Returning to the original harmonic rhythm afterward

A cadence often benefits from a slightly slower harmonic rhythm because the music appears to settle at the point of arrival.


8. Common Inessential Notes

After establishing the harmonic framework, the melody can combine chord notes with inessential notes.

Auxiliary Notes

An auxiliary note moves away from a harmony note by step and then returns.

  • An upper auxiliary note moves upward and returns.

  • A lower auxiliary note moves downward and returns.

Examples include:

  • C-sharp–D–C-sharp: upper auxiliary movement

  • C-sharp–B–C-sharp: lower auxiliary movement

The auxiliary note creates temporary dissonance or motion while preserving the underlying harmony.

Passing Notes

A passing note moves by step between two harmony notes.

For example, if C-sharp and A belong to chord V, the note B may connect them by step:

  • C-sharp–B–A

B does not belong to the chord, so it functions as a passing note.

Passing notes may be:

  • Unaccented passing notes: Occur between beats or on a weak part of the beat

  • Accented passing notes: Occur on a strong beat or emphasized rhythmic position

The distinction depends on rhythmic placement, not simply on the pitch content.

Combining Harmony and Inessential Notes

A convincing melody often alternates between:

  • Clear chord outlines

  • Stepwise passages

  • Auxiliary notes

  • Passing notes

  • Repeated notes

  • Leaps that are balanced by later stepwise motion

This combination prevents the melody from sounding either too static or too disconnected.


9. Analyse the Given Material Before Writing

Before adding new notes, the given opening should be examined carefully. It contains the musical material from which the rest of the melody can grow.

Three major areas should be analysed:

  1. Harmony

  2. Rhythm

  3. Melody

Harmonic Analysis

Identify:

  • The likely key

  • Tonic and dominant areas

  • Chords implied by important notes

  • The likely harmonic rhythm

  • Any cadence already suggested

Rhythmic Analysis

Look for distinctive rhythmic figures, such as:

  • A dotted rhythm

  • A continuous run of semiquavers

  • A quaver followed by two semiquavers and another quaver

  • A crotchet followed by a quaver

These figures can be reused, varied, or placed into sequences.

Melodic Analysis

Identify:

  • Repeated notes

  • Arpeggiated or triadic movement

  • Stepwise passages

  • Characteristic leaps

  • Important intervals

  • Ascending or descending shapes

  • Short motifs

A repeated note may seem uninteresting in isolation, but it can become a recognizable rhythmic or melodic motif when developed.


10. Motifs and Development

A motif is a short musical idea that can be repeated, varied, or developed.

Motifs may be defined by:

  • Rhythm

  • Pitch pattern

  • Interval pattern

  • Articulation

  • A combination of these features

A motif from the opening can be developed by:

  • Repeating it at a different pitch

  • Placing it in another key

  • Changing its ending

  • Altering its rhythm

  • Extending it

  • Shortening it

  • Inverting its intervals

  • Using it in a sequence

Sequences

A sequence repeats a melodic or rhythmic figure at different pitch levels.

For example, a short figure may be repeated:

  • One step higher

  • One step lower

  • At another interval

  • Within a new harmonic context

The opening’s dotted rhythm, semiquaver run, mixed quaver–semiquaver figure, or crotchet–quaver figure may all provide material for sequences.

A sequence creates unity because the listener recognizes the original figure, while pitch or harmonic movement creates forward motion.


11. Conjunct and Disjunct Movement

The balance between stepwise motion and leaps is central to melodic writing.

Conjunct Movement

Conjunct movement proceeds mainly by neighboring notes or steps.

Characteristics include:

  • Smooth motion

  • Connected melodic flow

  • Scalewise passages

  • Ease of singing and playing

A run of adjacent notes is an example of conjunct writing.

Disjunct Movement

Disjunct movement includes leaps between non-adjacent notes.

Characteristics include:

  • Arpeggios

  • Wide intervals

  • Energetic or dramatic motion

  • Greater melodic contrast

The Need for Balance

A melody made entirely of leaps may sound:

  • Fragmented

  • Jagged

  • Difficult to sing

  • Lacking in continuity

A melody made entirely of stepwise movement may sound:

  • Predictable

  • Unvaried

  • Lacking in energy

A balanced melody might:

  • Begin with a leap

  • Follow it with stepwise movement

  • Use repeated notes

  • Introduce another leap at a structural point

  • Balance wide movement with a scalic passage

A leap can also be made more convincing when it is followed by movement in the opposite direction or by stepwise filling-in.


12. Hear and Feel the Opening

Analysis should be combined with an active musical response. The writer should aim to hear the opening internally and understand its:

  • Rhythm

  • Intervals

  • Phrase shape

  • Harmonic direction

  • Emotional character

  • Momentum

Useful preparation includes:

  • Playing the opening

  • Singing or humming it

  • Clapping its rhythm

  • Mentally hearing the notes

  • Noticing the size and direction of its intervals

  • Observing whether the melody rises, falls, or remains centered

The ability to hear notation internally helps the writer predict how newly written material will sound before it is played.


13. Tempo, Mood, and Character

The tempo indication affects the character of the melody.

  • Vivace suggests a lively, energetic character.

  • Adagio suggests a slower, more spacious, and potentially reflective character.

If no tempo is specified, the mood of the given opening should guide the choice.

The new material should normally sustain the opening’s mood unless a contrasting section is deliberately required. In ternary form, the B section may provide a change of mood before the original character returns in the final A section.

Possible contrasts include:

  • Lively versus calm

  • Bright versus dark

  • Forceful versus delicate

  • Dense versus sparse

  • Restless versus lyrical


14. Style and Historical Character

The continuation should match the style implied by the opening. A melody should not begin in one style and suddenly continue in a completely unrelated one.

Potential stylistic contexts include:

  • Baroque

  • Classical

  • Romantic

  • Modern

  • Modal or folk-inspired writing

Style affects choices such as:

  • Harmony

  • Ornamentation

  • Rhythmic regularity

  • Phrase structure

  • Melodic range

  • Use of chromaticism

  • Treatment of dynamics

  • Use of rests

  • Degree of tonal stability

The opening should be examined for the conventions it suggests, and new material should remain compatible with those conventions.


15. Instrumental Range and Register

The intended instrument affects the usable pitch range and the practicality of the melody.

Instrumental Range

Examples of approximate lower limits include:

  • Flute: Approximately middle C as its lowest note

  • Oboe: Approximately B-flat below middle C

  • Violin: Approximately G below middle C

The upper range depends partly on the performer. Highly skilled players may exceed the range normally expected of less advanced players, but excessive use of high ledger lines should still be questioned.

The lower range is often especially important because it may be physically unavailable on the instrument.

Register

Even notes within an instrument’s range may not be equally effective. Register influences:

  • Tone quality

  • Projection

  • Ease of performance

  • Expressive character

  • Technical difficulty

A melody should therefore be written in a practical register rather than merely within the theoretical limits of the instrument.


16. Transposing Instruments

A transposing instrument sounds a pitch different from the pitch written in its part.

For a B-flat clarinet:

  • The written pitch sounds one whole tone lower.

  • To produce a desired sounding pitch, the written note must be one whole tone higher.

This affects both individual notes and key signatures.

For example, if an accompanying pianist is playing in D major and the clarinet part is written for a B-flat clarinet, the clarinet part may need to be written in E major so that it sounds in D major.

When writing for a transposing instrument, the writer must consider:

  • The instrument’s written range

  • The sounding range

  • The correct transposed key

  • The practicality of accidentals

  • The relationship between the solo line and accompaniment


17. Melodic Shape and Line

A melody needs a recognizable sense of direction. A phrase should not feel like a collection of unrelated pitches.

Common melodic shapes include:

  • Rising and then falling

  • Falling and then rising

  • Gradual ascent toward a climax

  • Gradual descent toward a cadence

  • Alternating leaps

  • A wide opening balanced by stepwise motion

  • A high point followed by relaxation

A phrase may begin in a particular register, move toward a higher or lower point, and then return toward a cadence. Not every phrase must use the same shape, since repetition of one contour can become predictable.

Melodic shape can also be created through contrast:

  • Disjunct arpeggiation in the first half

  • Conjunct scalic movement in the second half

  • A rising sequence followed by a descending cadence

  • A high register followed by a lower, quieter response


18. Breathing Space and Phrase Endings

A melody should have space to breathe, particularly at the ends of phrases.

Phrase endings often become clearer when they include:

  • A slightly longer note

  • Less rhythmic activity

  • A small pause

  • A cadence

  • A rest

  • A settling motion toward the tonic or another structural pitch

This does not mean that every cadence should be followed by an excessively long note. The pause should be musically proportionate.

Breathing space is necessary for:

  • Singers

  • Wind players

  • Listeners

  • Performers on keyboard or string instruments

Even when a performer does not literally need to breathe, the music should create the impression of natural respiration. A phrase that never pauses can feel breathless and structurally unclear.


19. The Use of Rests

Rests are not empty spaces; they are active parts of musical design.

Rests can:

  • Allow the music to breathe

  • Separate phrases

  • Create contrast between sound and silence

  • Add rhythmic variety

  • Emphasize a preceding or following note

  • Support a modern or sparse musical style

Earlier tonal music often contains more notes than rests, although occasional rests remain useful. Modern styles may use rests much more extensively, sometimes placing nearly as much emphasis on silence as on sound.

Rests should be used purposefully rather than inserted simply to fill space.


20. Modern Melodic Styles

Modern melody writing may involve techniques that differ from conventional tonal melody writing.

Irregular or Changing Time Signatures

A modern melody may:

  • Use an irregular time signature

  • Change time signatures during the piece

  • Move between regular and irregular meters

  • Avoid a constant metrical pattern

Earlier music generally maintains the same time signature throughout a movement, whereas modern music may use changing meter as an expressive and structural device.

Modal Writing

A melody may be modal, meaning that it is based on a mode rather than conventional major or minor tonality. Many folk melodies use modes.

Modal music may not create the same dominant-to-tonic relationships expected in tonal music, so conventional cadence planning may be less appropriate.

Pentatonic Scales

A pentatonic scale uses five different pitches within the octave. A melody based on a pentatonic scale should preserve the characteristic limited pitch collection rather than automatically introducing all the notes of a major or minor scale.

Whole-Tone Scales

A whole-tone scale is constructed entirely from whole-step intervals. Because it lacks the usual semitone-based leading-note relationships, it produces a distinctive floating or ambiguous sound.

Serialism and Note Rows

Serialism is a twentieth-century technique that can give equal importance to all twelve chromatic notes.

A basic twelve-note row:

  1. Contains all twelve chromatic pitches.

  2. Uses each pitch once before any pitch is repeated.

  3. Allows the composer to choose the order of the pitches.

  4. Provides the basic material for further development.

If a given opening uses a note row, the continuation should work with that row rather than imposing conventional major-key harmony and traditional cadences.

Other Modern Characteristics

A modern opening may feature:

  • Sudden contrasts

  • Extreme dynamics

  • Very wide intervals

  • Unusual accents

  • Special instrumental effects

  • Abrupt changes of register

  • Unpredictable phrase lengths

  • Sparse textures or frequent rests

These characteristics should be recognized and continued in a controlled way. Contrast is appropriate, but the defining character of the opening should remain audible.


21. Developing Important Intervals

A prominent interval in the opening can become a central developmental idea.

For example, if the opening contains many thirds, the writer might:

  • Repeat the third as a motif

  • Place thirds at different pitch levels

  • Expand a third into a fourth

  • Expand the fourth into a fifth

  • Invert the third into a sixth

  • Combine the interval with a distinctive rhythm

Interval development creates unity while allowing the melody to evolve.

The same principle applies to:

  • A recurring leap

  • A repeated-note figure

  • A characteristic descending pattern

  • A particular rhythmic cell

  • A distinctive melodic contour


22. Writing for Voice

Vocal melody writing requires attention to both musical and textual considerations.

Vocal Range

Approximate comfortable ranges include:

  • Soprano: Middle C to approximately G above it as a relatively safe basic range

  • Tenor: Approximately the same interval an octave lower

  • Alto: Approximately G to D within a moderate range

  • Bass: Approximately G to D an octave lower than the alto range

Singers may extend beyond these ranges, but consistently writing too high or too low can create technical problems.

Text Stress

Important words or syllables should generally occur on strong beats.

  • A key word such as “love” may be placed on a strong beat.

  • Small connecting words such as “and” or “but” are usually better placed on weaker beats.

  • Natural spoken emphasis should be respected.

Misplacing the stress can make the text sound unnatural or change its meaning.

Syllabic and Melismatic Writing

Syllabic writing assigns one note to each syllable.

  • The word “love” uses one syllable and can be sung on one note.

  • A word with five syllables requires at least five notes if each syllable is to receive its own note.

Melismatic writing assigns several notes to one syllable. A singer may sustain one syllable across a group of notes.

A balanced vocal melody can combine:

  • Syllabic passages for clarity

  • Melismatic passages for expressiveness

  • Enough notes to accommodate every syllable

  • Rhythms that preserve the natural flow of the text

Text planning should occur before the final melody is written so that stresses, syllable counts, and expressive passages fit naturally.


23. A Practical Melody-Writing Process

A reliable workflow can be summarized as follows:

  1. Identify the required length and form.

    • Decide whether the melody is binary, ternary, or another structure.

  2. Divide the melody into phrases.

    • Use regular or deliberately irregular phrase lengths.

  3. Plan the tonal scheme.

    • Decide where modulation occurs and where the tonic returns.

  4. Plan the cadences.

    • Establish imperfect, interrupted, plagal, or perfect cadences at suitable points.

  5. Determine the harmonic rhythm.

    • Decide how quickly the chords should change.

  6. Analyse the given opening.

    • Identify its harmonic, rhythmic, and melodic ingredients.

  7. Select motifs for development.

    • Reuse distinctive rhythms, intervals, and contours.

  8. Write notes that support the harmony.

    • Use chord notes at structurally important points.

  9. Add inessential notes.

    • Use passing notes, auxiliary notes, and stepwise links to create fluency.

  10. Balance conjunct and disjunct movement.

    • Combine steps, leaps, repeated notes, and arpeggios.

  11. Shape each phrase.

    • Create direction, climax, relaxation, and a convincing cadence.

  12. Add breathing space.

    • Use longer notes or rests at suitable phrase boundaries.

  13. Match the style and mood.

    • Continue the characteristics of the opening.

  14. Check practical performance issues.

    • Confirm range, register, transposition, and vocal or instrumental feasibility.

  15. Review the complete melody musically.

    • Play, sing, or imagine it to assess whether it sounds coherent and expressive.


Key Principles

Plan before writing. Overall form, phrase structure, keys, cadences, and harmonic rhythm should be considered before individual notes.

Develop the given material. Rhythms, intervals, motifs, contours, and melodic figures should reappear in varied forms.

Balance stability and movement. Chord notes provide harmonic clarity, while passing and auxiliary notes provide melodic motion.

Balance steps and leaps. Conjunct movement creates fluency; disjunct movement adds energy and contrast.

Allow the melody to breathe. Cadences, longer notes, and rests help clarify phrase structure.

Respect style and practicality. The melody should suit its historical or modern language, instrument, voice, range, and performance conditions.

The final aim is a melody that is not merely technically correct but musical, coherent, balanced, expressive, and satisfying to hear.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent