Nezogoku / lbrt2midi

A small program that converts Patapon lrt files to midi files and readable csv files.
3 stars 0 forks source link

LBRT2MIDI TikTakTok [ 17 ] Soundfont missing some sounds #1

Open LatusPL opened 5 months ago

LatusPL commented 5 months ago

LBRT2MIDI itself plays TikTakTok normally but SF2 is missing those sounds.

Nezogoku commented 4 months ago

I've been mulling over this issue and... I still have no idea what that means. If it was a matter of the song not playing properly then that would be one thing. The SF2 file missing sounds is a little weird though, especially if it doesn't seem to negatively impact what is played back. I'm currently separating the MIDI converting portion and the SF2 converting portion into separate programs so I'll have to look into that once I start working on the SF2 thingy.

LatusPL commented 4 months ago

Ok... Recently now I had problems with even playing tiktaktok in LBRT2MID... I tried playbacking the same way as the other soundtracks which worked but TikTakTok [ 17 ] simply said invalid LBRT file when trying to play

On Wed, 14 Feb 2024, 21:55 Cheena, @.***> wrote:

I've been mulling over this issue and... I still have no idea what that means. If it was a matter of the song not playing properly then that would be one thing. The SF2 file missing sounds is a little weird though, especially if it doesn't seem to negatively impact what is played back. I'm currently separating the MIDI converting portion and the SF2 converting portion into separate programs so I'll have to look into that once I start working on the SF2 thingy.

— Reply to this email directly, view it on GitHub https://github.com/Nezogoku/lbrt2midi/issues/1#issuecomment-1944575959, or unsubscribe https://github.com/notifications/unsubscribe-auth/A232PYCO6OLQWVQ3BCQV3OTYTUQEVAVCNFSM6AAAAABCY5GTZSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBUGU3TKOJVHE . You are receiving this because you authored the thread.Message ID: @.***>

Nezogoku commented 4 months ago

This and future versions of this program only accept midi, sf2, and lrt files. If you were trying to use an sgd file, then that's likely the cause as I removed the converting features. Otherwise, there shouldn't be much change from how the previous version operated.

LatusPL commented 4 months ago

image

LatusPL commented 4 months ago

I was testing tiktaktok again and this time worked but irt1 didn't... also gotta check midi and soundfont image

LatusPL commented 4 months ago

When trying to recreate the midi through soundfont, Well some sounds are missing like in other soundfonts but tiktaktok is the most noticable image

PS. I noticed that soundfont didn't even register the missing samples of the soundfont and only 2 keys can be played instead of 7

LatusPL commented 3 months ago

actually I was using 4.0, I tested 6.0 but it gave Me issues

Nezogoku commented 3 months ago

Huh, just skimmed through the code for version 4.0. I think the problem was that I assigned the bank number for each sample to a value in the sgxd file that wasn't guaranteed to be the correct one, of which caused some sounds to be assigned to the wrong bank. I think I did this off and on throughout each version (or I possibly only did this in version 4.0). Maybe keep trying earlier versions until the sounds show up correctly; I'm fairly certain that all of the sounds are in there, just not assigned right. I'm not at my computer right now since we're packing, so I can't do a thorough check.

Nezogoku commented 3 months ago

I have a bit more of an understanding of soundfont files so, theoretically, the sgd_extractor should have less issues with converting to .sf2 format once I finish moving the feature over. Until then, previous versions of this programme will have to be used to do the conversion while the latest one is used to actually handle the .lrt/.midi stuff.

LatusPL commented 3 months ago

Good to know, I've been remaking some of the BGMs but I would rly like to remake TikTakTok just because yes.