Hi All, I have the same problem: I'm trying to record from USB Microphone audio devices (mono source).
I test two sources at the same time, mono and stereo. I'm using the library from the trunk.
The output from the stereo source is ok.
The output from the mono source is more faster (twice) and half length (in time), but the basic frequencies (tune) are ok (as when a speed filter is applied).
Also using the simplerecorder demo.
@Fred I have some changes for uos.pas, there are, for example, some problems if you edit the define.inc and exclude bs2b and noiseremoval. I added some compiler directives ($IF DEF). For example:
destructor Tuos_DSP.Destroy;
begin
if assigned(fftdata) then
begin
{$IF DEFINED(noiseremoval)}
if assigned(fftdata.FNoise) then FreeAndNil(fftdata.FNoise);
{$endif}
FreeandNil(fftdata);
end;
end;
Also:
- for x2 := 0 to StreamIn[x].Data.WantFrames do
+ for x2 := 0 to StreamIn[x].Data.WantFrames-1 do
Thanks for your great work.