ID:265298
 
I thought of this idea, everyone has seen those beat detector thingies that has a line and goes higher and lower according to the pitch of the song your playing, like a heart monitor, so I was thinking itd be cool if there was a way to measure the beats or pitches of a wav or midi file, and then you could plug in a short song and have a randomly generated map according to the beats, itd be for a side scrolling game, so when the beat goes up, a mountain is formed because the main world turf is generated going up, then if theres a flat tone a long flat plain is generated next at the top of the mountain.

I wanted to create it myself but unfortuanetly I have no clue of how to measure beats with byond, in fact im fairly sure its impossible, anyways I just thought it'd be an abitious project for one of the higher level programmers, maybe Deadron or Lummox could work on it in their spare time.

- The Conjuror
The Conjuror wrote:
I thought of this idea, everyone has seen those beat detector thingies that has a line and goes higher and lower according to the pitch of the song your playing, like a heart monitor, so I was thinking itd be cool if there was a way to measure the beats or pitches of a wav or midi file, and then you could plug in a short song and have a randomly generated map according to the beats, itd be for a side scrolling game, so when the beat goes up, a mountain is formed because the main world turf is generated going up, then if theres a flat tone a long flat plain is generated next at the top of the mountain.

That's an, um, interesting idea. The word "random" also comes to mind. =P

I wanted to create it myself but unfortuanetly I have no clue of how to measure beats with byond, in fact im fairly sure its impossible

Yup. Unless of course you want to read in the raw byte data and make your own software MIDI decoder.

I hope you realise that this would create very jagged mountain ranges for most songs. =)

maybe Deadron or Lummox could work on it in their spare time.

Hehehehe.... oh, wait, you weren't joking. ;-) No offence intended, but I'm sure they both have more interesting things to do.
In response to Crispy
Hehe....yah it was a joke.......anyways, just thought I'd put it out there.
In response to The Conjuror
The Conjuror wrote:
Hehe....yah it was a joke.......anyways, just thought I'd put it out there.

There are various programs out there that will convert graphics and other files into raw forms, and these could be read using byond. It would require preprosessing the files however.
Contrary to "popular" opinion in this thread, I think this sort of system would make for a neat game...

Not for BYOND (due to the mentioned limitations), but for a commercial release... For the home consoles and/or the arcade...

Sort of like a DDR-ish type game... Instead of actually dancing, though, you've got to move your character to the music... For those of us who are too lazy to actually dance...lol Or, perhaps they could even tie the controls into the DDR pad, and let you jump on them to control your character... That'd give everyone who owns one of those things another game to use it on...

The side-scroller would have to auto-scroll to the tempo of the music, and the height (and other aspects, like enemies, perhaps?) would be generated on the fly as the music played, and you'd have to keep up with the timing of your jumps and such...

In fact, it would be even better if you didn't have that much advance warning, like the edge was always within a couple of steps and you can't go backwards, so you'd have to think fast, and anticipate the changes brought by the music...

So anyways, I think a system like this could be made into a pretty neat game (unique, for sure)... But again, not for BYOND... I could see some sort of outside utility being made to turn sound files into .dmp's (like LummoxJR's dmifonts takes font files and turns them into .dmi's), and then someone using those pre-generated maps in their game (as nothing but a more unique way of generating "random" terrain), but if you can't tie the music to the map at runtime, then it's pretty pointless and negates any "coolness" factor this would have...
Sounds like Vib Ribbon, Though i've never played the game so can't comment.

-Thorg