Hydrogenaudio Forum => General Audio => Topic started by: cbuchner1 on 2001-10-02 07:19:09

Title: Results of audio experiments
Post by: cbuchner1 on 2001-10-02 07:19:09

As a spinoff of my efforts to create my very own, experimental audio codec, I have created a very nice audio effect. As an example, I processed the song "Radio #1" by the French band "Air". The processed sample is provided here (for educational purpose only. No copying!).

http://home.san.rr.com/sandiegodiaries/audio/chorale.mp3 (http://home.san.rr.com/sandiegodiaries/audio/chorale.mp3)

I do not provide the original sample for copyright reasons. You will find it on filesharing systems if need be. In technical terms, what I am doing here can be described as follows:

1) Form FFTs of 65536 (2 ^ 16) samples, windowed (multiplied) with a sinusoidal function.

2) Transform real/imaginary coefficients into magnitude/phase representation

3) Randomize the phase

4) perform an inverse FFT

5) add the resulting signal to the output WAVE file and advance by 16384 samples (that is 1/4 of the transform size)

6) Loop till end of sample reached.

This can be seen as an extreme demonstration of the effect of "pre-echo" in audio coding.  ;-) The effect of temporally smoothing/smearing transient signals is demonstrated here in a very exaggerated way.

The randomization of phase information removes any temporal localization of information within the transform block. Transient signals will be smeared over time. The sinusoidal window function blends the individual transform blocks so you don't hear any breaks or clicks between transform blocks.

You will notice that the percussion is smeared so badly that it almost sounds like breaking waves at the beach. And the vocals sound like a chorale in a cathedral, hence the name of the sample ;-)

Title: Results of audio experiments
Post by: tangent on 2001-10-02 09:11:18
Originally posted by cbuchner1
3) Randomize the phase

Would this give you weird random surround effects as well? Cool
Title: Results of audio experiments
Post by: TrNSZ on 2001-10-03 02:52:04
Title: Results of audio experiments
Post by: cbuchner1 on 2001-10-03 06:39:39
Originally posted by TrNSZ
Do you have any code available for this?

I'd be interested in checking it out on a few different samples and see what happens.

Unfortunately, ... no.

I developed that analysis/synthesis code for an audiocodec.
This audio effect I tried was just a quick experiment. Meanwhile this program has evolved further:

Now it produces horribly big compressed audio files with bad artifacts. ;-)
SimplePortal 1.0.0 RC1 © 2008-2021