Ради вашего удобства наш сайт использует cookies! Узнать больше! Мы используем cookies

MIDI Instruments! [WIP]

⚠️ WORK IN PROGRESS ⚠️

This mod is a labor of love developed in my spare time. Expect bugs, glitches, and occasional note-skipping. Very fast MIDI files might cause audio stuttering or "off" notes. Very heavy MIDI might cause a freeze or even crash.

Compatible with Soundproof walls 2.0!


What does it do?

This mod allows you to play real MIDI files using in-game instruments, perfectly synchronized for everyone on the server.

Supported Instruments

  • Accordion
  • Guitar
  • Harmonica

Each instrument has its own unique sound bank, and they are all fully functional for both solo and multiplayer performances.


How it Works (Streaming)

Only the person playing the music needs to have the .mid files installed locally. The notes are streamed to all other players in real-time. Other players will hear your music even if they don't have a single MIDI file!

Features

  • Your character automatically holds the instrument while playing.
  • Left-click to temporarily release your instrument to interact with items — the character will resume playing automatically later.

Installation & Setup

  • This mod requires LuaForBarotrauma to function. Follow the installation instructions on the LuaForBarotrauma Workshop page.
  • Enable the Mod: Subscribe to this mod and enable it in Main Menu → Mods.

Adding Your Own Music

Place .mid files in the MIDI Storage
mod's local folder:

Windows:

C:\Users\[Your username]\AppData\Local\Daedalic Entertainment GmbH\Barotrauma\WorkshopMods\Installed\3695216167\Midi

Linux:
~/.local/share/Daedalic Entertainment GmbH/Barotrauma/WorkshopMods/Installed/3695216167/Midi

Caution,
.local

is a hidden folder.

Drop your .mid files there.

Opening the MIDI Player

Once you have an instrument (Accordion, Guitar or Harmonica) in your hands, open the MIDI player interface using one of these methods:

  • Hotkey: Press F5 on your keyboard.
  • Chat Command: Type /midi or !midi in the game chat.

PLAY THE MUSIC!

⭐ Enjoying the mod? ⭐

If you enjoy the mod, feel free to leave a rating! And of course click the "Favorite" button at the top! It helps keep the motivation going for future updates💙

🎖️Special thanks to: Lukako, Comrade Leanna, ❀Mercury-sama, Daisy Radwood, Mk08, mr_gubbe, kozak127