maxl0rd / standingwave3

Flash ActionScript3 dynamic audio library
http://www.noteflight.com
162 stars 28 forks source link

FadeInFilter Bug #7

Open Iosyf opened 14 years ago

Iosyf commented 14 years ago

Hi, first of all 10x for the most optimized AS3 DSP solution on the web! The bug I found is that FadeInFilter doesn't work properly but only creates glitch sounds out of my mp3 loop. The code is like:

var desc:AudioDescriptor = new AudioDescriptor();
var src:IAudioSource = new SoundSource(new Loop); //Loop is my Sound class
var amp:IAudioSource = new FadeInFilter(src, 4);
player.play(amp);

I tried assigning 'amp' var with: AmpFilter(src, new ADSREnvelopeGenerator(desc, 2, 0, 1, 0.7, 3));

In this case I get silence in attack phase while decay, hold and release work correctly.

Any suggestions?

konungwolf commented 13 years ago

I have it, too. Also, there are some problems with ResamplingFilter. The outgoing sound is terrible. glitches and gabling... Is it feature?

Another problem is a very long pause (and my HDD goes mad) before I hear the sound when I use play(src) at first time.

Hope your help and excuse me for my English. ;)