Mercurial > hg > tuning-difference
changeset 60:7ec2825479f2
Further update to README
author | Chris Cannam |
---|---|
date | Thu, 11 Jul 2019 10:58:18 +0100 |
parents | d13130dd25aa |
children | eace35be49f5 |
files | README README.md |
diffstat | 2 files changed, 58 insertions(+), 41 deletions(-) [+] |
line wrap: on
line diff
--- a/README Thu Jul 11 10:52:15 2019 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,41 +0,0 @@ - -Plugin to calculate comparative tuning of recordings ----------------------------------------------------- - -This plugin estimates the tuning frequency ("concert-A") of one or -more recordings, by comparing against with a "reference" recording of -the same music that has a known tuning frequency. It was designed for -the purpose of identifying the tuning frequency of an unknown -recording in difficult cases, such as where A is tuned more than a -semitone below 440Hz. - -The reference could be another performance made at a known tuning -frequency or, for example, an audio rendering from MIDI at A=440Hz. - -For the plugin to establish the tuning frequency correctly, the two -recordings must be in the same key. Alternatively, you can use this -plugin to estimate the pitch difference between two recordings played -in different keys - where the result will consist of the difference -attributable to key plus any difference in tuning. - -The plugin expects to receive two or more different recordings of the -same piece of music as its channels of input; the first channel will -be taken as the reference, and the remaining channels will be -individually compared against it. (You can provide this channel layout -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: - -$ export VAMP_PATH=. # if running from the build directory - -$ 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, 2015-2019
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/README.md Thu Jul 11 10:58:18 2019 +0100 @@ -0,0 +1,58 @@ + +Tuning Difference Plugin +======================== + +### A Vamp plugin to calculate comparative tuning of recordings + + * Home page and downloads: https://code.soundsoftware.ac.uk/projects/tuning-difference + * Linux and macOS CI build: [](https://travis-ci.org/cannam/tuning-difference) + +This [Vamp plugin](http://vamp-plugins.org/) estimates the tuning +frequency ("concert-A") of one or more recordings, by comparing +against with a "reference" recording of the same music that has a +known tuning frequency. It was designed for the purpose of identifying +the tuning frequency of an unknown recording in difficult cases, such +as where A is tuned more than a semitone below 440Hz. + +The reference could be another performance made at a known tuning +frequency or, for example, an audio rendering from MIDI at A=440Hz. + +For the plugin to establish the tuning frequency correctly, the two +recordings must be in the same key. Alternatively, you can use this +plugin to estimate the pitch difference between two recordings played +in different keys - where the result will consist of the difference +attributable to key plus any difference in tuning. + +The plugin expects to receive two or more different recordings of the +same piece of music as its channels of input; the first channel will +be taken as the reference, and the remaining channels will be +individually compared against it. (You can provide this channel layout +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 + +Example usage from the command line using [Sonic +Annotator](https://vamp-plugins.org/sonic-annotator/): + +``` +$ export VAMP_PATH=. # if running from the build directory + +$ 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 +``` + +### Author and licence + +Written by Chris Cannam at the Centre for Digital Music, Queen Mary +University of London. Copyright 2015-2019 QMUL. Published under the +GPL v2, see the file COPYING for details. +