# HG changeset patch # User Chris Cannam # Date 1394614271 0 # Node ID f5b9bae2a8c348043078ec2281f9eee7c113ac0f # Parent e9b6295784884a0883ea5ddc073c926ee134af64 Copyrights etc diff -r e9b629578488 -r f5b9bae2a8c3 COPYING --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/COPYING Wed Mar 12 08:51:11 2014 +0000 @@ -0,0 +1,22 @@ + + CHP + Copyright (c) 2014 Queen Mary, University of London + + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation + files (the "Software"), to deal in the Software without + restriction, including without limitation the rights to use, copy, + modify, merge, publish, distribute, sublicense, and/or sell copies + of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY + CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF + CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff -r e9b629578488 -r f5b9bae2a8c3 ConstrainedHarmonicPeak.cpp --- a/ConstrainedHarmonicPeak.cpp Mon Mar 10 14:51:09 2014 +0000 +++ b/ConstrainedHarmonicPeak.cpp Wed Mar 12 08:51:11 2014 +0000 @@ -1,3 +1,26 @@ +/* + CHP + Copyright (c) 2014 Queen Mary, University of London + + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation + files (the "Software"), to deal in the Software without + restriction, including without limitation the rights to use, copy, + modify, merge, publish, distribute, sublicense, and/or sell copies + of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY + CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF + CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +*/ #include "ConstrainedHarmonicPeak.h" diff -r e9b629578488 -r f5b9bae2a8c3 ConstrainedHarmonicPeak.h --- a/ConstrainedHarmonicPeak.h Mon Mar 10 14:51:09 2014 +0000 +++ b/ConstrainedHarmonicPeak.h Wed Mar 12 08:51:11 2014 +0000 @@ -1,3 +1,27 @@ +/* + CHP + Copyright (c) 2014 Queen Mary, University of London + + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation + files (the "Software"), to deal in the Software without + restriction, including without limitation the rights to use, copy, + modify, merge, publish, distribute, sublicense, and/or sell copies + of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY + CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF + CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +*/ + #ifndef CONSTRAINEDHARMONICPEAK_H #define CONSTRAINEDHARMONICPEAK_H diff -r e9b629578488 -r f5b9bae2a8c3 README --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/README Wed Mar 12 08:51:11 2014 +0000 @@ -0,0 +1,16 @@ + +Constrained Harmonic Peak plugin +================================ + +This is a simple Vamp plugin that returns the peak frequency within a +given frequency range, from a harmonic product spectrum. + +(The whole available frequency range is used in calculating the +harmonic spectrum, but only the peak frequency within the range +specified by the plugin's parameters is returned in the result.) + +It was quickly written to provide a simple way to obtain frequencies +within a user-provided range, for use in the Tony +(http://code.soundsoftware.ac.uk/projects/tony/) pitch annotation +application. + diff -r e9b629578488 -r f5b9bae2a8c3 plugins.cpp --- a/plugins.cpp Mon Mar 10 14:51:09 2014 +0000 +++ b/plugins.cpp Wed Mar 12 08:51:11 2014 +0000 @@ -1,3 +1,26 @@ +/* + CHP + Copyright (c) 2014 Queen Mary, University of London + + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation + files (the "Software"), to deal in the Software without + restriction, including without limitation the rights to use, copy, + modify, merge, publish, distribute, sublicense, and/or sell copies + of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY + CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF + CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +*/ #include #include