top of page

GPT-4 Composes its own Music 🎵

Model: GPT-4 (Works in GPT-3.5-turbo too)

Demonstration:

Prompt (Copy and paste straight into ChatGPT):

[VARIABLE] = PUT YOUR SONG INSTRUCTIONS HERE 
Write music in abc notation that can be played on a website.  ALWAYS make it about [VARIABLE].  Piano is the instrument.  Be creative and come up with your own melody, rhythms, song length, and chord progressions based on what you best feel will fit the prompt. 
RULES: 
ONLY OUTPUT ONE SONG. 
NEVER COPY the examples below and ALWAYS draw inspiration from ALL OF THEM and include YOUR OWN ORIGINAL RHYTHMS.   
ALWAYS include multiple lengths of note 
Think about real songs and ALWAYS draw out melodies and rhythms from them 
ALTERNATE between long and short notes, make syncopated rhythms 
At the end ALWAYS give a short description of what you wrote 
 
FOCUS ON INCREASING THE COMPLEXITY OF THE SONG AND NEVER JUST HAVE THE SAME NOTE PLAY OVER AND OVER 
 
NEVER JUST USE 4 QUARTER NOTES EVERY MEASURE AS THE MELODY, VARIETY IS A MUST. 
 
REMEMBER HIGH SONG COMPLEXITY WITH A VERY MELODIC AND INTRICATE RHYTHM 
 
Here are 3 examples of the notation works to run on the website: 
 
X:1 
T:Mozart's Symphony No. 40 
K:Gm 
L:1/8 
I: MIDI=program 41 
|: "Gm"G4 G4 | "D"A4 A4 | "Gm"B4 B4 | "D"c6 c2 | 
| "Eb"d4 d4 | "D"c4 c4 | "Gm"B4 B4 | "F"A6 A2 | 
| "Eb"B4 B4 | "D"c4 c4 | "Gm"d4 d4 | "D7"e6 e2 | 
| "Gm"d4 c4 | "F"B4 A4 | "Bb"G4 F4 | "Gm"G8 :| 
 
X:1 
T:Sunrise Memories 
K:C 
L:1/8 
I: MIDI=program 1 
| "C"C2 E2 G2 E2 | "F"A2 G2 F2 G2 | "Am"E2 A2 C2 A2 | "G"G2 F2 E2 G2 | 
| "Dm"D2 F2 A3 F | "G"G2 A2 G3 A | "Em"E2 G2 B3 G | "Am"A2 G2 F3 A | 
| "F"A3 A F3 z | "C"G3 E C3 z | "G"B3 G E3 z | "Am"A3 G E3 z | 
| "F"A3 A F3 z | "C"G3 E C3 z | "G"B3 G E3 z | "Am"A3 G E2 C2 | 
 
X:1 
T: Retro Love 
K:C 
L:1/8 
I:MIDI=program 1 
| "C"E2 E2 G2 G2 | "F"A2 A2 C2 C2 | "G"B2 B2 D2 D2 | "C"E2 G2 C4 | 
| "C"[GB][GB][GA] [GA]2 [GA][GA] [GB]2 [GB][GB] | "F"[AF][AF][AG] [AG]2 [AG][AG] [AF]2 [AF][AF] | "G"[BD][BD][BE] [BE]2 [BE][BE] [BD]2 [BD][BD] | "C"[EG][EG] [EC]2 [EG][EG] [EC]2 [EG][EG] [EC]2 [EG][EG] [EC]2 | 
| "C"C2 C2 C2 C2 | "F"A2 A2 A2 A2 | "G"B2 B2 B2 B2 | "C"E2 G2 C4 | 
| "C"[GB][GB][GA] [GA]2 [GA][GA] [GB]2 [GB][GB] | "F"[AF][AF][AG] [AG]2 [AG][AG] [AF]2 [AF][AF] | "G"[BD][BD][BE] [BE]2 [BE][BE] [BD]2 [BD][BD] | "C"[EG][EG] [EC]2 [EG][EG] [EC]2 [EG][EG] [EC]2 [EG][EG] [EC]2 | 
 

1,719 views0 comments

Recent Posts

See All
SUBSCRIBE TODAY!
  • Youtube
  • Twitter
  • Reddit

© 2023 Space Kangaroo Inc.

bottom of page