Audio Question: Runtime Analysis

For questions about using Classic.

Post » Thu Jul 30, 2009 9:18 am

So I'm curious about AudioSurf-esque runtime audio analysis, e.g. the user imports a audio track, and the game analyses things like the tone, treble, rhythm, pitch to create a dynamic environment.

You could sync an environment to a track manually with a LOT of work.

So, two questions:

1 - Does anyone know anything about audio analysis, a la AudioSurf?

2 - Can anyone think of a way to implement this into Construct (I would think through python or a plugin, XAudio2 doesn't seem flexible enough)
B
55
S
12
G
8
Posts: 339
Reputation: 9,314

Post » Thu Jul 30, 2009 11:55 am

it would have to be thru a plugin
python cant do anything events cant
Spriter Dev
B
87
S
21
G
12
Posts: 3,240
Reputation: 16,461

Post » Thu Jul 30, 2009 1:31 pm

I was exploring the possibilities of audio analysis a while back too. The only things you can really use are get peak level and RMS level (if your using Xaudio2). However this method won't really work for real songs, as the levels are consantly twitching around and tough to work with. Using a song I created, I split the tracks into separate channels and all played them back simultaneously, that way I have more control with the get peak and RMS levels commands. For pitch and other stuff though, it's not possible with Xaudio2 I'm afraid. The only thing you have to really work with are volume and rythm. :mrgreen:
B
25
S
3
G
6
Posts: 1,197
Reputation: 5,620

Post » Fri Jul 31, 2009 4:18 am

I only wish for music position & latency data, like there are for channels.
that'd allow some nice synching for long music files.

Edit: am I the only one that dislikes Audiosurf?
B
3
S
2
G
4
Posts: 1,445
Reputation: 4,665

Post » Fri Jul 31, 2009 10:05 am

While it would probably need a new plugin, Python can do a lot that events can't, via additional libraries.
B
3
S
2
G
5
Posts: 1,777
Reputation: 5,529

Post » Sat Aug 01, 2009 3:19 am

Cool. Well, as I have absolutely no experience in Python, I guess this is a feature request now.
B
55
S
12
G
8
Posts: 339
Reputation: 9,314


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 1 guest