I got my game to work with FamiTone. It plays some example music and sound effects.
Now I wanted to try digital samples.
I have the after_the_rain.dmc binary file that includes some sample sounds. I know that I have to call FamiToneSamplePlay with a certain number in the A register that stands for the desired sample sound.
But what do I have to do with the samples themselves? It's a binary file, so I guess I'll have to .incbin it somewhere in RODATA. But then what? How does FamiTone know where to look for the sample?
Now I wanted to try digital samples.
I have the after_the_rain.dmc binary file that includes some sample sounds. I know that I have to call FamiToneSamplePlay with a certain number in the A register that stands for the desired sample sound.
But what do I have to do with the samples themselves? It's a binary file, so I guess I'll have to .incbin it somewhere in RODATA. But then what? How does FamiTone know where to look for the sample?