Re: [fpc-pascal] Good FFT example anywhere?

2017-04-12 Thread Michael Schnell
On 10.04.2017 23:20, Bo Berglund wrote: - A pulse stimulus is applied to the object to measure - The response transient is recorded for up to 150 ms OK. In this case you will not need the "Windowing". Instead you need to make sure that the pulse is surrounded by enough Zero-line data. I

Re: [fpc-pascal] Good FFT example anywhere?

2017-04-11 Thread Michael Schnell
On 09.04.2017 10:06, Bo Berglund wrote: It will produce 8192 samples for each measurement. If the "measurements" come as a sequence of sample-blocks, you additional to the core FFT will need a sliding Window algorithm to e.g. create something like a life spectrum display or do a useful

Re: [fpc-pascal] Good FFT example anywhere?

2017-04-09 Thread Ched
Hi, As an owner of the Numerical Receipes in Pascal, I can say that the sources codes are *very very old* styled and a rewritting to dynamical array of data is a good idea ! The N.R. are probably written by ForTranists :) But ths book contains lots of useful knowledge en tricks for numericians

Re: [fpc-pascal] Good FFT example anywhere?

2017-04-09 Thread Rolf Grunsky
On 2017-04-09 04:06 AM, Bo Berglund wrote: I am looking for some good example of FFT functions in pascal but it seems like what Google serves up is rather old and refers to Turbo-pascal and the like... So maybe someone here knows about some open-source example of FFT using FreePascal (or

Re: [fpc-pascal] Good FFT example anywhere?

2017-04-09 Thread fredvs
> As you can see it uses double, which means you will be OK to supply > both single and integer values, just load the array with them and they > will be converted. Many thanks for answer. Hmmm, it seems magic and very simple to use. Ok, I will try with my audio library. By the way (who

Re: [fpc-pascal] Good FFT example anywhere?

2017-04-09 Thread Bo Berglund
On Sun, 9 Apr 2017 08:01:07 -0700 (MST), fredvs wrote: >Hello. > >> I was using attached unit some 7 years ago for various speech processing >> purposes. > >+ @Martin > >Can those units be used for sound samples (array of float32 or array ot >integer 32/16) ? > The unit

Re: [fpc-pascal] Good FFT example anywhere?

2017-04-09 Thread Bo Berglund
On Sun, 9 Apr 2017 11:22:00 +0300, Žilvinas Ledas wrote: > >On 2017-04-09 11:06, Bo Berglund wrote: >> I am looking for some good example of FFT functions in pascal but it >> seems like what Google serves up is rather old and refers to >> Turbo-pascal and the like... >>

Re: [fpc-pascal] Good FFT example anywhere?

2017-04-09 Thread Adriaan van Os
I am looking for some good example of FFT functions in pascal but it seems like what Google serves up is rather old and refers to Turbo-pascal and the like... But note that even a perfect FFT will suffer from some side-effects

Re: [fpc-pascal] Good FFT example anywhere?

2017-04-09 Thread Marco van de Voort
In our previous episode, Bo Berglund said: > Turbo-pascal and the like... > So maybe someone here knows about some open-source example of FFT > using FreePascal (or Delphi)? When I looked around I was also pointed towards IPP and FFTW, but shied away from the license consequences (reapllying

Re: [fpc-pascal] Good FFT example anywhere?

2017-04-09 Thread Adriaan van Os
Bo Berglund wrote: I am looking for some good example of FFT functions in pascal but it seems like what Google serves up is rather old and refers to Turbo-pascal and the like... So maybe someone here knows about some open-source example of FFT using FreePascal (or Delphi)? I want to analyze the

Re: [fpc-pascal] Good FFT example anywhere?

2017-04-09 Thread Žilvinas Ledas
On 2017-04-09 11:06, Bo Berglund wrote: I am looking for some good example of FFT functions in pascal but it seems like what Google serves up is rather old and refers to Turbo-pascal and the like... So maybe someone here knows about some open-source example of FFT using FreePascal (or Delphi)?

Re: [fpc-pascal] Good FFT example anywhere?

2017-04-09 Thread Martin Schreiber
On Sunday 09 April 2017 10:06:41 Bo Berglund wrote: > I am looking for some good example of FFT functions in pascal but it > seems like what Google serves up is rather old and refers to > Turbo-pascal and the like... > So maybe someone here knows about some open-source example of FFT > using