SoundBuffer: Set song volume

- Requires a new column in the database after preview: `volume` REAL
- The value is a volume multiplier, if the value is set to null or 1 there will be no change
- The volume can be set in debugger
- Imported TJA files are now read from disk every time the song is played, freeing some memory and making it easier to create charts
- Correctly parse TJA files with alphabet notes, added "A" and "B" notes, which appear as DON (Big) and KA (Big) respectively
This commit is contained in:
LoveEevee
2019-03-16 00:34:48 +03:00
parent eb4ddb0b1f
commit 61a5d6d496
17 changed files with 135 additions and 49 deletions

3
app.py
View File

@@ -142,7 +142,8 @@ def route_api_songs():
'category': category_out,
'type': song_type,
'offset': song[13],
'song_skin': song_skin_out
'song_skin': song_skin_out,
'volume': song[16]
})
return jsonify(songs_out)