Blargel and I started brainstorming about the WAV issue and we concluded there is a limit to using WAV files as SFX. And the limit is highly suspected < ~2 megabytes.
How did I test this? I used an original ZUN sfx ( se_extend.wav ) and started repeating it few times in audacity so the lenght increases etc. No matter how I lengthened or shortened it from 60 seconds to 30 seconds and so on, the wav file would keep cutting off. Then suddenly at 20 seconds, I got it working but also noticed the file size was relative small. To eliminate this I started testing the filesize differences.
30 seconds - 22khz Stereo 32bit - filesize ~3mb --> Gets cut off
30 seconds - 22khz Mono 16bit - filesize ~1.5mb --> No cutting off
45 seconds - 22khz Stereo 32bit - filesize ~3.4mb --> Gets cut off
45 seconds - 22khz Mono 16bit - filesize ~2.07mb --> Gets cut off <-- Note, it is just above 2mb
?10:17:34? <Helepolis> original was 45 seconds -> stereo 32bit -> filesize 3.40mb --> cuts off
?10:17:43? <Helepolis> I am suspecting the max filesize = 2mb somehow
?10:17:54? <Helepolis> But I need to produce a wav file that reaches this limit
?10:17:57? <Helepolis> let me continue to test. got now a file 2.07mb
?10:18:46? <Helepolis> and it got cut off, 49 seconds
?10:18:52? <Helepolis> lets see if I can bring it down even further
?10:19:41? <Helepolis> yep it is filesize
?10:19:44? <KimoKeine> we need to figure out what causes mp3s to loop badly too lol
?10:19:53? <Helepolis> Filesize limits WAV usage
?10:19:57? <Helepolis> the limit is suspected 2mb
?10:20:00? <Helepolis> 2.07mb got cutoff
?10:20:03? <KimoKeine> time to post lol
?10:20:04? <Helepolis> anything below not
Finally I made a 49 seconds wav file, 16khz! Mono 16bit, filesize 1.50mb ( below 2 ) and it didn't got cut off. Conclusion: Estimated memory limit for WAV files is ~2mb.
Perhaps this is also the reason why other wav files which are played simultaneously get cut off. I don't know if Danmakufu uses the 2mb as buffer memory or each file is allowed to be < ~2mb.
So yea, there you go folks.
Edit:
Edit. Unfortunate, it is not even 2mb, maybe even less ( atleast what I encountered ). My danmakufu wav file got cut off being 1.97mb. I would advise people to experiment and try to stick as close as possible to 1.50mb