What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Help decode .wav

Help decode .wav
Author: Message:
aNILEator
Skinning Contest Winner
*****

Avatar
...in the wake of the aNILEator

Posts: 3718
Reputation: 90
35 / Male / Flag
Joined: Oct 2003
Status: Away
O.P. Help decode .wav
Ok i recently got a mobile phone data transfer cable, previously i recorded a wav  ringtone using the inbuilt recorder on the phone i've copied this wav form my phone to my computer to find out how its coded (so that i can make my own tones on pc and transfer them to mobile) but i have failed, my phone is an MC 60 here is the .wav

Good luck and thankyou

.zip File Attachment: anywhere.zip (111.42 KB)
This file has been downloaded 142 time(s).
04-01-2005 06:12 PM
Profile PM Web Find Quote Report
Ezra
Veteran Member
*****

Avatar
Forgiveness is between them and God

Posts: 1960
Reputation: 31
37 / Male / Flag
Joined: Mar 2003
RE: Help decode .wav
Stream 0

Media Type 0:
--------------------------
AM_MEDIA_TYPE:
majortype: MEDIATYPE_Stream {E436EB83-524F-11CE-9F53-0020AF0BA770}
subtype: MEDIASUBTYPE_WAVE {E436EB8B-524F-11CE-9F53-0020AF0BA770}
formattype: TIME_FORMAT_NONE {00000000-0000-0000-0000-000000000000}
bFixedSizeSamples: 1
bTemporalCompression: 0
lSampleSize: 1
cbFormat: 0


Media Type 1:
--------------------------
AM_MEDIA_TYPE:
majortype: MEDIATYPE_Stream {E436EB83-524F-11CE-9F53-0020AF0BA770}
subtype: TIME_FORMAT_NONE {00000000-0000-0000-0000-000000000000}
formattype: TIME_FORMAT_NONE {00000000-0000-0000-0000-000000000000}
bFixedSizeSamples: 1
bTemporalCompression: 0
lSampleSize: 1
cbFormat: 0


Maybe that helps :S

EDIT: Allright, i got it...

You need the codec : dvi_adpcm (0x0011) Intel Corporation

I'm looking for it, but havn't found it yet.

EDIT2: This codec is implemented in library C:\WINNT\System32\quartz.dll and it is a default codec for windows 2000. I don't know if it also comes with other windows versions.

This post was edited on 04-01-2005 at 07:17 PM by Ezra.
[Image: 1-0.png]
             
04-01-2005 07:10 PM
Profile PM Web Find Quote Report
RaceProUK
Elite Member
*****

Avatar

Posts: 6073
Reputation: 57
39 / Male / Flag
Joined: Oct 2003
RE: Help decode .wav
.WAV files are encoded using PCM. Most PCs, Windows or otherwise, should have some form of PCM decoder (software or hardware), so should just play. The same should hold true for the phone.

Unless of course, it's compressed with some fancy codec, like AVIs can be compressed using DivX.

This post was edited on 04-01-2005 at 07:40 PM by RaceProUK.
[Image: spartaafk.png]
04-01-2005 07:39 PM
Profile PM Web Find Quote Report
Ezra
Veteran Member
*****

Avatar
Forgiveness is between them and God

Posts: 1960
Reputation: 31
37 / Male / Flag
Joined: Mar 2003
RE: Help decode .wav
If found another thread about that codec I was talking about

http://www.hydrogenaudio.org/forums/lofiversion/index.php/t14141.html

EDIT: I have the codec, but still i'm unable to render the file :S

This post was edited on 04-01-2005 at 08:05 PM by Ezra.
[Image: 1-0.png]
             
04-01-2005 08:02 PM
Profile PM Web Find Quote Report
TheGeek
Full Member
***

Avatar
Excuse my geekyness.

Posts: 179
Reputation: 15
34 / Male / –
Joined: Feb 2005
RE: Help decode .wav
quote:
Originally posted by Fukafly
Ok i recently got a mobile phone data transfer cable, previously i recorded a wav  ringtone using the inbuilt recorder on the phone i've copied this wav form my phone to my computer to find out how its coded (so that i can make my own tones on pc and transfer them to mobile) but i have failed, my phone is an MC 60 here is the .wav

Good luck and thankyou

I have the same phone so i'm wondering if its possible to transfer a file without a data cable? (with a service that sends it to your phone or something?)
[Image: 468x60banner.png]
04-01-2005 08:46 PM
Profile E-Mail PM Web Find Quote Report
aNILEator
Skinning Contest Winner
*****

Avatar
...in the wake of the aNILEator

Posts: 3718
Reputation: 90
35 / Male / Flag
Joined: Oct 2003
Status: Away
O.P. RE: Help decode .wav
i have a program to do this similar, it takes your IP address then you go to your wap browser and type in fopr example

http://196.00.00.00/WAP/blah.mid

but transfer cable is cooler :P

I can't even play the wav on my computer. i have got a few polyphonic ringtone programs so maybe i'll have a play with them
04-01-2005 11:45 PM
Profile PM Web Find Quote Report
aNILEator
Skinning Contest Winner
*****

Avatar
...in the wake of the aNILEator

Posts: 3718
Reputation: 90
35 / Male / Flag
Joined: Oct 2003
Status: Away
O.P. RE: Help decode .wav
the ringtone programs did shit anyone else got a hunch of how to do this?

Its really quite silly ¬_¬
05-05-2005 11:51 PM
Profile PM Web Find Quote Report
Concord Dawn
Veteran Member
*****

Avatar
This is a loopy fruit.

Posts: 1203
Reputation: 16
34 / Male / –
Joined: Feb 2004
RE: Help decode .wav
quote:
Originally posted by Fukafly
the ringtone programs did shit anyone else got a hunch of how to do this?

Its really quite silly ¬_¬

RTFM perhaps? :dodgy:
[Image: 7.png]
05-06-2005 12:28 AM
Profile E-Mail PM Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15517
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: Help decode .wav
quote:
Originally posted by Ezra
Stream 0

Media Type 0:
--------------------------
(...)

Media Type 1:
--------------------------
(...)


Maybe that helps :S
Those things are of no use though...
quote:
Originally posted by Ezra
If found another thread about that codec I was talking about: http://www.hydrogenaudio.org/forums/lofiversion/index.php/t14141.html
That thread is about something entirly different...
quote:
Originally posted by Ezra
EDIT: I have the codec, but still i'm unable to render the file :S
Yep, because the file has errors and improper coding information:

After checking the wave file myself manually:

The "fmt" chunck in the file has wrong (missing?) values...

  • FourCC: 0x0011
  • Wave Format (codec): DVI_ADPCM *Intel Corporation
  • Channels: 1 (=mono)
  • number of frames per second (Sample Rate): 8000 Hz
  • number of bytes per second (AvgBytesPerSecond): 0 (This is stored wrong AFAIK; this shouldn't be 0 and will render many playback software useless)
  • number of bytes per frame: (Block Alignment): 0 (This is stored wrong AFAIK; this shouldn't be 0)
  • number of bits per sample (BitsPerSample): 0 bps(This is stored wrong AFAIK; this shouldn't be 0, but in this case 3 or 4)
  • number of samples per block: (SamplesPerBlock): 0 bps (This is stored wrong AFAIK; although this value can also be calculated from the above values, this shouldn't be 0 as software can and will use this value to initialize buffers)

All this makes that the file will not be playable unless you know (and fix) the proper values first within the file. To do this you need to learn about the DVI_ADPCM fileformat and DVI_ADPCM decoding/encoding format and how to hexedit a file. This probably requires much guessing and also studying the data stored within the file to determine the original and proper values.

To find specific info about this particular format (and codec) I suggest to search for the very old "riffnew.doc" from microsoft, a file which can be found in some "Programmer's References" from MS-Press. I don't have the document anymore, but I remember it describes the RIFF wave format in all its details and it is quite possible you can find old references to it by searching google for "riffnew.doc" (eg: links to "MS development kits" or "SDK's" which contain this doc).

This post was edited on 05-06-2005 at 03:19 AM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
05-06-2005 02:43 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On