Skip to main content
1-Visitor
November 11, 2014
Question

New to Mathcad and need to read .wav file for frequency and dB level

  • November 11, 2014
  • 2 replies
  • 3351 views

I just got Mathcad roughly a few days ago and I need to run a dB and spectral analysis on a .wav file I recorded. I am brand new to this software and don't know where to start. If anyone can help or lead me in the right direction, that'd be awesome.

Erik

2 replies

25-Diamond I
November 11, 2014

Erik Quiroz wrote:

I just got Mathcad roughly a few days ago and I need to run a dB and spectral analysis on a .wav file I recorded. I am brand new to this software and don't know where to start. If anyone can help or lead me in the right direction, that'd be awesome.

Erik

You may want to look up the command READWAV, WRITEWAV and GETWAVINFO in Mathcads help.

Furthermore it would be a good idea to look at the "Signal Processing Extension Pack" E-Book (-> Help - E.Books).

19-Tanzanite
November 12, 2014

Read the file using READWAV and GETWAVINFO, convert it to the frequency domain using cfft, normalize the y-axis correctly for intensity or power, calibrate the x-axis based on the sampling interval. The attached might help with getting a dB scale.

1-Visitor
November 12, 2014

I couldn't open the XMCDZ file type in Mathcad. I'm currently using Mathcad 1.0 and the file types it uses are MCDX.

Also I'm having a bit of trouble plotting the WAV data matrix into a time domain plot. I'm following the Example: Forward Transform CFFT under the Mathcad 1.0 Help Center and I need help up to step 7.

23-Emerald I
November 12, 2014

If you're using Mathcad Prime 1.0 then you're in trouble.

You are eligible for a copy of Mathcad 15.0, necessary to translate from the older versions to Prime.

Richard's files will open and execute in 15. I have serious doubts if Prime (even at the current version 3) could do what you ask.