Author Topic: Audio Signal Processing for Music Applications  (Read 19281 times)

Gunther

  • Member
  • *****
  • Posts: 4198
  • Forgive your enemies, but never forget their names
Re: Audio Signal Processing for Music Applications
« Reply #45 on: October 18, 2014, 10:48:30 PM »
Marinus,

This is really a great book. Learned a lot from it and the explanations are very well done.

so it seems that it's worth the effort.  :t

Gunther
You have to know the facts before you can distort them.

Siekmanski

  • Member
  • *****
  • Posts: 2725
Re: Audio Signal Processing for Music Applications
« Reply #46 on: October 19, 2014, 02:02:38 AM »
Hi Gunther,
yes, it's not that difficult to read, and the explanations are very good also for beginners.
Creative coders use backward thinking techniques as a strategy.

Siekmanski

  • Member
  • *****
  • Posts: 2725
Creative coders use backward thinking techniques as a strategy.

Gunther

  • Member
  • *****
  • Posts: 4198
  • Forgive your enemies, but never forget their names
You have to know the facts before you can distort them.

guga

  • Member
  • *****
  • Posts: 1467
  • Assembly is a state of art.
    • RosAsm
Re: Audio Signal Processing for Music Applications
« Reply #49 on: October 22, 2014, 04:21:33 AM »
Ok, now i saw your fft analyser. Excllent work.

Will you release the source ? I would like to take a look at it how you managed to make the spectrum works.

Question. Can you make the spectrum be zoomed ? I mean, like we see in IzotopeRX or Audacity where the whole audio data is displayed and not just in runtime.
Coding in Assembly requires a mix of:
80% of brain, passion, intuition, creativity
10% of programming skills
10% of alcoholic levels in your blood.

My Code Sites:
http://rosasm.freeforums.org
http://winasm.tripod.com

Siekmanski

  • Member
  • *****
  • Posts: 2725
Re: Audio Signal Processing for Music Applications
« Reply #50 on: October 22, 2014, 08:40:26 AM »
Hi guga,

The routines for the FFT you can download here: see Reply #16
The analyzer is nothing more than a 1024 sample FFT normalized.

The magnitude spectrum is calculated as follows :
 do the FFT routine.
 Get the sqrt((Real*Real)+(Imag*Imag)) for every 512 positive complex sample. ( this is the first half of the FFT output)
 Then draw the result as lines to the screen.

To zoom the spectrum as i think you mean is choose an offset in your audiodata and do the FFT with the amount of samples you like 1024, 2048, 4096 etc.... and draw them to the screen.
Or get for example 200 audio samples and fill the rest with zeros to 2048 samples total and then do a FFT of 2048.
Now you have the frequency response of 200 samples zoomed out over 1024 output bins.
Creative coders use backward thinking techniques as a strategy.