# Audio file de-/encoding question

**URL:** <https://www.ruby-forum.com/t/audio-file-de-encoding-question/175643>\
**Category:** Ruby\
**Created:** [September 16, 2009, 11:44pm UTC](https://www.ruby-forum.com/t/audio-file-de-encoding-question/175643 "2009-09-16T23:44:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Axel\_E](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/7c8e57/32.png) [@Axel\_E](https://www.ruby-forum.com/u/Axel_E)\
**Post date:** [September 16, 2009, 11:44pm UTC](https://www.ruby-forum.com/t/audio-file-de-encoding-question/175643/1 "2009-09-16T23:44:17Z")

</div>

Dear all,

I need to convert some \*wav files to their spectrum to be able to change  
some of the frequencies and loudnesses in them and to re-encode these  
afterwards as \*wav files.

Can you recommend any Ruby libraries that can do this (easily) ?

Thank you very much!

Best regards,

Axel

---

<div class="post-metadata">

**Author:** ![Axel\_E](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/7c8e57/32.png) [@Axel\_E](https://www.ruby-forum.com/u/Axel_E)\
**Post date:** [September 17, 2009, 9:26am UTC](https://www.ruby-forum.com/t/audio-file-de-encoding-question/175643/2 "2009-09-17T09:26:41Z")

</div>

Axel E. wrote:

> Axel

Hi Axel,

never tried it, but ruby/audio ([http://hans.fugal.net/src/ruby-audio/](http://hans.fugal.net/src/ruby-audio/))  
may provide the functionality you need. the narray library is part of  
it, which has FFT-processing as a feature.

hth  
Ralf
