Trax Editor

Laynester

a bad bitch
Nov 7, 2018
304
422
I found and ripped an html/js trax editor, i need help making it generate the soundtrack string.. habbos sound track strings look like this 1:4,24:2:2,24:3:0,24:4:0,24: A small tutorial on the sound tracks are found on a rival fourm but basically its this
Step Five
To add a song, you use the following layout for the song data:
1:(ID),(Song Length)
For example, 1:794,280 :)3:0,280:4:0,280)
The additional :3:0,280:4:0,280 amplifies the track. So you don't actually need it.
794 Translates to the song ID
(E.G sound_machine_sample_794)
280 Translates to how long the song is in seconds.
So if a song is 2:00 minutes, in seconds it would be 120 seconds.
(You can always go online and find a converter if your maths skills are not up to par.)
The another attributes such as 1: (Track Number) and 3:0 you don't need to worry about.
Note this tutorial was to add custom songs to the jukebox, meaning not the trax strings.

The code for the html version i found is here the main file everything is in, is called audioVisualizations.js
 

Users who are viewing this thread

Top