Menjelajahi Kemungkinan Kreatif Musik AI dengan GPT-3

Meskipun ini menunjukkan bahwa Anda dapat menyempurnakan model GPT-3 terbaru untuk membuat loop drum polifonik, ada cara untuk menghasilkan alur poliritmik dengan GPT-3 tanpa melibatkan penyetelan halus.
Anda hanya memerlukan prompt dengan informasi yang cukup agar GPT-3 mengetahui apa yang Anda inginkan. Jadi mari kita lakukan ini.
Menggunakan notasi suku kata
Jika Anda memiliki akun OpenAI, pergilah ke OpenAI Playground jika tidak , periksa posting ini tentang cara mendapatkan akun dan $18 kredit gratis untuk dimainkan.
Pertama, kami akan memberi tahu model terbaru (davinci-003) apa yang kami lakukan: mengajarkannya tentang ritme.
Ilmu pengetahuan kognitif menunjukkan bahwa musik dan ritme tampaknya merupakan produk sampingan dari bahasa manusia dan mewujudkan kognisi (yang merupakan cerita di lain hari). Dan itu memberi kita alat yang dapat digunakan untuk mendekati GPT-3 saat berbicara tentang bunyi: notasi suku kata.
use D for a bass-drum sound on one beat.
use T for a snare drum sound on one beat.
use - for a silenced beat.
use | to mark the end of bars (this sign does not count as a beat!)
This rhythm is called "malfuf": D--T--T-
This is a 4-bar sequence of "malfuf": D--T--T-|D--T--T-|D--T--T-|D--T--T-
This is a 4-bar sequence of "malfuf" with light variations: D--T--T-|DD-T--T-|D-DT--T-|DD-TT-TT
By the way, Anda bisa menggunakan "low" & "high pitch" daripada bass-drum dan snare drum, GPT-3 tidak bisa mendengar dan tidak akan peduli. Saya menggunakan ini untuk referensi nanti — dan referensi adalah sesuatu yang sangat dipedulikan GPT-3.
Aturan & Contoh Buruk
Jika sekarang Anda menambahkan "Buat beberapa bar malfuf", Anda sudah akan mendapatkan hasil yang lumayan bagus, tetapi cepat atau lambat Anda akan melihat GPT-3 menghilangkan atau menambahkan ketukan (menggunakan 7 atau 9 ketukan dalam sebuah bar, bukan 8 ketukan yang diperlukan. ). Kita perlu menjelaskan apa sebenarnya "Aturan untuk 'malfuf'" itu:
use D for a bass-drum sound on one beat.
use T for a snare drum sound on one beat.
use - for a silenced beat.
use | to mark the end of bars (this sign does not count as a beat!)
This rhythm is called "malfuf": D--T--T-
This is a 4-bar sequence of "malfuf": D--T--T-|D--T--T-|D--T--T-|D--T--T-
This is a 4-bar sequence of "malfuf" with light variations: D--T--T-|DD-T--T-|D-DT--T-|DD-TT-TT
Rules for "malfuf":
1. A "malfuf" always has 8 beats per bar. This is very important: you need to keep it 8 beats per bar, no matter what. Even when making variations to the rhythm you have to take care that a "malfuf" consists of 8 beats per bar at all times.
2. On the first beat of a bar always use D. only when using heavy variations you can change this.
Sayangnya, ketika mencoba prompt di atas beberapa kali dan meminta GPT-3 untuk "sekumpulan 16 bar urutan malfuf, variasi ringan di bar 5 hingga 8 ..." dll. ketukan yang salah muncul kembali. Jadi saya menambahkan contoh buruk untuk GPT-3 untuk "belajar" dari:
use D for a bass-drum sound on one beat.
use T for a snare drum sound on one beat.
use - for a silenced beat.
use | to mark the end of bars (this sign does not count as a beat!)
This rhythm is called "malfuf": D--T--T-
This is a 4-bar sequence of "malfuf": D--T--T-|D--T--T-|D--T--T-|D--T--T-
This is a 4-bar sequence of "malfuf" with light variations: D--T--T-|DD-T--T-|D-DT--T-|DD-TT-TT
Rules for "malfuf":
1. A "malfuf" always has 8 beats per bar. This is very important: you need to keep it 8 beats per bar, no matter what. Even when making variations to the rhythm you have to take care that a "malfuf" consists of 8 beats per bar at all times.
2. On the first beat of a bar always use D. only when using heavy variations you can change this.
Here is a bad example: D--T--T-|DD-T---|D--T-T-|D-T--T-
This is wrong because only the first bar has 8 beats while the others have only 7! In a "malfuf" every bar has to have 8 beats.
Write 16 bars of malfuf, use only light variations, and only use T in the last one, and make sure there are always 8 beats per bar:
D--T--T-|DD-T--T-|D-DT--T-|DD-TT-T-|D--T--T-|DD-T--T-|D-DT--T-|DD-TT-T-|D--T--T-|DD-T--T-|D-DT--T-|DD-TT-T-|D--T--T-|DD-T--T-|D-DT--T-|TT-TT-TT
Write another 16-bar sequence with 8 beats per bar but only use T on the 5th beat of every bar, the rest of the beats are all silence:
----T---|----T---|----T---|----T---|----T---|----T---|----T---|----T---|----T---|----T---|----T---|----T---|----T---|----T---|----T---|----T---
write another 16-bar sequence but divide the 128 beats of the 16-bar sequence in bars of 3 beats each. use a D on beat one of every bar. make sure that there are 3 beats in every bar:
D--|D--|D--|D--|D--|D--|D--|D--|D--|D--|D--|D--|D--|D--|D--|D--|D--
replace the 5th D with a T:
D--|D--|D--|D--|T--|D--|D--|D--|D--|D--|D--|D--|D--|D--|D--|D--|D--
Menyatukannya
Saya mengubah ketiga ritme menjadi MIDI di sini dan menempatkannya di atas satu sama lain di GarageBand.
Inilah hasilnya:
Jika Anda menyukai artikel saya, silakan ikuti saya di sini di Medium atau Twitter dan klik notifikasi untuk mendapatkan email saat saya memposting hal baru tentang AI, Seni, Futurisme, dan Menulis.
Terima kasih sudah membaca.