Decode VTX Music?

Emulator and emulator development specific topics
Post Reply
First Spear
Posts: 1
Joined: Tue Jan 05, 2016 3:41 am

Decode VTX Music?

Post by First Spear »

Hey all.

I am attempting to decode the VTX music format.

My understanding from https://github.com/gasman/libayemu/blob ... format.txt is that the format has header information and the sound-sequence data is like the YM3 format. I found the YM3 data specification at http://leonard.oxg.free.fr/ymformat.html.

In the
oldmcdonald.zip
Old McDonald VTX music file.
(1.14 KiB) Downloaded 264 times
sample file, I was able to extract the metadata bytes from 0-136. It appears that bytes 137 to EOF are music. I think I am supposed to read the remainder of the file in 14-byte chunks to collect voice/noise/pitch data. But I do not understand how to interpret those bytes.

The first 14 bytes in the sample file are

Code: Select all

03 16 6a  7d  f6  ad  47 fe  b6  df  55 b5  f3  5e
how do I convert that to bits/register info? What I want to know is which voice should play (1 or 2 or 3 or noise), the pitch, and the duration.

Thanks! I'm happy that I found this forum!
Post Reply