Melody

Melody - Minecraft Mod

Melody Mod - OpenAL-Based Library for Background Music

Melody is a library mod that's designed to assist in the playing of background music within Minecraft. It's based on the OpenAL audio library and can be utilized by other mods to include music and other audio outside of Minecraft's default sound engine. In fact, Melody alone does nothing and provides only dependency for other mods in adding background music.

Key Features:

  • OpenAL Integration: Melody splits off the default Minecraft's sound engine to utilize OpenAL for playing audio. This allows mods to play background music more efficiently and independently of Minecraft's existing system.
  • Asynchronous Audio Loading: The mod allows loading of audio files asynchronously, which means music and sounds can be played without performance hiccups or delays within the game.
  • Flexible Audio Sources: Melody supports a wide array of audio file sources, be it from the web, which lets mod developers stream music or load audio from various places.
  • File Type Support: By default, Melody supports the OGG and WAV audio file types, but this is extendable, since new file types can be enabled by the developers if they think it's necessary to support them.

Compatibility

Minecraft: Java Edition

  • 1.21–1.21.1
  • 1.20.1–1.20.6
  • 1.19.4
  • 1.19.2
  • 1.18.2

Platforms

  • Fabric
  • Forge
  • NeoForge

Supported environments

  • Client-side