Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Procedural music generation?

Anyone have good book / article recommendation for procedural generation of background music? (No vocals, just instruments).

I'm not interested in:

How do I generate the sound of a particular note on a particular instrument

I'm interested in:

How do I generate the melody / score for the music.

Thanks!

EDIT:

Thanks for the reference to Brian Eno. I'm definitely looking into the ambient/user can ignore type of music. I.e. think the background music of a game. It's there to provide some basic mood, but the focus is the game.

like image 330
anon Avatar asked Mar 16 '10 02:03

anon


2 Answers

Sometime ago I ran into ChucK, which is a programming-language to generate music/sound/audio:

ChucK presents a new time-based, concurrent programming model that's highly precise and expressive (we call this strongly-timed), as well as dynamic control rates, and the ability to add and modify code on-the-fly. In addition, ChucK supports MIDI, OSC, HID device, and multi-channel audio. It's fun and easy to learn, and offers composers, researchers, and performers a powerful programming tool for building and experimenting with complex audio synthesis/analysis programs, and real-time interactive control.

I believe the end result can be converted into MIDI, which can then be converted into a score or sheet notation.

I don't know if this is what you're looking for. Hope this helps!

EDIT

After thinking about this a little longer, I think what you can possibly do (and this sounds a bit crazy) is write code that generates ChucK code. So define a set of rules for your music/score generation and then use that to create valid ChucK code. After you run the ChucK code, you can get a MIDI file which you can then convert into score/sheet-music.

like image 119
Vivin Paliath Avatar answered Sep 23 '22 04:09

Vivin Paliath


The book "Computer Models of Musical Creativity" by David Cope should help you along with the theoretical side of computer-assisted composition, though you might want some music theory under your belt before you dive in.

like image 21
kurreltheraven Avatar answered Sep 19 '22 04:09

kurreltheraven