furnace icon indicating copy to clipboard operation
furnace copied to clipboard

OPLL Drums Triggering Without Note

Open Toonlink8101 opened this issue 2 years ago • 3 comments

When using the 18xx effect with OPLL, drums that aren't being triggered are sounding. See attachment for an example: effect 18xx is broken.zip

Toonlink8101 avatar May 06 '22 19:05 Toonlink8101

For the record, I'm currently using this build of Furnace.

Toonlink8101 avatar May 06 '22 19:05 Toonlink8101

@Toonlink8101 OPL drum mode has been reworked a bit, so that drums have their own separate instrument type. Please try now.

freq-mod avatar Jun 01 '22 13:06 freq-mod

So, it seems the issue has been partially fixed.

With dedicated drum channels, (drum channel on) the drum triggering issue is not present. However, regular instruments can no longer be played (I'm not sure if that was possible before).

Without dedicated drum channels, the drums seem to work initially, but there are some issues that arise, especially when mixing drums with regular instruments. I will link an example module below, but put simply, drums are still triggering without being told to. More specifically, regular instruments seem to be triggering drums when they shouldn't be able to.

Additionally, it seems that there are some irregularities with the volume of notes played before a drum is triggered. Muted instruments are initialized, and held notes are not reinitialized. This may or may not be related to #429, which is also still present.

Drum mode bug testing.zip

Toonlink8101 avatar Jun 01 '22 14:06 Toonlink8101

Without dedicated drum channels, the drums seem to work initially, but there are some issues that arise, especially when mixing drums with regular instruments. I will link an example module below, but put simply, drums are still triggering without being told to. More specifically, regular instruments seem to be triggering drums when they shouldn't be able to.

No further support whatsoever is going to be added for DefleMask's way of doing drums.

tildearrow avatar Nov 16 '22 03:11 tildearrow

No further support whatsoever is going to be added for DefleMask's way of doing drums.

That is understandable. In fact, I think that's for the best. Regardless, Furnace still has bugs with its implementation of the drum channel toggle.

I have collected some of these issues in this single file for demonstration: Drum mode is still super broken.zip

Please note the following:

  • When toggling drum mode off, the frequency of the drum note is carried over to the next new note. The new frequency of the first tonal note should be C, but it is instead an A, from the fixed kick frequency.
  • After playing a note on the Tom channel, toggling the drum channel back on will trigger the Top sound
  • After playing a note in the kick or Tom channel while drum mode is off, toggling drum mode on will trigger the kick and the Top (not the Tom as I expected). This can even be heard when muting all channels, which is even odder.
  • After playing any note in channels 8 or 9 with drum mode off, either by 18xx or by chip selection, will cause a frequency to continue after the note has been released. This can easily be heard with the high note played on the Snare channel. I thought this one might be a hardware limitation, but the bug is completely absent when exporting to VGM. I originally brought this in the following issue: #429

If any of this needs a new issue, I'd be happy to make it.

Due to these many bugs, I personally find Furnace's OPLL support to be practically unusable unless Drum mode is permanently kept on.

Toonlink8101 avatar Nov 16 '22 18:11 Toonlink8101

I see what is going on. It appears that toggling drums mode via effect will not restore the state prior to the change...

tildearrow avatar Feb 12 '23 20:02 tildearrow

It appears I may have hit some possible hardware limitations but not sure.

tildearrow avatar Aug 09 '23 23:08 tildearrow

effect 18xx is broken now passes. Drum mode is still super broken now passes.

Marking as fixed.

tildearrow avatar Aug 10 '23 04:08 tildearrow

@tildearrow It seems to be much better than it was, but I'm still getting an odd sound with this other file I didn't submit before: Drum mode switching is broken.zip

This seems to only occur when switching from drum instruments to regular instruments when "YM2413 (OPLL)" is selected. The issue does not seem to be present with the "YM2413 (drum mode)" option.

From what I can tell, this might be some kind of weird patch-switching artifact. Is this a hardware exploit or is this still broken?

Here's a newer file that better showcases the issue: now only drum instruments are broken.zip

Toonlink8101 avatar Aug 10 '23 20:08 Toonlink8101

It seems to be much better than it was, but I'm still getting an odd sound with this other file I didn't submit before: Drum mode switching is broken.zip

No further support for DefleJank. Sorry. Won't fix. Use drums mode chip.

Closing as both fixed and won't fix.

tildearrow avatar Aug 11 '23 02:08 tildearrow