wolffd@0: The MIRtoolbox 1.3.2 Software Package, Copyright © 2010, University of Jyvaskyla wolffd@0: wolffd@0: Developed by Olivier Lartillot, Petri Toiviainen and Tuomas Eerola Department of Music wolffd@0: lartillo@campus.jyu.fi wolffd@0: wolffd@0: wolffd@0: This program is free software; you can redistribute it and/or modify it wolffd@0: under the terms of version 2 of GNU General Public License as published by wolffd@0: the Free Software Foundation. wolffd@0: wolffd@0: This program is distributed in the hope that it will be useful, but WITHOUT ANY wolffd@0: WARRANTY; without even the implied warranty of MERCHANTABILITY or wolffd@0: FITNESS FOR A PARTICULAR PURPOSE. This is free software, and you are wolffd@0: welcome to redistribute it under certain conditions. See the GNU wolffd@0: General Public License for more details. wolffd@0: wolffd@0: You should have received a copy of the GNU General Public License along with this wolffd@0: program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, wolffd@0: Boston, MA 02111-1307, USA. wolffd@0: wolffd@0: GNU GENERAL PUBLIC LICENSE wolffd@0: wolffd@0: Version 2, June 1991 wolffd@0: wolffd@0: Copyright (C) 1989, 1991 Free Software Foundation, Inc. wolffd@0: 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA wolffd@0: wolffd@0: Everyone is permitted to copy and distribute verbatim copies of this license document, wolffd@0: but changing it is not allowed. wolffd@0: wolffd@0: Preamble wolffd@0: wolffd@0: The licenses for most software are designed to take away your freedom to share and wolffd@0: change it. By contrast, the GNU General Public License is intended to guarantee your wolffd@0: freedom to share and change free software--to make sure the software is free for all its wolffd@0: users. This General Public License applies to most of the Free Software Foundation's wolffd@0: software and to any other program whose authors commit to using it. (Some other Free wolffd@0: Software Foundation software is covered by the GNU Library General Public License wolffd@0: instead.) You can apply it to your programs, too. wolffd@0: wolffd@0: When we speak of free software, we are referring to freedom, not price. Our General wolffd@0: Public Licenses are designed to make sure that you have the freedom to distribute copies wolffd@0: of free software (and charge for this service if you wish), that you receive source code or wolffd@0: can get it if you want it, that you can change the software or use pieces of it in new free wolffd@0: programs; and that you know you can do these things. wolffd@0: wolffd@0: To protect your rights, we need to make restrictions that forbid anyone to deny you these wolffd@0: rights or to ask you to surrender the rights. These restrictions translate to certain wolffd@0: responsibilities for you if you distribute copies of the software, or if you modify it. wolffd@0: wolffd@0: For example, if you distribute copies of such a program, whether gratis or for a fee, you wolffd@0: must give the recipients all the rights that you have. You must make sure that they, too, wolffd@0: receive or can get the source code. And you must show them these terms so they know wolffd@0: their rights. wolffd@0: wolffd@0: We protect your rights with two steps: (1) copyright the software, and (2) offer you this wolffd@0: license which gives you legal permission to copy, distribute and/or modify the software. wolffd@0: wolffd@0: Also, for each author's protection and ours, we want to make certain that everyone wolffd@0: understands that there is no warranty for this free software. If the software is modified by wolffd@0: someone else and passed on, we want its recipients to know that what they have is not the wolffd@0: original, so that any problems introduced by others will not reflect on the original authors' wolffd@0: reputations. wolffd@0: wolffd@0: Finally, any free program is threatened constantly by software patents. We wish to avoid wolffd@0: the danger that redistributors of a free program will individually obtain patent licenses, in wolffd@0: effect making the program proprietary. To prevent this, we have made it clear that any wolffd@0: patent must be licensed for everyone's free use or not licensed at all. wolffd@0: wolffd@0: The precise terms and conditions for copying, distribution and modification follow. wolffd@0: wolffd@0: TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND wolffd@0: MODIFICATION wolffd@0: wolffd@0: 0. This License applies to any program or other work which contains a notice placed by wolffd@0: the copyright holder saying it may be distributed under the terms of this General Public wolffd@0: License. The "Program", below, refers to any such program or work, and a "work based wolffd@0: on the Program" means either the Program or any derivative work under copyright law: wolffd@0: that is to say, a work containing the Program or a portion of it, either verbatim or with wolffd@0: modifications and/or translated into another language. (Hereinafter, translation is wolffd@0: included without limitation in the term "modification".) Each licensee is addressed as wolffd@0: "you". wolffd@0: wolffd@0: Activities other than copying, distribution and modification are not covered by this wolffd@0: License; they are outside its scope. The act of running the Program is not restricted, and wolffd@0: the output from the Program is covered only if its contents constitute a work based on the wolffd@0: Program (independent of having been made by running the Program). Whether that is wolffd@0: true depends on what the Program does. wolffd@0: wolffd@0: 1. You may copy and distribute verbatim copies of the Program's source code as you wolffd@0: receive it, in any medium, provided that you conspicuously and appropriately publish on wolffd@0: each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the wolffd@0: notices that refer to this License and to the absence of any warranty; and give any other wolffd@0: recipients of the Program a copy of this License along with the Program. wolffd@0: wolffd@0: You may charge a fee for the physical act of transferring a copy, and you may at your wolffd@0: option offer warranty protection in exchange for a fee. wolffd@0: wolffd@0: 2. You may modify your copy or copies of the Program or any portion of it, thus forming wolffd@0: a work based on the Program, and copy and distribute such modifications or work under wolffd@0: the terms of Section 1 above, provided that you also meet all of these conditions: wolffd@0: wolffd@0: a) You must cause the modified files to carry prominent notices stating that you wolffd@0: changed the files and the date of any change. wolffd@0: wolffd@0: b) You must cause any work that you distribute or publish, that in whole or in part wolffd@0: contains or is derived from the Program or any part thereof, to be licensed as a whole at wolffd@0: no charge to all third parties under the terms of this License. wolffd@0: wolffd@0: c) If the modified program normally reads commands interactively when run, you wolffd@0: must cause it, when started running for such interactive use in the most ordinary way, to wolffd@0: print or display an announcement including an appropriate copyright notice and a notice wolffd@0: that there is no warranty (or else, saying that you provide a warranty) and that users may wolffd@0: redistribute the program under these conditions, and telling the user how to view a copy wolffd@0: of this License. (Exception: if the Program itself is interactive but does not normally print wolffd@0: such an announcement, your work based on the Program is not required to print an wolffd@0: announcement.) wolffd@0: wolffd@0: These requirements apply to the modified work as a whole. If identifiable sections of that wolffd@0: work are not derived from the Program, and can be reasonably considered independent wolffd@0: and separate works in themselves, then this License, and its terms, do not apply to those wolffd@0: sections when you distribute them as separate works. But when you distribute the same wolffd@0: sections as part of a whole which is a work based on the Program, the distribution of the wolffd@0: whole must be on the terms of this License, whose permissions for other licensees extend wolffd@0: to the entire whole, and thus to each and every part regardless of who wrote it. wolffd@0: wolffd@0: Thus, it is not the intent of this section to claim rights or contest your rights to work wolffd@0: written entirely by you; rather, the intent is to exercise the right to control the distribution wolffd@0: of derivative or collective works based on the Program. wolffd@0: wolffd@0: In addition, mere aggregation of another work not based on the Program with the wolffd@0: Program (or with a work based on the Program) on a volume of a storage or distribution wolffd@0: medium does not bring the other work under the scope of this License. wolffd@0: wolffd@0: 3. You may copy and distribute the Program (or a work based on it, under Section 2) in wolffd@0: object code or executable form under the terms of Sections 1 and 2 above provided that wolffd@0: you also do one of the following: wolffd@0: wolffd@0: a) Accompany it with the complete corresponding machine-readable source code, wolffd@0: which must be distributed under the terms of Sections 1 and 2 above on a medium wolffd@0: customarily used for software interchange; or, wolffd@0: wolffd@0: b) Accompany it with a written offer, valid for at least three years, to give any third wolffd@0: party, for a charge no more than your cost of physically performing source distribution, a wolffd@0: complete machine-readable copy of the corresponding source code, to be distributed wolffd@0: under the terms of Sections 1 and 2 above on a medium customarily used for software wolffd@0: interchange; or, wolffd@0: wolffd@0: c) Accompany it with the information you received as to the offer to distribute wolffd@0: corresponding source code. (This alternative is allowed only for noncommercial wolffd@0: distribution and only if you received the program in object code or executable form with wolffd@0: such an offer, in accord with Subsection b above.) wolffd@0: wolffd@0: The source code for a work means the preferred form of the work for making wolffd@0: modifications to it. For an executable work, complete source code means all the source wolffd@0: code for all modules it contains, plus any associated interface definition files, plus the wolffd@0: scripts used to control compilation and installation of the executable. However, as a wolffd@0: special exception, the source code distributed need not include anything that is normally wolffd@0: distributed (in either source or binary form) with the major components (compiler, kernel, wolffd@0: and so on) of the operating system on which the executable runs, unless that component wolffd@0: itself accompanies the executable. wolffd@0: wolffd@0: If distribution of executable or object code is made by offering access to copy from a wolffd@0: designated place, then offering equivalent access to copy the source code from the same wolffd@0: place counts as distribution of the source code, even though third parties are not wolffd@0: compelled to copy the source along with the object code. wolffd@0: wolffd@0: 4. You may not copy, modify, sublicense, or distribute the Program except as expressly wolffd@0: provided under this License. Any attempt otherwise to copy, modify, sublicense or wolffd@0: distribute the Program is void, and will automatically terminate your rights under this wolffd@0: License. However, parties who have received copies, or rights, from you under this wolffd@0: License will not have their licenses terminated so long as such parties remain in full wolffd@0: compliance. wolffd@0: wolffd@0: 5. You are not required to accept this License, since you have not signed it. However, wolffd@0: nothing else grants you permission to modify or distribute the Program or its derivative wolffd@0: works. These actions are prohibited by law if you do not accept this License. Therefore, wolffd@0: by modifying or distributing the Program (or any work based on the Program), you wolffd@0: indicate your acceptance of this License to do so, and all its terms and conditions for wolffd@0: copying, distributing or modifying the Program or works based on it. wolffd@0: wolffd@0: 6. Each time you redistribute the Program (or any work based on the Program), the wolffd@0: recipient automatically receives a license from the original licensor to copy, distribute or wolffd@0: modify the Program subject to these terms and conditions. You may not impose any wolffd@0: further restrictions on the recipients' exercise of the rights granted herein. You are not wolffd@0: responsible for enforcing compliance by third parties to this License. wolffd@0: wolffd@0: 7. If, as a consequence of a court judgment or allegation of patent infringement or for any wolffd@0: other reason (not limited to patent issues), conditions are imposed on you (whether by wolffd@0: court order, agreement or otherwise) that contradict the conditions of this License, they wolffd@0: do not excuse you from the conditions of this License. If you cannot distribute so as to wolffd@0: satisfy simultaneously your obligations under this License and any other pertinent wolffd@0: obligations, then as a consequence you may not distribute the Program at all. For wolffd@0: example, if a patent license would not permit royalty-free redistribution of the Program wolffd@0: by all those who receive copies directly or indirectly through you, then the only way you wolffd@0: could satisfy both it and this License would be to refrain entirely from distribution of the wolffd@0: Program. wolffd@0: wolffd@0: If any portion of this section is held invalid or unenforceable under any particular wolffd@0: circumstance, the balance of the section is intended to apply and the section as a whole is wolffd@0: intended to apply in other circumstances. wolffd@0: wolffd@0: It is not the purpose of this section to induce you to infringe any patents or other property wolffd@0: right claims or to contest validity of any such claims; this section has the sole purpose of wolffd@0: protecting the integrity of the free software distribution system, which is implemented by wolffd@0: public license practices. Many people have made generous contributions to the wide wolffd@0: range of software distributed through that system in reliance on consistent application of wolffd@0: that system; it is up to the author/donor to decide if he or she is willing to distribute wolffd@0: software through any other system and a licensee cannot impose that choice. wolffd@0: wolffd@0: This section is intended to make thoroughly clear what is believed to be a consequence of wolffd@0: the rest of this License. wolffd@0: wolffd@0: 8. If the distribution and/or use of the Program is restricted in certain countries either by wolffd@0: patents or by copyrighted interfaces, the original copyright holder who places the wolffd@0: Program under this License may add an explicit geographical distribution limitation wolffd@0: excluding those countries, so that distribution is permitted only in or among countries not wolffd@0: thus excluded. In such case, this License incorporates the limitation as if written in the wolffd@0: body of this License. wolffd@0: wolffd@0: 9. The Free Software Foundation may publish revised and/or new versions of the General wolffd@0: Public License from time to time. Such new versions will be similar in spirit to the wolffd@0: present version, but may differ in detail to address new problems or concerns. wolffd@0: wolffd@0: Each version is given a distinguishing version number. If the Program specifies a version wolffd@0: number of this License which applies to it and "any later version", you have the option of wolffd@0: following the terms and conditions either of that version or of any later version published wolffd@0: by the Free Software Foundation. If the Program does not specify a version number of wolffd@0: this License, you may choose any version ever published by the Free Software wolffd@0: Foundation. wolffd@0: wolffd@0: 10. If you wish to incorporate parts of the Program into other free programs whose wolffd@0: distribution conditions are different, write to the author to ask for permission. For wolffd@0: software which is copyrighted by the Free Software Foundation, write to the Free wolffd@0: Software Foundation; we sometimes make exceptions for this. Our decision will be wolffd@0: guided by the two goals of preserving the free status of all derivatives of our free wolffd@0: software and of promoting the sharing and reuse of software generally. wolffd@0: wolffd@0: NO WARRANTY wolffd@0: wolffd@0: 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO wolffd@0: WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY wolffd@0: APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE wolffd@0: COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM wolffd@0: "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR wolffd@0: IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF wolffd@0: MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE wolffd@0: ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM wolffd@0: IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME wolffd@0: THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. wolffd@0: wolffd@0: 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO wolffd@0: IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO wolffd@0: MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED wolffd@0: ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, wolffd@0: SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF wolffd@0: THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT wolffd@0: LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR wolffd@0: LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE wolffd@0: PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH wolffd@0: HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF wolffd@0: SUCH DAMAGES.