Added
- Chinese translation (@suoyukii)
Fixes
- Some audio files are not playing.
- Crash with Visual Overhaul when opening the audio cutter.
- Occasional crash when playing the sound, I have no idea what causes it, but it's there.
Internal changes
This functionality is not accessible directly in the mod yet, but can be changed in .minecraft/config/soundboard.json
.
Cobalt access
Cobalt is the service used by Soundboard to download audio files from YouTube and other platforms. Unfortunately, due to abuse the API is not going to be public for long. This update brings initial configuration for accessing custom cobalt instances.
cobalt_api_endpoint
- Base URL or IP for the cobalt instance.cobalt_api_version
- Must beV7
orV10
. Describes the method to parse cobalt responses. The main instance only supports V7 for public requests. If you're running a custom instance, change it to V10.cobalt_api_token
- Token for accessing the specified cobalt instance.
Audio providers
If you're having audio playback issues, try changing audio_provider
property to ARRAY
.
The rest
If you opened this file, you may notice some other fields. These are not fully implemented and may have bugs, but who am I to stop you.
New features
Audio downloader!
Powered by cobalt, Soundboard just got a new menu for converting video to sound and saving it directly to the soundboard.
Favourites indexing and keybinds
The sound settings widget now has a field for the favourite index.
-1 inserts at the end, 0 at the start and so on for values in between.
This allows you to make your top category more organized, especially for the next feature.
Favourite sounds, or at least the first 10, can now be played with a keybind.
By default, holding O
and pressing one of the number keys will play the sound at that position.
This also works with numpad keys and fyi key 0
will play the 10th sound.
Changes
Soundpack updates (beta)
Resourcepack provided sounds can now have a .properties
file, which accepts the following fields:
# Start offset in seconds
start = 1.22
# End of the audio, **counting from 0, not the 'start' property**
end = 3.45
# Integer 0-100, any other value will be capped in that range
volume = 69
This file must be in the same directory as the sound and have the same name up to the .wav
part.
Fixes
- Fixed
Missing group grid
error - Fixed sounds in subdirectories displaying with the directory name
Resource pack sounds (AKA sound packs)
This update allows packaging sounds as resource packs to share them with other players.
In your resource pack add .wav
files in assets/<namespace>/soundboard
.
You can create any subdirectories inside to organize files or
create other namespaces to override other sounds.
Created subdirectories will form collapsible groups in the soundboard menu.
By default, provided sounds won't look pretty.
You need to provide a translation key for them.
Translations are stored in assets/<namespace>/lang
.
The default language is en_us.json
.
Category names are prefixed with soundboard.dir.<namespace>
.
For example, if you have a file in assets/mysoundpack/soundboard/scary/ghost_boo.wav
,
you'll have the following translation file:
{
"soundboard.dir.mysoundpack": "My first sound pack!",
"soundboard.dir.mysoundpack.scary": "Spooky sounds",
"soundboard.file.mysoundpack.scary.ghost_boo": "Very scary ghost sound"
}
You can see the example sound pack in the Soundboard repository.
Translation files also support OwO-lib rich translations
Translatable local sounds
You still can put .wav
files in .minecraft/config/soundboard
,
but this update allows you to customize their appearance.
To provide a sound name, put a <filename>.properties
in its directory.
For the category name put a .properties
file inside it.
Property files follow the Java properties format, but only the title
field matters.
For example, if you have the sound .minecraft/config/soundboard/scary/ghost_boo.wav
,
you use these files:
# .minecraft/config/soundboard/scary/.properties
title=Spooky sounds
# .minecraft/config/soundboard/scary/ghost_boo.properties
title=Very scary ghost sound
Audio editor
Ctrl-click on any sound to bring up the editor:
The audio editor allows you to cut the duration of the sound and modify the volume. You can also use play button in the corner to play it locally. (Others won't hear it, unless you have bad noise suppression)
The audio editor doesn't modify the original file and saves changes when closed, so you can bring it up again to adjust the values.