Here we attempt to define what will be required by the game to successfully represent an audio track as a level to play in game.
Some definitions:
Track: a song sourced from an audio file or stream (see #1)
Beat: the smallest representation of some playable part of a track to be matched by user input (see #2)
In order to represent an audio track as a playable level, the following is required:
Beats (an ordered collection for which the full set represents a track), where each beat has the following data:
Timestamp (relative to the time should be played according to the audio file or stream)
What user input is a valid match for playing this beat (assuming there are multiple possible inputs)
For files generated from static file processing, each file should contain the entire ordered collection of beats for a track. For real-time processing from local files, it may only be necessary to compute a subset of beats representing a span of time from the current track position (e.g. up to five seconds ahead of time).
Here we attempt to define what will be required by the game to successfully represent an audio track as a level to play in game.
Some definitions:
Track: a song sourced from an audio file or stream (see #1) Beat: the smallest representation of some playable part of a track to be matched by user input (see #2)
In order to represent an audio track as a playable level, the following is required:
For files generated from static file processing, each file should contain the entire ordered collection of beats for a track. For real-time processing from local files, it may only be necessary to compute a subset of beats representing a span of time from the current track position (e.g. up to five seconds ahead of time).