Strona: [  << <   1   > >>  ]  z  1     
Autor Temat: CAPTURE BUFER
gala




Typ: neutral
Postów: 2
Zarejestrowany: Feb 2003
CAPTURE BUFER

I loocked at sdk, but there is a example, how to capture
sound from sound card like this:
1. initialize directx
2. initialize soundbufer at xx size
3. start cature the sound (after 'start' press)
4. stop capture the sound (after 'stop' press)
5. save sound from bufer to file (after 'save' press)

but I need, to analize the sound in real time, so I think
I need to do:
1. initialize directx
2. initialize soundbufer at xx size
  (but what size should be capture bufer at ?
    Is it dependent on FFT size which I will use
    to determine frequency of signal?
    How long should be bufer for example 512pt FFT
    size?)
3. start cature the sound (after ex.: 'power'press)
4. stop capture the sound (after xx size is in the
  bufer - is it corect?)?
5. analize data in bufer FFT with 512 pt algorithm?
6. show the result of analize on screen
7. repeat from point 3 until 'stop' is not presed?

Is this algorithm correct ?

Odpowiedzi moga byc po angielsku lub po polsku

16-02-2003 20:16
Pokaż profil gala  Wyślij email do gala   
Wszystkich odpowiedzi: 0 :: Maxymalnie na stronę: 20
Strona: [  << <   1   > >>  ]  z  1