joncampbell123 / dosbox-x

DOSBox-X fork of the DOSBox project
GNU General Public License v2.0
2.75k stars 381 forks source link

Add feature to capture OPL events to .VGM format. #4504

Open Corak667 opened 1 year ago

Corak667 commented 1 year ago

Is your feature request related to a problem? Please describe.

Hi there. There still no support for .vgm format. It's extremely popular in vgmrips team and they still using old official dosbox with VGM mod: https://vgmrips.net/ Your dosbox-x have VERY useful features for vgm rippers:

  1. Savestates.
  2. Pause with opened interrups.

What you want

Please add feature to capture OPL events to .VGM format. It currently more actural for vgm rippers and have much more utilites and chips supported.

Describe alternatives you've considered

There is already VGM mod from vgmrips team by NewRisingSun2 and ValleyBell: https://vgmrips.net/forum/viewtopic.php?f=3&t=2585&hilit=Dosbox Latest build from 2017: https://vgmrips.net/forum/download/file.php?id=481 src diffs: https://vgmrips.net/forum/download/file.php?id=480

Additional information

dosbox-r4000-vgmcapture.zip DOSBox-VGM build.zip

Have you checked that no similar feature request(s) exist?

Code of Conduct & Contributing Guidelines

zhblue commented 1 year ago

Yes! I have been switching between dosbox-x and dosbox-vgm quite a while, if the capture capability is integrated into dosbox , there will be a lot more fun.

joncampbell123 commented 12 months ago

Speaking of patches, any interest in the "multi track audio capture"? Which is basically WAV capture except audio is written to an AVI and each mixer audio channel is given it's own stream in the AVI file. The intent is that you can use it to record in a way that you can easily separate the FM synth from the Sound Blaster output if needed in video editing, for example.

joncampbell123 commented 12 months ago

https://vgmrips.net/wiki/VGM_Specification

joncampbell123 commented 12 months ago

I wonder if the VGM format could be expanded to record GF1 Gravis Ultrasound events too, since there seems to be consideration of PCM sample uploads in the VGM format.

joncampbell123 commented 12 months ago

Yes! I have been switching between dosbox-x and dosbox-vgm quite a while, if the capture capability is integrated into dosbox , there will be a lot more fun.

I'm for it. Do you need me to do it or do you plan on making a pull request?

johnnovak commented 12 months ago

Speaking of patches, any interest in the "multi track audio capture"? Which is basically WAV capture except audio is written to an AVI and each mixer audio channel is given it's own stream in the AVI file.

Just noting that the WAV format does support arbitrary number of channels, you don't need AVI for that. In fact, AVI is worse I think because then you can not use standard audio editing tools easily or at all to edit the multichannel data (such as REAPER and SoundForge).

In Staging, I'll definitely implement this as a multichannel WAV writer.

Torinde commented 11 months ago

@Corak667, you put thumbs up on Jon's question, but what is your answer:

  1. you plan on making a pull request
  2. you need Jon to do it
Corak667 commented 11 months ago

1 - I'm not a coder, so i cannot pull request there. 2 - Jon is spec in Dosbos-X, so he will do it bettter