0
0

Hi everyone!
.XM Module have Samples & Instruments…
Names of Samples I can get using this code:

FMUSIC_MODULE* mod;
FSOUND_SAMPLE* samp;

mod = FMUSIC_LoadSong(“C:\………something.XM”);

int sampnum = FMUSIC_GetNumSamples(mod);

for(int i = 0; i<sampnum; i++)
{
samp = FMUSIC_GetSample(mod,i);
printf(“Sample %d – %s”, i, FSOUND_Sample_GetName(samp));
}

int instrument_num = FMUSIC_GetNumInstruments(mod);

?
?
?

So, my question is how can I get Names of Instruments? (Like in Winamp)
Thanks a lot…:-)

  • You must to post comments
0
0

I had to parse the header by my own to get the instrument name, btw, it isn’t a really hard task :)

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.