Re: How do I create a spectral view for wav files?



ShiningMasamune@xxxxxxxxx wrote:
Greetings all. I'm currently coding a multimedia-related program that
will deal with wav files. My program will have a display on which the
wav file will be visually represented, similiar to Cool Edit and other
audio editing programs. Normal waveform display is pretty simple; it's
basically just measureing the peaks of the audio data. However, I'd
also like to implement what Cool Edit calls "Spectral" view. Cool
Edit's help file describes this view as time being the X-axis,
frequency being the Y-axis, and amplitude being the Z-axis (represented
by colors of varying brightness, dark blue to red to bright yellow). I
can't quite figure out how I'm supposed to code that. Can anyone
describe in more detail exactly how a spectral view is calculated, or
perhaps link me to a page that would help me out in this regard?


The Fast Fourier Transform (FFT) is a well-known compute-intensive algorithm that produces a frequency spectra of a series of amplitude samples. Most audio editors use the FFT for various forms of display.

Check out the Frequency Analyzer source code & tutorial here:
http://www.relisoft.com/Freeware/index.htm

--
Scott McPhillips [VC++ MVP]

.



Relevant Pages

  • Re: How do I create a spectral view for wav files?
    ... will deal with wav files. ... Normal waveform display is pretty simple; ... basically just measureing the peaks of the audio data. ... also like to implement what Cool Edit calls "Spectral" view. ...
    (microsoft.public.win32.programmer.mmedia)
  • Re: how to add tooltips to excel udfs i created?
    ... Can display a tooltip (a window with some text, ... userform if coding in VBA) to appear next to a cell while mouse hovers over ... Identify when user enters edit mode ...
    (microsoft.public.excel.programming)
  • Re: DB Result Wizard Error
    ... open the hidden folder /_fpclass/ and edit the ... > For instance Equipment Serial Number, Equipment Model Number, Cost Accounting ... > to display the new equipment information. ... > is in the table was added to the query. ...
    (microsoft.public.frontpage.programming)
  • Re: Despite Data Entry = False the edit box appears for the list & fields overflow
    ... Use the MsoBoundSpan element to display the data, ... "Karen Middleton" wrote in message ... > query and I have published a data Access page against the Access ... > access page shows all the cells data in a Edit box even though I ...
    (microsoft.public.access.dataaccess.pages)
  • Re: Launching EQW on a 48
    ... Do you mean to display (and edit) an existing algebraic, ... to add an EDITB command to an old "48" ... "ViewLevel1" is not phased by any object type, ...
    (comp.sys.hp48)