While playing around with the noteblocks in Minecraft I wondered if it was possible to load my own samples in. And I definitely found a way (Resource Packs). Because I didn't want to search for the correct Filename (in a thousand something line long JSON file) and didn't want to convert each sample into an ogg file, I wrote a small helper program for it.
Minecraft Sample Importer
How to run the Program?
Download the .jar File from the GitLab Page and double click on it. If anything doesn't work as intended (specifically on macOS) close it and try it again with:
I had an Issue where the open dialog would not show Files in my home Folders (macOS Big Sur 11.2.3) but running it over the terminal fixed this issue. I'm searching for a fix.
After you added your Files to the corresponding Block you can click "Create Resource Pack" and save it somewhere you find it again. Drag the .zip File into your Minecraft Resource Pack Folder and apply it. After reloading your resources the sounds should be loaded and you can play with your Samples in-Game!
By default Minecraft Note sounds are pitched down an octave. To fix this, either click 12 times on the note block or pitch the sample up before importing it into my program.