wolffd@0
|
1 The MIRtoolbox 1.3.2 Software Package, Copyright © 2010, University of Jyvaskyla
|
wolffd@0
|
2
|
wolffd@0
|
3 Developed by Olivier Lartillot, Petri Toiviainen and Tuomas Eerola Department of Music
|
wolffd@0
|
4 lartillo@campus.jyu.fi
|
wolffd@0
|
5
|
wolffd@0
|
6
|
wolffd@0
|
7 This program is free software; you can redistribute it and/or modify it
|
wolffd@0
|
8 under the terms of version 2 of GNU General Public License as published by
|
wolffd@0
|
9 the Free Software Foundation.
|
wolffd@0
|
10
|
wolffd@0
|
11 This program is distributed in the hope that it will be useful, but WITHOUT ANY
|
wolffd@0
|
12 WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
wolffd@0
|
13 FITNESS FOR A PARTICULAR PURPOSE. This is free software, and you are
|
wolffd@0
|
14 welcome to redistribute it under certain conditions. See the GNU
|
wolffd@0
|
15 General Public License for more details.
|
wolffd@0
|
16
|
wolffd@0
|
17 You should have received a copy of the GNU General Public License along with this
|
wolffd@0
|
18 program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
wolffd@0
|
19 Boston, MA 02111-1307, USA.
|
wolffd@0
|
20
|
wolffd@0
|
21 GNU GENERAL PUBLIC LICENSE
|
wolffd@0
|
22
|
wolffd@0
|
23 Version 2, June 1991
|
wolffd@0
|
24
|
wolffd@0
|
25 Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
wolffd@0
|
26 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
wolffd@0
|
27
|
wolffd@0
|
28 Everyone is permitted to copy and distribute verbatim copies of this license document,
|
wolffd@0
|
29 but changing it is not allowed.
|
wolffd@0
|
30
|
wolffd@0
|
31 Preamble
|
wolffd@0
|
32
|
wolffd@0
|
33 The licenses for most software are designed to take away your freedom to share and
|
wolffd@0
|
34 change it. By contrast, the GNU General Public License is intended to guarantee your
|
wolffd@0
|
35 freedom to share and change free software--to make sure the software is free for all its
|
wolffd@0
|
36 users. This General Public License applies to most of the Free Software Foundation's
|
wolffd@0
|
37 software and to any other program whose authors commit to using it. (Some other Free
|
wolffd@0
|
38 Software Foundation software is covered by the GNU Library General Public License
|
wolffd@0
|
39 instead.) You can apply it to your programs, too.
|
wolffd@0
|
40
|
wolffd@0
|
41 When we speak of free software, we are referring to freedom, not price. Our General
|
wolffd@0
|
42 Public Licenses are designed to make sure that you have the freedom to distribute copies
|
wolffd@0
|
43 of free software (and charge for this service if you wish), that you receive source code or
|
wolffd@0
|
44 can get it if you want it, that you can change the software or use pieces of it in new free
|
wolffd@0
|
45 programs; and that you know you can do these things.
|
wolffd@0
|
46
|
wolffd@0
|
47 To protect your rights, we need to make restrictions that forbid anyone to deny you these
|
wolffd@0
|
48 rights or to ask you to surrender the rights. These restrictions translate to certain
|
wolffd@0
|
49 responsibilities for you if you distribute copies of the software, or if you modify it.
|
wolffd@0
|
50
|
wolffd@0
|
51 For example, if you distribute copies of such a program, whether gratis or for a fee, you
|
wolffd@0
|
52 must give the recipients all the rights that you have. You must make sure that they, too,
|
wolffd@0
|
53 receive or can get the source code. And you must show them these terms so they know
|
wolffd@0
|
54 their rights.
|
wolffd@0
|
55
|
wolffd@0
|
56 We protect your rights with two steps: (1) copyright the software, and (2) offer you this
|
wolffd@0
|
57 license which gives you legal permission to copy, distribute and/or modify the software.
|
wolffd@0
|
58
|
wolffd@0
|
59 Also, for each author's protection and ours, we want to make certain that everyone
|
wolffd@0
|
60 understands that there is no warranty for this free software. If the software is modified by
|
wolffd@0
|
61 someone else and passed on, we want its recipients to know that what they have is not the
|
wolffd@0
|
62 original, so that any problems introduced by others will not reflect on the original authors'
|
wolffd@0
|
63 reputations.
|
wolffd@0
|
64
|
wolffd@0
|
65 Finally, any free program is threatened constantly by software patents. We wish to avoid
|
wolffd@0
|
66 the danger that redistributors of a free program will individually obtain patent licenses, in
|
wolffd@0
|
67 effect making the program proprietary. To prevent this, we have made it clear that any
|
wolffd@0
|
68 patent must be licensed for everyone's free use or not licensed at all.
|
wolffd@0
|
69
|
wolffd@0
|
70 The precise terms and conditions for copying, distribution and modification follow.
|
wolffd@0
|
71
|
wolffd@0
|
72 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND
|
wolffd@0
|
73 MODIFICATION
|
wolffd@0
|
74
|
wolffd@0
|
75 0. This License applies to any program or other work which contains a notice placed by
|
wolffd@0
|
76 the copyright holder saying it may be distributed under the terms of this General Public
|
wolffd@0
|
77 License. The "Program", below, refers to any such program or work, and a "work based
|
wolffd@0
|
78 on the Program" means either the Program or any derivative work under copyright law:
|
wolffd@0
|
79 that is to say, a work containing the Program or a portion of it, either verbatim or with
|
wolffd@0
|
80 modifications and/or translated into another language. (Hereinafter, translation is
|
wolffd@0
|
81 included without limitation in the term "modification".) Each licensee is addressed as
|
wolffd@0
|
82 "you".
|
wolffd@0
|
83
|
wolffd@0
|
84 Activities other than copying, distribution and modification are not covered by this
|
wolffd@0
|
85 License; they are outside its scope. The act of running the Program is not restricted, and
|
wolffd@0
|
86 the output from the Program is covered only if its contents constitute a work based on the
|
wolffd@0
|
87 Program (independent of having been made by running the Program). Whether that is
|
wolffd@0
|
88 true depends on what the Program does.
|
wolffd@0
|
89
|
wolffd@0
|
90 1. You may copy and distribute verbatim copies of the Program's source code as you
|
wolffd@0
|
91 receive it, in any medium, provided that you conspicuously and appropriately publish on
|
wolffd@0
|
92 each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the
|
wolffd@0
|
93 notices that refer to this License and to the absence of any warranty; and give any other
|
wolffd@0
|
94 recipients of the Program a copy of this License along with the Program.
|
wolffd@0
|
95
|
wolffd@0
|
96 You may charge a fee for the physical act of transferring a copy, and you may at your
|
wolffd@0
|
97 option offer warranty protection in exchange for a fee.
|
wolffd@0
|
98
|
wolffd@0
|
99 2. You may modify your copy or copies of the Program or any portion of it, thus forming
|
wolffd@0
|
100 a work based on the Program, and copy and distribute such modifications or work under
|
wolffd@0
|
101 the terms of Section 1 above, provided that you also meet all of these conditions:
|
wolffd@0
|
102
|
wolffd@0
|
103 a) You must cause the modified files to carry prominent notices stating that you
|
wolffd@0
|
104 changed the files and the date of any change.
|
wolffd@0
|
105
|
wolffd@0
|
106 b) You must cause any work that you distribute or publish, that in whole or in part
|
wolffd@0
|
107 contains or is derived from the Program or any part thereof, to be licensed as a whole at
|
wolffd@0
|
108 no charge to all third parties under the terms of this License.
|
wolffd@0
|
109
|
wolffd@0
|
110 c) If the modified program normally reads commands interactively when run, you
|
wolffd@0
|
111 must cause it, when started running for such interactive use in the most ordinary way, to
|
wolffd@0
|
112 print or display an announcement including an appropriate copyright notice and a notice
|
wolffd@0
|
113 that there is no warranty (or else, saying that you provide a warranty) and that users may
|
wolffd@0
|
114 redistribute the program under these conditions, and telling the user how to view a copy
|
wolffd@0
|
115 of this License. (Exception: if the Program itself is interactive but does not normally print
|
wolffd@0
|
116 such an announcement, your work based on the Program is not required to print an
|
wolffd@0
|
117 announcement.)
|
wolffd@0
|
118
|
wolffd@0
|
119 These requirements apply to the modified work as a whole. If identifiable sections of that
|
wolffd@0
|
120 work are not derived from the Program, and can be reasonably considered independent
|
wolffd@0
|
121 and separate works in themselves, then this License, and its terms, do not apply to those
|
wolffd@0
|
122 sections when you distribute them as separate works. But when you distribute the same
|
wolffd@0
|
123 sections as part of a whole which is a work based on the Program, the distribution of the
|
wolffd@0
|
124 whole must be on the terms of this License, whose permissions for other licensees extend
|
wolffd@0
|
125 to the entire whole, and thus to each and every part regardless of who wrote it.
|
wolffd@0
|
126
|
wolffd@0
|
127 Thus, it is not the intent of this section to claim rights or contest your rights to work
|
wolffd@0
|
128 written entirely by you; rather, the intent is to exercise the right to control the distribution
|
wolffd@0
|
129 of derivative or collective works based on the Program.
|
wolffd@0
|
130
|
wolffd@0
|
131 In addition, mere aggregation of another work not based on the Program with the
|
wolffd@0
|
132 Program (or with a work based on the Program) on a volume of a storage or distribution
|
wolffd@0
|
133 medium does not bring the other work under the scope of this License.
|
wolffd@0
|
134
|
wolffd@0
|
135 3. You may copy and distribute the Program (or a work based on it, under Section 2) in
|
wolffd@0
|
136 object code or executable form under the terms of Sections 1 and 2 above provided that
|
wolffd@0
|
137 you also do one of the following:
|
wolffd@0
|
138
|
wolffd@0
|
139 a) Accompany it with the complete corresponding machine-readable source code,
|
wolffd@0
|
140 which must be distributed under the terms of Sections 1 and 2 above on a medium
|
wolffd@0
|
141 customarily used for software interchange; or,
|
wolffd@0
|
142
|
wolffd@0
|
143 b) Accompany it with a written offer, valid for at least three years, to give any third
|
wolffd@0
|
144 party, for a charge no more than your cost of physically performing source distribution, a
|
wolffd@0
|
145 complete machine-readable copy of the corresponding source code, to be distributed
|
wolffd@0
|
146 under the terms of Sections 1 and 2 above on a medium customarily used for software
|
wolffd@0
|
147 interchange; or,
|
wolffd@0
|
148
|
wolffd@0
|
149 c) Accompany it with the information you received as to the offer to distribute
|
wolffd@0
|
150 corresponding source code. (This alternative is allowed only for noncommercial
|
wolffd@0
|
151 distribution and only if you received the program in object code or executable form with
|
wolffd@0
|
152 such an offer, in accord with Subsection b above.)
|
wolffd@0
|
153
|
wolffd@0
|
154 The source code for a work means the preferred form of the work for making
|
wolffd@0
|
155 modifications to it. For an executable work, complete source code means all the source
|
wolffd@0
|
156 code for all modules it contains, plus any associated interface definition files, plus the
|
wolffd@0
|
157 scripts used to control compilation and installation of the executable. However, as a
|
wolffd@0
|
158 special exception, the source code distributed need not include anything that is normally
|
wolffd@0
|
159 distributed (in either source or binary form) with the major components (compiler, kernel,
|
wolffd@0
|
160 and so on) of the operating system on which the executable runs, unless that component
|
wolffd@0
|
161 itself accompanies the executable.
|
wolffd@0
|
162
|
wolffd@0
|
163 If distribution of executable or object code is made by offering access to copy from a
|
wolffd@0
|
164 designated place, then offering equivalent access to copy the source code from the same
|
wolffd@0
|
165 place counts as distribution of the source code, even though third parties are not
|
wolffd@0
|
166 compelled to copy the source along with the object code.
|
wolffd@0
|
167
|
wolffd@0
|
168 4. You may not copy, modify, sublicense, or distribute the Program except as expressly
|
wolffd@0
|
169 provided under this License. Any attempt otherwise to copy, modify, sublicense or
|
wolffd@0
|
170 distribute the Program is void, and will automatically terminate your rights under this
|
wolffd@0
|
171 License. However, parties who have received copies, or rights, from you under this
|
wolffd@0
|
172 License will not have their licenses terminated so long as such parties remain in full
|
wolffd@0
|
173 compliance.
|
wolffd@0
|
174
|
wolffd@0
|
175 5. You are not required to accept this License, since you have not signed it. However,
|
wolffd@0
|
176 nothing else grants you permission to modify or distribute the Program or its derivative
|
wolffd@0
|
177 works. These actions are prohibited by law if you do not accept this License. Therefore,
|
wolffd@0
|
178 by modifying or distributing the Program (or any work based on the Program), you
|
wolffd@0
|
179 indicate your acceptance of this License to do so, and all its terms and conditions for
|
wolffd@0
|
180 copying, distributing or modifying the Program or works based on it.
|
wolffd@0
|
181
|
wolffd@0
|
182 6. Each time you redistribute the Program (or any work based on the Program), the
|
wolffd@0
|
183 recipient automatically receives a license from the original licensor to copy, distribute or
|
wolffd@0
|
184 modify the Program subject to these terms and conditions. You may not impose any
|
wolffd@0
|
185 further restrictions on the recipients' exercise of the rights granted herein. You are not
|
wolffd@0
|
186 responsible for enforcing compliance by third parties to this License.
|
wolffd@0
|
187
|
wolffd@0
|
188 7. If, as a consequence of a court judgment or allegation of patent infringement or for any
|
wolffd@0
|
189 other reason (not limited to patent issues), conditions are imposed on you (whether by
|
wolffd@0
|
190 court order, agreement or otherwise) that contradict the conditions of this License, they
|
wolffd@0
|
191 do not excuse you from the conditions of this License. If you cannot distribute so as to
|
wolffd@0
|
192 satisfy simultaneously your obligations under this License and any other pertinent
|
wolffd@0
|
193 obligations, then as a consequence you may not distribute the Program at all. For
|
wolffd@0
|
194 example, if a patent license would not permit royalty-free redistribution of the Program
|
wolffd@0
|
195 by all those who receive copies directly or indirectly through you, then the only way you
|
wolffd@0
|
196 could satisfy both it and this License would be to refrain entirely from distribution of the
|
wolffd@0
|
197 Program.
|
wolffd@0
|
198
|
wolffd@0
|
199 If any portion of this section is held invalid or unenforceable under any particular
|
wolffd@0
|
200 circumstance, the balance of the section is intended to apply and the section as a whole is
|
wolffd@0
|
201 intended to apply in other circumstances.
|
wolffd@0
|
202
|
wolffd@0
|
203 It is not the purpose of this section to induce you to infringe any patents or other property
|
wolffd@0
|
204 right claims or to contest validity of any such claims; this section has the sole purpose of
|
wolffd@0
|
205 protecting the integrity of the free software distribution system, which is implemented by
|
wolffd@0
|
206 public license practices. Many people have made generous contributions to the wide
|
wolffd@0
|
207 range of software distributed through that system in reliance on consistent application of
|
wolffd@0
|
208 that system; it is up to the author/donor to decide if he or she is willing to distribute
|
wolffd@0
|
209 software through any other system and a licensee cannot impose that choice.
|
wolffd@0
|
210
|
wolffd@0
|
211 This section is intended to make thoroughly clear what is believed to be a consequence of
|
wolffd@0
|
212 the rest of this License.
|
wolffd@0
|
213
|
wolffd@0
|
214 8. If the distribution and/or use of the Program is restricted in certain countries either by
|
wolffd@0
|
215 patents or by copyrighted interfaces, the original copyright holder who places the
|
wolffd@0
|
216 Program under this License may add an explicit geographical distribution limitation
|
wolffd@0
|
217 excluding those countries, so that distribution is permitted only in or among countries not
|
wolffd@0
|
218 thus excluded. In such case, this License incorporates the limitation as if written in the
|
wolffd@0
|
219 body of this License.
|
wolffd@0
|
220
|
wolffd@0
|
221 9. The Free Software Foundation may publish revised and/or new versions of the General
|
wolffd@0
|
222 Public License from time to time. Such new versions will be similar in spirit to the
|
wolffd@0
|
223 present version, but may differ in detail to address new problems or concerns.
|
wolffd@0
|
224
|
wolffd@0
|
225 Each version is given a distinguishing version number. If the Program specifies a version
|
wolffd@0
|
226 number of this License which applies to it and "any later version", you have the option of
|
wolffd@0
|
227 following the terms and conditions either of that version or of any later version published
|
wolffd@0
|
228 by the Free Software Foundation. If the Program does not specify a version number of
|
wolffd@0
|
229 this License, you may choose any version ever published by the Free Software
|
wolffd@0
|
230 Foundation.
|
wolffd@0
|
231
|
wolffd@0
|
232 10. If you wish to incorporate parts of the Program into other free programs whose
|
wolffd@0
|
233 distribution conditions are different, write to the author to ask for permission. For
|
wolffd@0
|
234 software which is copyrighted by the Free Software Foundation, write to the Free
|
wolffd@0
|
235 Software Foundation; we sometimes make exceptions for this. Our decision will be
|
wolffd@0
|
236 guided by the two goals of preserving the free status of all derivatives of our free
|
wolffd@0
|
237 software and of promoting the sharing and reuse of software generally.
|
wolffd@0
|
238
|
wolffd@0
|
239 NO WARRANTY
|
wolffd@0
|
240
|
wolffd@0
|
241 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO
|
wolffd@0
|
242 WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
wolffd@0
|
243 APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE
|
wolffd@0
|
244 COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM
|
wolffd@0
|
245 "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR
|
wolffd@0
|
246 IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
wolffd@0
|
247 MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE
|
wolffd@0
|
248 ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
wolffd@0
|
249 IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME
|
wolffd@0
|
250 THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
wolffd@0
|
251
|
wolffd@0
|
252 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO
|
wolffd@0
|
253 IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO
|
wolffd@0
|
254 MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED
|
wolffd@0
|
255 ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL,
|
wolffd@0
|
256 SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF
|
wolffd@0
|
257 THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT
|
wolffd@0
|
258 LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR
|
wolffd@0
|
259 LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE
|
wolffd@0
|
260 PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH
|
wolffd@0
|
261 HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
wolffd@0
|
262 SUCH DAMAGES.
|