I was hoping to get away without having to document it :) Oh well.
Since cmake prefers out-of-source builds it's easy enough if you read the
README.cmake, so super short version:
1. Autotools build
$ ./configure
$ make
$ cd src
$ ./c2enc 1300 ~/svn/freetel/codec2-dev/raw/hts1a.raw - | ./c2dec 1300 -
hts1a_outa.raw
2. cmake release build (-O3)
$ mkdir build_linux
$ cd build_linux
$ cmake ../
$ make
$ cd src
$ ./c2enc 1300 ~/svn/freetel/codec2-dev/raw/hts1a.raw - | ./c2dec 1300 -
hts1a_outb.raw
3. cmake Release w/ Debuginfo (-O2)
$ mkdir build_linux2
$ cd build_linux2
$ cmake -DRelWithDebInfo=TRUE ../
$ make
$ cd src
$ ./c2enc 1300 ~/svn/freetel/codec2-dev/raw/hts1a.raw - | ./c2dec 1300 -
hts1a_outc.raw
4. Octave comparisons
Copy all the output .raw files into one place. You'll also need octave, see
the README in the octave dir for which modules are needed...
(from main source dir)
$ cd octave
$ octave
(change path below to where you put the raw files)
octave:1> pl2("../../hts1a_outc.raw","../../hts1a_outa.raw")
(If you have X then you should see two graphs. If not, you'll see a curses
based graph that tells you enough, but isn't pretty, to do better:)
octave:2> print(1,'graph1','-dpng')
octave:3> print(2,'graph2','-dpng')
The first one shows side by side comparison, the second graph is the 'diff"
I believe.
Thanks,
Richard
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
Freetel-codec2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freetel-codec2