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