vgmrips

The forum about vgm files
It is currently 2017-10-17, 22:25:53

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: YM2612 DAC and fading
PostPosted: 2012-12-08, 22:52:50 

Staff Staff
Programmers Programmers
Offline
User avatar

Joined: 2012-04-22, 4:03:45
Posts: 203
Location: New York, NY, USA
ValleyBell wrote:
Sorry, but it's impossible to merge v1.50 VGMs that use data blocks due to the way they work.
Merging v1.60 VGMs into 2x YM2612 DAC works. (see this mid2vgm 2612 merge test)


I just played this just now w/VGMPlay 040-3, and the fade out after the loop doesn't fade out the DAC, only the FM. Might want to look into this.

Note: Split from VGM Tool Collection topic by VB on 2012-12-10


Top
 Profile  
 
 Post subject:
PostPosted: 2012-12-09, 0:27:38 

Staff Staff
Programmers Programmers
Musicians Musicians
Contributors Contributors
Offline
User avatar

Joined: 2011-12-01, 20:20:07
Posts: 2821
Location: Germany
It isn't supposed to fade out. I just took a MIDI and threw it into mid2vgm and this MIDI contained 2 loops of the song + fade out.
(Also, I made that VGM to test vgmmerge, so I put only minimal effort into it.)


Top
 Profile  
 
 Post subject:
PostPosted: 2012-12-09, 4:00:36 

Staff Staff
Programmers Programmers
Offline
User avatar

Joined: 2012-04-22, 4:03:45
Posts: 203
Location: New York, NY, USA
Ohhhhhhhh; that's hilarious! The fade out I meant was the automatic fade out VGMPlay does when you only play a single looping file instead of a playlist, but to find out that the source MIDI file set it up like that makes me smile. :D


Last edited by neologix on 2012-12-09, 4:01:04, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: 2012-12-09, 13:40:24 

Staff Staff
Programmers Programmers
Musicians Musicians
Contributors Contributors
Offline
User avatar

Joined: 2011-12-01, 20:20:07
Posts: 2821
Location: Germany
You still didn't get it (the MIDI itself fades on all channels), but won't continue the discussion here.


Top
 Profile  
 
 Post subject:
PostPosted: 2012-12-10, 11:17:08 
Offline

Joined: 2011-12-09, 13:47:34
Posts: 54
Location: Tampa, FL, USA
I think VB means that, for some inexplicable reason, the 6th 2612 channel, when in 8-bit PCM mode, has no volume control. Period. That's why, in the Sonic series for example, when they fade out the song, they completely cut off the PCM channel, because they couldn't find a workaround otherwise.

(Did I get it right?)

_________________
Until next post...


Last edited by JFD62780 on 2012-12-10, 11:19:39, edited 2 times in total.

Top
 Profile  
 
 Post subject:
PostPosted: 2012-12-10, 11:51:51 

Staff Staff
Programmers Programmers
Musicians Musicians
Contributors Contributors
Offline
User avatar

Joined: 2011-12-01, 20:20:07
Posts: 2821
Location: Germany
Yes, that's correct.
If there is mixing and/or volume control this has to be done in software. (And this results in entirely different sample data.)
All of this stuff requires lots of CPU, so most games just stream the sample data as is to get higher sample rates.


Top
 Profile  
 
 Post subject:
PostPosted: 2012-12-10, 21:06:55 

Staff Staff
Programmers Programmers
Offline
User avatar

Joined: 2012-04-22, 4:03:45
Posts: 203
Location: New York, NY, USA
That's what I was hearing, then. Carry on :)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 2 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