Anyway for making a less sized generated vgm

For anything related to sound (YM2612, PSG, Z80, PCM...)

Moderator: BigEvilCorporation

Post Reply
bastien
Very interested
Posts: 208
Joined: Mon Jun 25, 2007 7:19 pm
Location: Besançon,France
Contact:

Anyway for making a less sized generated vgm

Post by bastien » Fri Aug 31, 2012 8:14 pm

Hi all,
i search a new way for making Sound for Sega Genesis with SGDK.
until now i used the TFM driver but it's need to write all the pattern manually and the tfe format isn't very documented for making a conversion tools.

So i have started to search a tools with can take a midi file at input and made a VGM File ( maybe a futur SGDK feature :wink: )
I have find the nineko's mid2vgm 0.002 Beta
That's soft works great but the vgm seems to be very sized : 215Ko for 1min of midi.

Here is the result with the FF5 intro and mic_s vgm player :
http://sega4ever.power-heberg.com/tutod ... _Intro.BIN

Did you know a better way ?
Thanks

TmEE co.(TM)
Very interested
Posts: 2440
Joined: Tue Dec 05, 2006 1:37 pm
Location: Estonia, Rapla City
Contact:

Post by TmEE co.(TM) » Fri Aug 31, 2012 8:46 pm

You need to use VGM optmization tools on the VGM to get the size down.
Mida sa loed ? Nagunii aru ei saa ;)
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen

MIKE-STAMP
Interested
Posts: 28
Joined: Sat Dec 08, 2007 10:50 pm
Location: UK
Contact:

Post by MIKE-STAMP » Sat Sep 01, 2012 5:55 am

There is 233Kb of samples in that vgm file.
Not all the length of the samples are used so reductions could be made with the correct software. This file uses v1.61 dac streaming so I do not know whether there is any software available to optimize this yet.
The sample rate is 44100 so you could reduce that also.

bastien
Very interested
Posts: 208
Joined: Mon Jun 25, 2007 7:19 pm
Location: Besançon,France
Contact:

Post by bastien » Sat Sep 01, 2012 8:46 am

hi,
thanks for the fastest reply,
i use vgm cmp pour try to reduce the size but i will earn just 2Ko ;)
did you know a tools for reduce the vgm sample to 16Khz ?

MIKE-STAMP
Interested
Posts: 28
Joined: Sat Dec 08, 2007 10:50 pm
Location: UK
Contact:

Post by MIKE-STAMP » Sat Sep 01, 2012 3:23 pm

I am currently writing a tool to solve your problem.
It should be complete very soon, it would have been done hours ago
But I had to go to bed.

MIKE-STAMP
Interested
Posts: 28
Joined: Sat Dec 08, 2007 10:50 pm
Location: UK
Contact:

Post by MIKE-STAMP » Sat Sep 01, 2012 6:37 pm

I have written the optimizer, It reduced the file to 41KB.
http://www.mediafire.com/download.php?dkh0iwrs443l8y2

bastien
Very interested
Posts: 208
Joined: Mon Jun 25, 2007 7:19 pm
Location: Besançon,France
Contact:

Post by bastien » Sat Sep 01, 2012 6:52 pm

You !
You are a genius :twisted:
Thanks you very much :D

Chilly Willy
Very interested
Posts: 2984
Joined: Fri Aug 17, 2007 9:33 pm

Post by Chilly Willy » Sat Sep 01, 2012 7:29 pm

MIKE-STAMP wrote:I have written the optimizer, It reduced the file to 41KB.
http://www.mediafire.com/download.php?dkh0iwrs443l8y2
Any chance of that being put under an open source license or at least recompiled for other platforms? Maybe perhaps even added to the tools with sgdk? :D

Post Reply