GLBasic forum

Main forum => GLBasic - en => Topic started by: mentalthink on 2011-Sep-29

Title: How extract in audio file, the Spectrum of the WaveForm
Post by: mentalthink on 2011-Sep-29
This question, it´s a contuinity about another post about the time of a sound file.

Well at this point, I like if it´s possible, extract the info of a simple .wav or better .mp3, I need (but not necessary), for the UI of my Level Editor, to have visible the Spectrum of the Sample, so I know when I have to up or down the volume.

Kinds Regards,
Iván J.

Title: Re: How extract in audio file, the Spectrum of the WaveForm
Post by: Hemlos on 2012-Jun-17

WAV file format...you can extract the sample info using glbasic read commands.
How? youll need to learn wav structure format.
Theres images of this on google image section.
Title: Re: How extract in audio file, the Spectrum of the WaveForm
Post by: mentalthink on 2012-Jun-17
HI Hemlos thanks... I think someone comment me about Fourier Transform... Now my Editor, it´s not finished I don´t use in my Game... but I think after make it, I try to make it...

Thanks for the info
Title: Re: How extract in audio file, the Spectrum of the WaveForm
Post by: mentalthink on 2012-Jun-17
Thanks ocean I take a look you told me... sometimes it´s more complex know how it´s named the things to do, than make it (I´m sure I´m not capable to do this, but I take a look)...

Thaks for all answers!!!  :good:  :booze:
Title: Re: How extract in audio file, the Spectrum of the WaveForm
Post by: matchy on 2012-Jun-18
The new FMod does this but sadly offline.
http://www.glbasic.com/forum/index.php?topic=2248.0
Title: Re: How extract in audio file, the Spectrum of the WaveForm
Post by: Hemlos on 2012-Jun-18
New FMOD is 4 years old lol...where is z0r?