Making a Music Video with the Melodic Chordal Sequencer, Logic Pro and LTX 2.5

On a scale of 1 to 10, my musical abilities would probably rate about 4 out of 10. I really am quite bad at it, and I don’t seem to have much of an ear for it. Regardless, I did try to compose a simple melody using Logic Pro (an advanced version of GarageBand on Mac) and my keyboard. I made several futile attempts trying to create melodies from chords first trying to create melodies over predefined chords and, later, writing a melody first and then working out its chords For some reason or other, none of them sounded really good.

A) Music Composition

Melodic Chordal Sequencer

So I took the next best option. After a lot of deliberation, I decided to just try and build an app with Opus 5.5 that can help jog my musical sensibilities. I have created this application called the Melodic Chordal Sequencer, which essentially lays out the chord sequence for a verse and then works out the melody based on the scale, the time signature, and the tempo. For each scale there are seven diatonic chords. Besides, there are certain principles of harmony and chord progression, such as how the dominant chord typically creates a sense of tension that resolves to the tonic chord, bringing the music back home. Since I had done a fair amount of Western music theory, I was familiar with these principles, but somehow, I could never create a reasonable piece of music

I hence created this app in which we specify the scale (a major or minor scale in any key), and then we specify the time signature, which can be 4/4, 3/4, 6/8, 2/4, etc. And we can also set the tempo of the song. The app will then generate a chord sequence and a melody for the given specification.

There are three settings for the melody generation: basic, intermediate, and advanced.

  • The basic mode will just use the regular triads in any particular scale.
  • The intermediate uses more advanced chords like major seventh and minor seventh chords. In addition, it also uses modal interchange, where a chord from the parallel minor scale is borrowed and used in the chord progression to give it a beautiful colour.
  • The advanced would go a bit further and use far more advanced chords like diminished, suspended and 9th chords, secondary dominants, and other interesting variations that even I didn’t follow from what Opus came up with.
  • Every melody that is generated uses a random seed, which can be changed.

    Try out the Melodic Chordal Sequencer!!!
Screenshot of a melodic chord sequencer interface displaying a piano-roll melody, chord sections, and chord sheet in C minor.

Flight of Fancy – A composition in C Major

My initial composition was in C major, with a time signature of 4/4 and a tempo of 100 bpm, and I set it at an intermediate level with a seed of 42. I liked the melody, and I went ahead with it. It already came up with minor seventh and major seventh chords and a suspended chord, and I also asked it to add a borrowed chord (modal interchange) in the second verse. You should be able to listen to that as the hot air balloon goes near the palace.

The composed song will have a typical standard structure with 4 bars of intro, 8 bars for verse 1, 8 bars for chorus, 8 bars for verse 2, and 4 bars for the ending.I added small fillers after each section, that is:

  • intro to verse 1
  • verse 1 to chorus
  • chorus to verse 2
  • and a climactic ending

B) Music Arrangement and Mastering with Logic Pro

Once the melodic chordal sequencer generates a melody which I am satisfied with, I downloaded the MIDI and imported the MIDI into Logic Pro. I then chose the appropriate instruments for the melody and the arpeggio, which is also provided by the Melodic Chordal Sequencer. In addition, I added Session Players for drums, bass, and keyboard, and then adjusted the volume and mastered with other effects. Finally, I added fills between the different sections as mentioned above. When the complete piece was ready, I saved it as a .wav file.

C) Story theme – GPT 6.2

For the story theme, I asked GPT 6.2 to suggest some good ideas for the C major, which is a nice, bright, happy much like the bright C major scale. It came up with this idea of a child taking off in a balloon and seeing beautiful mountains and waterfalls, etc. I just slightly tweaked the idea to include a Shih Tzu pet and modified the storyline so that we have something interesting happening in every filler, because each filler needs to build up to something.

D) Video Generation – Desktop LTX 2.5

The total length of of the composition Flight of Fancy was 130 secs. For the video generation, I had to create clips of roughly 20 seconds because LTX 2.5 does not handle clips more than 20 seconds. Also, I had to make shorter clips for fills so that I have clips for the intro, verse 1, chorus, verse 2, and for each of the fillers.Video generation is done separately for each of these different sections of the song. GPT 6.2 also gave me the the scene setting, the prompts, and how the camera should move for each of the different clips as the story progresses.

E) Video Editing

iMovie was used for video editing and for arranging the different clips generated by LTX 2.5.

This is the final music video created, called “Flight of Fancy.”

Hope you like it!

I also created this music video Autumn Winds in Dm, Time Signature:6/8

F) Next steps

I think I will go back to creating simple musical phrases, which I will export as MIDI and import into the Melodic Chordal Sequencer, and have it enhance this musical phrase for the verse and give ideas for the chorus and verse 2. Maybe I will, using those ideas, create other phrases for the verses and chorus too. I hope my musical journey will take a much more structured approach in coming up with melodies, and I hope I can create better stuff. It is likely for those with very finely tuned musical ears this output and approach may not be very appealing, but nevertheless, I’m a novice, and I think I still have a long way to go.

Also see

  1. Building an Agentic Stock Picker with Anthropic
  2. Building a Flight Simulator with Claude Code, Opus 5
  3. Re-introducing cricketr! : An R package to analyze performances of cricketers
  4. Literacy in India – A deepR dive

To see all posts click Index of posts