Join also our Discord channel! Click here.

[Wii] U-Sing *.myspd Audiofiles

Get help on any and all audio formats, or chip in and help others!
Post Reply
Polefish
veteran
Posts: 94
Joined: Sat Jun 20, 2009 1:47 pm
Has thanked: 16 times
Been thanked: 13 times

[Wii] U-Sing *.myspd Audiofiles

Post by Polefish » Sat Jan 09, 2010 11:51 am

The contents of this post was deleted because of possible forum rules violation.

Lifestyle
ultra-n00b
Posts: 1
Joined: Sat Jan 09, 2010 3:50 am
Has thanked: 1 time

Re: [Wii] U-Sing *.myspd Audiofiles

Post by Lifestyle » Sat Jan 09, 2010 3:07 pm

There is also an directory called axdemo which contains spd/spt pairs.

There is also a directory compressor.

I thing it's possible, that the myspd file is compressed with this tool.

hcs
mega-veteran
mega-veteran
Posts: 263
Joined: Sun Oct 18, 2009 9:41 pm
Location: Portland, OR
Has thanked: 3 times
Been thanked: 73 times
Contact:

Re: [Wii] U-Sing *.myspd Audiofiles

Post by hcs » Sun Jan 10, 2010 9:52 pm

IMA (DVI-order), one channel in its entirety then the other. If you want to decode it right now, try sox:

sox -r 32000 -N -t ima audio1.myspd out.wav

I'll poke at adding it to vgmstream.

Not DVI, the other one. Added to vgmstream r724.

Polefish
veteran
Posts: 94
Joined: Sat Jun 20, 2009 1:47 pm
Has thanked: 16 times
Been thanked: 13 times

Re: [Wii] U-Sing *.myspd Audiofiles

Post by Polefish » Sun Jan 10, 2010 10:48 pm

Wow, this was fast :o Thank you.
Out of curiosity how did you found out? Could you explain what the bytes in the header are for pls?
Would be nice to learn more about such things.

hcs
mega-veteran
mega-veteran
Posts: 263
Joined: Sun Oct 18, 2009 9:41 pm
Location: Portland, OR
Has thanked: 3 times
Been thanked: 73 times
Contact:

Re: [Wii] U-Sing *.myspd Audiofiles

Post by hcs » Sun Jan 10, 2010 11:51 pm

The data just had an IMA-y look to it, so I ran it through sox and sure enough it worked. I don't know what all of the header means, but I do have the following (32-bit big endian as is native for Wii):

0x00: size of a channel, in bytes (there are two channels per file, first starts at 0x20, second is this many bytes later)
0x04: sample rate (32khz)
0x08 and 0x0c: unknown (seems to be channel size * 8 - 4, maybe bit offset of last sample as IMA is 4-bit?)
0x10: last sample (sample count -1, also channel size * 2 - 1 as there are 2 samples per byte)
0x14: unknown (FF FF 00 00 on one and 00 00 00 00 on the other)

Didn't have a whole lot to look at, but this was enough to be able to play it, at least for those two files. All I use is the channel size and sample rate.

Post Reply