[CLAM] Can I get text output from the tonal analysis of CLAM Network Editor?
parumi at iua.upf.edu
Wed Sep 12 01:49:46 PDT 2007
En/na abiewu ha escrit:
> I am AbieWu from Taiwan.
> I used CLAM Network Editor and was interested in the Tonal Analysis example.
> However, the outputs of this example were graphical monitors.
> Can I get the text output to do further calculation from the output of
> tonal analysis?
> Would you please teach me how to do it?
you have two ways do this
1. Modify TonalAnalysis processing adding std::cout's then pipe the
output to another file. To do this, first create a network with
NetworkEditor. Its execution can be done either from NetworkEditor
itself or NetworkEditor/OfflinePlayer command line tool (convenient
for batch processing).
In CLAM/src/Processing/Analysis/Tonal/TonalAnalysis.cxx line 130
you can see how the chordCorrelation array (belonging to an
outport) is filled.
2. Directly use the the binary Annotator/ClamExtractorExample which
writes the data in xml format.
More information about the clam-users