Hello,
I'm composing some music with AddmusikK, and I'm experimenting with inserting custom samples.
I have a WAV file containing a sound (some percussion), I want to insert. I use snesbrr to convert it to brr:
I put this brr file into "AddmusikK/music/custom/samples/sample.brr" (my soundtrack is in "AddmusikK/music/custom/song.txt") and I also put a copy of the brr file into "AddmusicK/samples/sample.brr" (I'm not sure yet where it needs to be or if I really need copies or so, I'm confused).
My first issue was that the brr file has an invalid length: the file size minus 2 shall be a multiple of 9. I used a hex editor and padded some zeroes at the end of the file, now it's accepting my sample. This is my setup in my song.txt:
I convert this to an SPC file using:
UPDATE: I replaced my brr file with one from a soundtrack from this website and it works. Looks like something is wrong with the wav -> brr conversion :/
I'm composing some music with AddmusikK, and I'm experimenting with inserting custom samples.
I have a WAV file containing a sound (some percussion), I want to insert. I use snesbrr to convert it to brr:
Code
snesbrr.exe -e sample.wav sample.brr
I put this brr file into "AddmusikK/music/custom/samples/sample.brr" (my soundtrack is in "AddmusikK/music/custom/song.txt") and I also put a copy of the brr file into "AddmusicK/samples/sample.brr" (I'm not sure yet where it needs to be or if I really need copies or so, I'm confused).
My first issue was that the brr file has an invalid length: the file size minus 2 shall be a multiple of 9. I used a hex editor and padded some zeroes at the end of the file, now it's accepting my sample. This is my setup in my song.txt:
Code
#amk2 #SPC { ... } #samples { #optimized "sample.brr" } #instruments { ... ; some custom instruments using @8, @13, n1F etc. "sample.brr" $8F $E0 $00 $03 $00 ; @39 } #0 @39 o4 c1 c1 c1 c1
I convert this to an SPC file using:
Code
. Playing the SPC file in my audio player, I hear anything but my custom sample. Any ideas what it is caused by? Is there some tutorial for AddmusikK + snesbrr, showing how exactly to insert custom samples?AddmusikK.exe -norom custom/song.txt
UPDATE: I replaced my brr file with one from a soundtrack from this website and it works. Looks like something is wrong with the wav -> brr conversion :/