Background music mod

Post Reply
User avatar
gigomaf
Member
Posts: 23
Joined: Sat Mar 02, 2019 14:57

Background music mod

by gigomaf » Post

Is there any mod that allows to play mp3 files from folder without preloading them on game start?

User avatar
hex
Member
Posts: 82
Joined: Sun Dec 06, 2020 04:22
IRC: hecks
In-game: hex hhhehehe

Re: Background music mod

by hex » Post

Only OGG Vorbis audio files are supported, and all audio is preloaded to RAM at the moment.
I remember seeing a background music mod for minetest_game somewhere around here but it worked within those limitations.
Streaming long audio files instead of decoding them whole has been discussed but isn't yet implemented.

User avatar
gigomaf
Member
Posts: 23
Joined: Sat Mar 02, 2019 14:57

Re: Background music mod

by gigomaf » Post

Any idea to workaround this? Maybe bat file to external player in background? I want to run Minetest by double click with music in background :)

User avatar
TenPlus1
Member
Posts: 3722
Joined: Mon Jul 29, 2013 13:38
In-game: TenPlus1
Contact:

Re: Background music mod

by TenPlus1 » Post


User avatar
gigomaf
Member
Posts: 23
Joined: Sat Mar 02, 2019 14:57

Re: Background music mod

by gigomaf » Post

Thank you TenPlus1, actually I'm using many of your mods including Ambience :) I will try that.

[edit]
Unfortunately game is crashing on media loading. It worked when I add one track, but it shows unknown C++ error after adding five tracks.

User avatar
Linuxdirk
Member
Posts: 3219
Joined: Wed Sep 17, 2014 11:21
In-game: Linuxdirk
Location: Germany
Contact:

Re: Background music mod

by Linuxdirk » Post

Wow, is MP3 still a thing? :)

What I do for casual playing is starting my favorite YouTube or Spotify playlist in the browser and then start Minetest.

This can be automated, though. Just add the two program calls to a batch file and run this instead of the Minetest executable. How to start your music player depends on what you use to play music.

User avatar
runs
Member
Posts: 3225
Joined: Sat Oct 27, 2018 08:32

Re: Background music mod

by runs » Post

Linuxdirk wrote:
Tue Dec 22, 2020 12:28
Wow, is MP3 still a thing? :)

What I do for casual playing is starting my favorite YouTube or Spotify playlist in the browser and then start Minetest.

This can be automated, though. Just add the two program calls to a batch file and run this instead of the Minetest executable. How to start your music player depends on what you use to play music.
Open Sourced Lame encoder gives good quality. And the copyright expired.

User avatar
Linuxdirk
Member
Posts: 3219
Joined: Wed Sep 17, 2014 11:21
In-game: Linuxdirk
Location: Germany
Contact:

Re: Background music mod

by Linuxdirk » Post

runs wrote:
Tue Dec 22, 2020 17:18
Open Sourced Lame encoder gives good quality. And the copyright expired.
Yeah, but there are codecs that give same or better quality with better compression (= lower file size). It’s not that MP3 was non-free till 2017 (or 2012 if you’re from Europe), it’s because MP3 is simply not a good codec anymore compared to more advanced and modern codecs.

User avatar
MeseCraft
Member
Posts: 47
Joined: Wed Nov 04, 2020 22:52
GitHub: MeseCraft
Contact:

Re: Background music mod

by MeseCraft » Post

Check this one out, but I still need to fix a conflict it has with ambience.

I use ambience mod that tenplus1 maintains for sound effects in biomes.

But I find Clockgen's music_modpack works a bit better for me for music.
https://github.com/ClockGen/music_modpack
🌎 Website | ⛏️ MeseCraft Game | 📰 News | 🖌️ ContentDB

distantkay
New member
Posts: 6
Joined: Sun Feb 02, 2020 11:04
In-game: distantkay

Re: Background music mod

by distantkay » Post

Is there really no simpler way to put music in a specific folder and have it played in the game? + setting the playback interval through commands or through the settings file.
It's such an easily implemented option. Isn't it possible that it still does not exist?

User avatar
goats
Member
Posts: 212
Joined: Thu Nov 21, 2019 05:29

Re: Background music mod

by goats » Post

distantkay wrote:
Sat Jan 02, 2021 22:00
It's such an easily implemented option.
This is pretty much a case of, "if you want it, then make it," particularly if it is so easy, and nothing available satisfies you.

On the other hand, i would suggest that the minetest engine is far from the optimal choice for playing music. Just my opinion (and experience, at least with some mods).

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 41 guests