My tracker (Arkos Tracker 2) successfully generates YM, but till now, without digidrums. I started implemented that, and for reason unknown, the digidrums simply do NOT work. NOTHING can be heard (the music sounds very fine except that).
I wondered if anyone could "debug" this tiny and very simple YM6, which has only one sample (index 0), played every 24 frames on channel B, without any other sound.
In header, you can see that:
- The frame count is #180
- The song attribute is 1 (interleaved). I use signed sample, but setting bit 1 doesn't change anything.
- There is one sample declared, its size is #1646.
Since I only want to play drums, and nothing else, all my registers show 0, except:
Reg 3, at #1b05:
value #20 every 24 frames. According to the doc, bit 5-4 indicates the channel where to play the digidrum:
00 = nothing
01 = channel A
10 = channel B
11 = channel C
So my value is "0b100000" to play on channel B, hence #20.
Reg 7 is always #3f (all sound and noise to off).
Reg 8 at #2285 indicates the volume (here, 0 because no digidrum on channel A), and TP (Timer predivisor), on bit 7-5. I use a predivisor of 4, so encoded as 1 (according to the doc), hence 0b00100000, or #20. Once again, this is triggered every 24 frames.
Reg 9 at #2405 shows either the volume (I have none, as I only have digidrum), or the sample number. In my case, this is still 0 because I only have one sample. So, 0 all along this register.
Reg 15 is the TC (Timer Counter). I used #4c. I tried using higher and lower values, but nothing changes.
So, where is my mistake?? I have also switched my sample with a sample from a madmax song, but I still don't hear a thing. I compared my bytes with other music with digidrums, and can not find anything wrong. Please help, I'm getting crazy on this
For information, all the offset of the registers, for faster browsing:
Reg 0 = #1685
Reg 1 = #1805
Reg 2 = #1985
Reg 3 = #1b05
Reg 4 = #1c85
Reg 5 = #1e05
Reg 6 = #1f85
Reg 7 = #2105
Reg 8 = #2285
Reg 9 = #2405
Reg 10 = #2585
Reg 11 = #2705
Reg 12 = #2885
Reg 13 = #2a05
Reg 14 = #2b85
Reg 15 = #2d05
Thanks a lot!
You do not have the required permissions to view the files attached to this post.