The forum about vgm files
It is currently 2019-06-16, 19:35:16

All times are UTC + 1 hour [ DST ]

Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: 2019-01-26, 9:07:56 

Joined: 2019-01-26, 8:28:21
Posts: 1
I wanted to know if there is anyway to mute individual samples and synths in pre-existing VGMs whether to edit it's soundbank, force to play only one synth at a time via VGM player, etc?

For example a VGM (specifically with YM) might have 10 FM patches which alternate between 4 or 5 YM2612 channels with the DAC channel constantly swapping between samples.

Random VGM Song:
FM 1
FM 2
FM 3
FM 4
FM 5
FM 6
FM 7
FM 8
FM 9
FM 10
Sample 1 - Kick Drum
Sample 2 - Snare Drum
Sample 3 - Tom Drum
Sample 4 - Voice Sample

I want to be able to play VGMs with only one of these synths/samples playing for the entire duration of the VGM with silence at places other instruments were meant to play. The first VGM copy would only play FM1, second VGM would only play FM2, and so on up until the final sample that plays in the file which would be the 14th VGM in this case. All versions would retain the exact song length in that case.

Thanks in advance.

 Post subject:
PostPosted: 2019-01-26, 13:20:43 

Contributors Contributors
Staff Staff
Reverse engineers Reverse engineers
User avatar

Joined: 2013-07-17, 23:32:39
Posts: 376
Not that I'm aware of. you can mute channels but not individual instruments.

 Post subject:
PostPosted: 2019-06-13, 2:31:23 
User avatar

Joined: 2019-05-16, 8:27:23
Posts: 13
Location: San Francisco, CA
This is a very good question.
Can this information even be recovered in theory from VGM format?

Listen to chip music ♫

 Post subject:
PostPosted: 2019-06-16, 19:17:24 

Staff Staff
Programmers Programmers
Musicians Musicians
Contributors Contributors
Reverse engineers Reverse engineers
User avatar

Joined: 2011-12-01, 20:20:07
Posts: 3120
Location: Germany
The difficulty of recovering information about instruments from VGM files depends on the sound chip:
  • The PCM part of OPL4 and OKIM6295 have a large instrument/sample table at the beginning of the ROM, so it's easy with them.
  • Other PCM chips allow you to set start/loop/end points. Getting samples needs a bit of effort, but works well. (as proven by vgm_sro)
  • FM chips let you set up certain parameters (ADSR envelope, how the operators of a single channel are connected, etc.). You can extract instruments with some more effort.
    Sound drivers are able to change instruments while a note is playing though. Or they might adjust some filters depending on time or note. So the results aren't always perfect. (see vgm2tfi/vgm2opm/2612edit)
  • When using PSG chips like the SN76489 and AY8910, "instruments" are controlled by modifying the frequency and volume registers in realtime.
    That means that the concept of an "instrument" is completely on the side of the sound driver, so reconstructing instruments is very hard.

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour [ DST ]

Who is online

Users browsing this forum: No registered users and 3 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
[ Time : 0.214s | 19 Queries | GZIP : On ]