Audio
The audio file stores all information regarding how your audio file should be processed.
Sample Data
{
"_version": "2.0.0",
"_songSampleCount": 1149214,
"_songFrequency": 44100,
"_regions": [
{
"_startSampleIndex": 0,
"_endSampleIndex": 1149214,
"_startBeat": 0,
"_endBeat": 26
}
]
}
{
"version": "4.0.0",
"songChecksum": "",
"songSampleCount": 1149214,
"songFrequency": 44100,
"bpmData": [
{
"si": 0,
"ei": 1149214,
"sb": 0,
"eb": 26
}
],
"lufsData": [
{
"si": 0,
"ei": 1149214,
"l": 0
}
]
}
Summary
Introduced in 1.22.2
- The official editor will parse any defined BPM regions and generate the corresponding BPM events in all related beatmaps.
Sample Count
A value which measures the duration of the audio file in samples.
{
"_songSampleCount": 1149241, // Sample Count
}
{
"songSampleCount": 1149241, // Sample Count
}
BPM Regions
Alters the BPM of the specified region.
{
"_regions": [
{
"_startSampleIndex": 0, // Start Sample Index
"_endSampleIndex": 1149214, // End Sample Index
"_startBeat": 0, // Start Beat
"_endBeat": 26, // End Beat
},
],
}
{
"bpmData": [
{
"si": 0, // Start Sample Index
"ei": 1149214, // End Sample Index
"sb": 0, // Start Beat
"eb": 26, // End Beat
},
],
}
Sample Index
Two values which calculate the bounds (starting/ending point) of the region.
Start/End Beat
Two specific points in time, as determined by the BPM of the song, which in turn help to determine how many beats make up the indicated region.
Song Frequency
A value which caches the quality level of the audio file. Primarily used by the Official Editor when producing the spectrogram.
{
"_songFrequency": 44100,
}
{
"songFrequency": 44100,
}
LUFS Data
Applies a normalization to the loudness of the audio file within the specified region.
{
"lufsData": [
{
"si": 0, // Start Sample Index
"ei": 1149214, // End Sample Index
"l": -2.5, // Loudness
},
],
}
Sample Index
Two values which calculate the bounds (starting/ending point) of the region.
Loudness
A value which adjusts the loudness for the indicated region.