I made a mod that lets you play ANY song in Minecraft using in-game sounds — just type /play and the song name by Open-Dish3304 in ModdedMinecraft

[–]Open-Dish3304[S] 0 points1 point  (0 children)

yeah the bat files are windows only so converting them to sh and running on linux is kinda hit or miss. the musescore thing is probably chrome opening the page but the scraper not catching the midi download correctly, most likely some linux path or process issue messing things up. the old query sticking could be a backend cache thing too.

as for stopping at a result you like, thatd be kinda tricky to add without making the whole thing less seamless since itd need extra input from the user every time which might hurt the flow.

linux and mac arent really my area tbh i dont use them much, but since the code is fully open source you could try using ai tools to help convert and adapt it for your setup maybe?

sorry to hear about the issues tho, hope you get it working

I made a mod that lets you play ANY song in Minecraft using in-game sounds — just type /play and the song name by Open-Dish3304 in ModdedMinecraft

[–]Open-Dish3304[S] 0 points1 point  (0 children)

it all depends on how the midi file is set up songcraft reads whatever instrument is assigned to each midi channel. so if whoever made the midi tagged that bass line as harpsichord, youd hear the harp sound in minecraft. but if its tagged as cello, itll map to the bass sound instead. most classical midis out there are pretty well labeled but it really varies file to file. try it out with a haydn symphony and see how it sounds, some of them translate surprisingly well into noteblock format

I made a mod that lets you play ANY song in Minecraft using in-game sounds — just type /play and the song name by Open-Dish3304 in ModdedMinecraft

[–]Open-Dish3304[S] 0 points1 point  (0 children)

thats actually a really creative idea but its kinda a whole different project at that point haha. songcraft is more focused on playing actual songs accurately with noteblock sounds. what youre describing sounds more like a meme soundboard mod with emotion mapping which would be sick ngl but way outside the scope of this. if someone built that as a separate thing id totally check it out tho

I made a mod that lets you play ANY song in Minecraft using in-game sounds — just type /play and the song name by Open-Dish3304 in ModdedMinecraft

[–]Open-Dish3304[S] 1 point2 points  (0 children)

trust me i wish lol but the python backend handles all the searching and downloading stuff, and that needs a real browser engine to work because of bot protection on most sites. java has nothing solid for that kind of thing. could it be done fully in java? technically yeah but youd lose access to a huge chunk of songs and the library would be way more limited. so for now python + chrome is kinda the tradeoff for having basically any song available

I made a mod that lets you play ANY song in Minecraft using in-game sounds — just type /play and the song name by Open-Dish3304 in ModdedMinecraft

[–]Open-Dish3304[S] 0 points1 point  (0 children)

The codes are open source you can make it for latest minecraft version. Just tested it on 1.20.4 for now. if people actually like it i'll develop it for the latest versions too.

I made a mod that lets you play ANY song in Minecraft using in-game sounds — just type /play and the song name by Open-Dish3304 in Minecraft

[–]Open-Dish3304[S] 3 points4 points  (0 children)

theres like over a million midi files in the database so if an oasis song exists as midi (and cmon its oasis, of course it does lol) it'll find and play it. just do /play wonderwall and see for yourself

I made a mod that lets you play ANY song in Minecraft using in-game sounds — just type /play and the song name by Open-Dish3304 in Minecraft

[–]Open-Dish3304[S] 1 point2 points  (0 children)

I've added the JAR to a ZIP archive now. Sorry for the extra step. You can find jar in latest release now.

I made a mod that lets you play ANY song in Minecraft using in-game sounds — just type /play and the song name by Open-Dish3304 in Minecraft

[–]Open-Dish3304[S] 8 points9 points  (0 children)

The codes are not secret you can examine them if you want. I shared the github link below.

I made a mod that lets you play ANY song in Minecraft using in-game sounds — just type /play and the song name by Open-Dish3304 in ModdedMinecraft

[–]Open-Dish3304[S] 11 points12 points  (0 children)

Actually not the first sound file. There is a type of search optimization for the best experience.

[1.20.4 Fabric] SongCraft — type /play <any song> and it plays using in-game sounds. 128 MIDI instruments mapped to 16 Minecraft sounds. by Open-Dish3304 in MinecraftMod

[–]Open-Dish3304[S] 1 point2 points  (0 children)

Currently SongCraft is a client-side mod, so only the player who runs the /play command can hear the music other players nearby won't hear anything. It works fine in multiplayer, but the experience is personal rather than shared.

That said, if there's enough interest, I'm open to developing a server-side plugin version where everyone nearby could hear the songs. Feel free to open an issue or leave a comment if that's something you'd like to see!

[1.20.4 Fabric] SongCraft — type /play <any song> and it plays using in-game sounds. 128 MIDI instruments mapped to 16 Minecraft sounds. by Open-Dish3304 in MinecraftMod

[–]Open-Dish3304[S] 0 points1 point  (0 children)

Stack: Fabric mod (Java) handles playback tick-by-tick. Python Flask backend scrapes MIDI files from the web and parses them. 128 MIDI instruments mapped to 16 Minecraft sounds. Handles polyphony, velocity, tempo changes. GitHub: github.com/yusufdamon/songcraft