Compatibility
Minecraft: Java Edition
1.21.x
1.20.6
Platforms
Creators
Details
Licensed ARR
Published 2 months ago
Updated 2 months ago
Synced audio, datapack for virtual show aiming for dj sets
Datapack behaviour vs vanilla behaviour
Vanilla client: If someone leaves and join back whilst music was playing (a music disc for example), he won't be hearing anything at all anymore whilst the others would
Synced audio datapack/mod: If someone leaves and join back whilst music from the pack was playing, he'll still hear the same music as everyone else because the pack pings audio each 5 minutes.
Setup step-by-step
-
In an audio editor (audacity for example):
- Choose your music (up to 1 hour long, minimum 5 minutes) and convert it to OGG
- Make a custom selection in the audio file, from 0 to 5 minutes, and export the selection under the name "5"
- Do the same with a selection from 5 to 10 minutes, and export the selection to 10
- You've got a 10 minutes audio file split ready, you can do this til 60 minutes
-
In the resource pack file:
- Drop the OGG files you've just exported in the synced_audio/sounds/split_audio/ directory
Only one song in total is currently supported
- In game, run /function synced_audio:play_audio_30_minutes to play the split files up to 30 minutes
- In game, run /function synced_audio:play_audio_60_minutes to play the split files up to 60 minutes

