Some help from the forum composers.

A place where you can chat about anything that isn't to do with games!
Post Reply
User avatar
Pixel_Outlaw
Posts: 2646
Joined: Sun Mar 26, 2006 3:27 am

Some help from the forum composers.

Post by Pixel_Outlaw »

I will first admit that I know nothing about music theory but I'm interested in making a procedural music novelty program. I want to let the computer produce acceptable tunes. I can set some parameters but I need to dictate to the computer what is widely regarded as good music. I'm quite familial with procedural content and art. I've done many tree and landscape generators by defining some basic rules the computer must follow when creating them. I can create some procedural art and nature quite easily but the frontier now lies in procedural music.

What kinds of parameters should computer music have? Obviously there are some rules that separate music from white noise. I've made some very nice visual procedural art, now I just want to try music.

I've considered fractal music and also some more obscure things like maybe a perlin noise music.

Perhaps this question is just too specalized but we shall see.
Some of the best shmups don't actually end in a vowel.
No, this game is not Space Invaders.
User avatar
Lordstar
Posts: 3785
Joined: Thu Apr 26, 2007 4:53 pm
Location: Liverpool,UK
Contact:

Post by Lordstar »

BPM would be a good start.
Follow me on twitter for tees and my ramblings @karoshidrop
shmups members can purchase here http://shmups.system11.org/viewtopic.php?f=4&t=21158
User avatar
Pixel_Outlaw
Posts: 2646
Joined: Sun Mar 26, 2006 3:27 am

Post by Pixel_Outlaw »

OK noted, I could easliy assign a tempo for every seed value.

I just need to know common tempos for music then assign a function that will pick a tempo from the list for any seed number.

]I would use the following:

round(seed_value Mod list_size)/list_size*list_size

This will return a place in our tempo list.

What is the next step?
Last edited by Pixel_Outlaw on Sun Jul 20, 2008 6:38 am, edited 2 times in total.
Some of the best shmups don't actually end in a vowel.
No, this game is not Space Invaders.
User avatar
Udderdude
Posts: 6294
Joined: Thu Feb 16, 2006 7:55 am
Location: Canada
Contact:

Post by Udderdude »

I wrote something like this years and years ago, it basically outputs MOD tracker data that you could paste into MODPlug Tracker.

I could dig up the code if you're interested, it's probabally pretty different from what you're trying to do though.
User avatar
worstplayer
Posts: 861
Joined: Sun Jun 17, 2007 6:48 pm
Location: Slovakia

Post by worstplayer »

Rhytm is the most important thing. Make sure there's at least one element that repeats. Snare drum on 2nd and 4th beat is present in almost all modern music so it would be good idea to use that.
BPM depends on what kind of music do you want it to make. There aren't any common tempos and it doesn't even have to be whole number so just use random within some range (let's say 120-180).

The rest won't be as easy. I'd say best approach would be to make a list of common patterns and just select from that. (and possibly shuffle around parts of those patterns)
"A game isn't bad because you resent it. A game is bad because it's shitty."
User avatar
Zebra Airforce
Posts: 1695
Joined: Mon Aug 13, 2007 9:10 pm

Post by Zebra Airforce »

Check this out:

http://www.interq.or.jp/mars/lucky3/_English/

Click at the bottom where it says "Automated Composing System"
Image
User avatar
indstr
Posts: 802
Joined: Mon Oct 29, 2007 4:27 pm
Contact:

Post by indstr »

Run through this.. It will take you an hour or two but it might help

http://www.musictheory.net/
User avatar
Pixel_Outlaw
Posts: 2646
Joined: Sun Mar 26, 2006 3:27 am

Post by Pixel_Outlaw »

Thanks for all of the help. I'll have plenty to chew on.
Some of the best shmups don't actually end in a vowel.
No, this game is not Space Invaders.
Post Reply