[Clam-devel] Turnaround: Hop and size

David García Garzón dgarcia at iua.upf.edu
Fri Aug 8 03:41:00 PDT 2008


Pawel, as i told you before you need to set the hop and frameSize to the ones 
the analysis decides. The code to do such a thing is:

const unsigned hop = analysis.GetInPort("Audio Input").GetHop();
const unsigned frameSize = analysis.GetInPort("Audio Input").GetSize();

Later you tell:
frameDivision->SetInterCenterGap(frameSize);
When you should tell
frameDivision->SetInterCenterGap(hop);

And don't forget to start the network aftert all the monitors are setup.
If you start it before, the network will access to data that is not 
initialized.

Ask for help if you get blocked. Few days to pencils down.


-- 
David García Garzón
(Work) dgarcia at iua dot upf anotherdot es
http://www.iua.upf.edu/~dgarcia
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.clam-project.org/pipermail/clam-devel-clam-project.org/attachments/20080808/5e11fd73/attachment-0003.pgp>


More information about the clam-devel mailing list