# HG changeset patch # User Chris Cannam # Date 1423132699 0 # Node ID 8c07e9da36c91d882b80a523b72e8c5fd119b7ae # Parent de942cbe5b27daa50b26ddcdc6846457d86e0199 Example diff -r de942cbe5b27 -r 8c07e9da36c9 README --- a/README Thu Feb 05 10:33:14 2015 +0000 +++ b/README Thu Feb 05 10:38:19 2015 +0000 @@ -17,4 +17,15 @@ using the --multiplex option in Sonic Annotator, for example.) If you feed it a single piece of music, you won't get anything worthwhile. +Example usage: + +$ sonic-annotator -m -d vamp:tuning-difference:tuning-difference:tuningfreq PreludeInCMajorBWV846.mp3 BWV846Egarr.mp3 -w csv --csv-stdout --csv-omit-filename + +Here the first file is a MIDI rendering using a piano sample at 440Hz, +and the second is a harpsichord recording tuned with A=397Hz. After +processing, this prints + +0.000000000,397.009 + + Chris Cannam, Feb 2015