Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
Melody

Melody

OpenAL-based library mod for playing background music.

23.20M
287
Library

Compatibility

Minecraft: Java Edition

1.21.x
1.20.1–1.20.6
1.19.4
1.19.2
1.18.2

Platforms

Fabric
Forge
NeoForge

Supported environments

Client-side

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Links

Report issues View source Join Discord server
Donate on PatreonDonate on PayPal

Creators

Keksuccino
Keksuccino Owner

Details

Licensed MIT
Published 2 years ago
Updated last month
DescriptionChangelogVersions


IMPORTANT

This mod is a LIBRARY mod.
It will do nothing on its own and its only purpose is to act as a dependency for other mods that use its features.

About

Melody is an OpenAL-based client-side library mod for playing background music.
It allows you to use OpenAL in Minecraft separated from Minecraft's sound engine and manager.

Melody allows you to (asynchronously) load audio files from all kinds of sources, including web sources.

It has built-in support for OGG and WAV audio files, but there's nothing stopping you from extending it to support more file types!

Since Melody was made for easily playing music in menus or in-world, it can't play directional sounds (sounds with a fixed origin in a 3D environment). It can only play 2D audio, so basically music.

To get an idea of how to create ready-to-play audio sources, take a look at Melody's SimpleAudioFactory class!

Everything important is documented in the source, so make sure to take a look at Melody's source on GitHub!

Copyright & Licensing

Melody Copyright © 2023-2025 Keksuccino.
Melody is licensed under MIT.

Server Needed?

Looking to play Minecraft with friends but setting up a server is just too time-consuming?
No worries! Simply rent a pre-configured server and start playing in a snap.

Just click the image below and use code keksuccino to enjoy a 25% discount on your first month! You can also click the code itself if your ad blocker hides the banner.


Modrinth is open source.

new-orgs-page@a27b5f4

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.