Skip to content

Instantly share code, notes, and snippets.

@VictorieeMan
Created December 6, 2022 19:11
Show Gist options
  • Save VictorieeMan/0570fcaec84178fb617d396036c16ffe to your computer and use it in GitHub Desktop.
Save VictorieeMan/0570fcaec84178fb617d396036c16ffe to your computer and use it in GitHub Desktop.
I got the ChatGPT to compose some music, listen to it by going to the linked website and paste the ABC-scripted music into the site and listen to the midi output.
Can be played by using this webiste: https://abc.rectanglered.com/
X:1
T:Advanced Melody
M:4/4
L:1/4
K:G
"G" B2 | d2 d2 | B2 A2 | G4 | G2 B2 | d2 c2 | B2 G2 | A4 |
B2 | d2 d2 | e2 d2 | c4 | B2 d2 | c2 B2 | A2 G2 | F4 |
E2 | E2 E2 | E2 D2 | C4 | C2 E2 | E2 D2 | C2 A,2 | G,4 |
D2 | D2 D2 | D2 E2 | F4 | F2 D2 | D2 C2 | B,2 A,2 | G,4 |
=== === === The full output below:
Compose a more advanced melody with harmonies in ABC notation
Sure, here is an example of a more advanced melody with harmonies in ABC notation:
X:1
T:Advanced Melody with Harmonies
M:4/4
L:1/4
K:G
V:1
"G" B2 | d2 d2 | B2 A2 | G4 | G2 B2 | d2 c2 | B2 G2 | A4 |
V:2
"Am" E2 | E2 E2 | E2 D2 | C4 | C2 E2 | E2 D2 | C2 A,2 | G,4 |
V:3
"F" C2 | C2 C2 | C2 D2 | E4 | E2 C2 | C2 B,2 | A,2 F2 | G4 |
V:4
"G" B,2 | D3 E | F3 G | A3 B | c3 d | e3 f | g3 a | b3 d' |
In this example, the melody is in the first voice (V:1), and there are three harmony parts in the second, third, and fourth voices (V:2, V:3, and V:4). The key is G major and the time signature is 4/4. The melody starts with a G chord, and the harmony parts provide additional chordal support, using the chords Am, F, and G.
I hope this helps! Let me know if you have any other questions.
[email protected]
Compose a more advanced melody in ABC notation
Here is an example of a more advanced melody in ABC notation:
X:1
T:Advanced Melody
M:4/4
L:1/4
K:G
"G" B2 | d2 d2 | B2 A2 | G4 | G2 B2 | d2 c2 | B2 G2 | A4 |
B2 | d2 d2 | e2 d2 | c4 | B2 d2 | c2 B2 | A2 G2 | F4 |
E2 | E2 E2 | E2 D2 | C4 | C2 E2 | E2 D2 | C2 A,2 | G,4 |
D2 | D2 D2 | D2 E2 | F4 | F2 D2 | D2 C2 | B,2 A,2 | G,4 |
In this example, the melody is in the first four lines, and the key is G major. The time signature is 4/4 and the melody starts on the tonic G. The melody features a mix of stepwise motion and leaps, and uses a variety of rhythmic patterns. The last four lines repeat the melody with some variations.
I hope this helps! Let me know if you have any other questions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment