# mainpage.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *   Copyright (C) 2010 by Luigi Negretti Lanner   *
00003  *   luigi.negrettilanner@gmail.com   *
00004  *                                                                         *
00005  *   This program is free software; you can redistribute it and/or modify  *
00007  *   the Free Software Foundation; either version 2 of the License, or     *
00008  *   (at your option) any later version.                                   *
00009  *                                                                         *
00010  *   This program is distributed in the hope that it will be useful,       *
00011  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
00012  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
00013  *   GNU General Public License for more details.                          *
00014  *                                                                         *
00015  *   You should have received a copy of the GNU General Public License     *
00016  *   along with this program; if not, write to the                         *
00017  *   Free Software Foundation, Inc.,                                       *
00018  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
00019  ***************************************************************************/
00020 /*!\mainpage
00021
00022 \section what What is Csmusgen?
00023 \subsection Functioning
00024 Csmusgen (Csound music generator), is a software based on the concept of musical series, not intended as in the integral serialism, but rather as a module in continuous stochastic evolving. Csmusgen elaborates the initial series, and replaces some or all values of it, releasing the second one, etc., within the limits planned by user and in relationship with the rules of Csmusgen's  <a href="./AlgoSymEn.pdf">algorithm</a> (the "formula")
00025 \subsection Csmusgen Features
00026
00027 \li Setting of current output files (orc / sco / csd)
00028 \li Up to 26 Csound score parameters.
00029 \li Counterpoint functions, for manipulation of series.
00030 \li Functions for set the higher and lower value of series.
00031
00032 See \ref Usage for an overview about the usage of Csmusgen.
00033
00036
00038
00039 &copy; Copyright - 2009 - Luigi Negretti Lanner.\n
00040 This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
00041 This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
00042 You should have received a copy of the \ref page1 along with this program. If not, see http://www.gnu.org/licenses/.
00043
00044  */
00045 /*! \page Usage
00046 \section Usage
00047 \subsection Series
00048 The series are shown in three differents windows into a large black rectangle.
00049 The series disposition is as follow (from the top)
00050 \subsubsection p1-p5
00051 Series from p1 to p5 are shown in main window, ordered as follow:
00052 \li pitch series
00053 \li durations series
00054 \li db series
00055 \li instr series
00056 \li act series
00057
00058 \subsubsection p6-to-p25
00059 The other two windows contain parameters from p6 to p15 and p16 to p25, in ascendent  order.
00060
00061 \section Controls Controls description
00062
00063 \image html mainwindow.png
00064
00065 <ol>
00066 <li>Series for parameters from p5 (on top) to p1 (on bottom) as default: Pitch, duration, db, action time, instr.</li>
00067 <li>First column from left: controls to recombine the series. Second column: "Memorize" button: if activated, each series will be written into the "data" file. You can open this file from menu File->open out data file</li>
00068 <li>From the left: integers values for identify the "formula" / Button to enter the values / selected formula.</li>
00069 <li>
00070 From the left.
00071 <ul>
00072 <li>List of counterpoint combinations. You can enter these combinations, using the shortcuts F2 F3 F4 F5.</li>
00073 <li>Series counter</li>
00074 <li>Reset button: resets to zero the counter.</li>
00075 </ul>
00076 </li>
00077 <li>
00078 <ul>
00079 <li>Clear button: delete all contents of current score file</li>
00080 <li>Save button: save the current values of series and formula. These values will be reloaded at the start of the next session.</li>
00081 <li>Exit button: terminates the Csmusgen session.</li>
00082 </ul>
00083 </li>
00084 <li>
00085 From the top
00086         <ul>
00087         <li>
00088         act: edit here the value of Csound action time.
00089         </li>
00090         <li>
00091         w,x,y,z: enter here the values of the duration constants. This values will be used by Csmusgen during the phase of score generation, to generating the duration values.
00092         </li>
00093         </ul>
00094 </li>
00095 <li>
00096 From the top
00097         <ul>
00098         <li>
00099         "Pitch generation", Dur generation", etc.: activates / deactivates the automatic generation of series.
00100         </li>
00101         <li>
00102         "Memorize" button: if activated, each min / max values of series will are written into the "data" file. You can open this file from menu File->open out data file.
00103         </li>
00104         <li>
00105         Selects min / max values of series.
00106         </li>
00107         </ul>
00108 </li>
00109 </ol>
00110 */
00111
00112 /*! \page page1 General Public License
00114                        Version 3, 29 June 2007
00115
00116  Copyright (C) 2007 Free Software Foundation, Inc. http://fsf.org/
00117  Everyone is permitted to copy and distribute verbatim copies
00118  of this license document, but changing it is not allowed.
00119
00120                             Preamble
00121
00122   The GNU General Public License is a free, copyleft license for
00123 software and other kinds of works.
00124
00125   The licenses for most software and other practical works are designed
00126 to take away your freedom to share and change the works.  By contrast,
00127 the GNU General Public License is intended to guarantee your freedom to
00128 share and change all versions of a program--to make sure it remains free
00129 software for all its users.  We, the Free Software Foundation, use the
00130 GNU General Public License for most of our software; it applies also to
00131 any other work released this way by its authors.  You can apply it to
00133
00134   When we speak of free software, we are referring to freedom, not
00135 price.  Our General Public Licenses are designed to make sure that you
00136 have the freedom to distribute copies of free software (and charge for
00137 them if you wish), that you receive source code or can get it if you
00138 want it, that you can change the software or use pieces of it in new
00139 free programs, and that you know you can do these things.
00140
00141   To protect your rights, we need to prevent others from denying you
00142 these rights or asking you to surrender the rights.  Therefore, you have
00143 certain responsibilities if you distribute copies of the software, or if
00144 you modify it: responsibilities to respect the freedom of others.
00145
00146   For example, if you distribute copies of such a program, whether
00147 gratis or for a fee, you must pass on to the recipients the same
00148 freedoms that you received.  You must make sure that they, too, receive
00149 or can get the source code.  And you must show them these terms so they
00150 know their rights.
00151
00152   Developers that use the GNU GPL protect your rights with two steps:
00153 (1) assert copyright on the software, and (2) offer you this License
00154 giving you legal permission to copy, distribute and/or modify it.
00155
00156   For the developers' and authors' protection, the GPL clearly explains
00157 that there is no warranty for this free software.  For both users' and
00158 authors' sake, the GPL requires that modified versions be marked as
00159 changed, so that their problems will not be attributed erroneously to
00160 authors of previous versions.
00161
00162   Some devices are designed to deny users access to install or run
00163 modified versions of the software inside them, although the manufacturer
00164 can do so.  This is fundamentally incompatible with the aim of
00165 protecting users' freedom to change the software.  The systematic
00166 pattern of such abuse occurs in the area of products for individuals to
00167 use, which is precisely where it is most unacceptable.  Therefore, we
00168 have designed this version of the GPL to prohibit the practice for those
00169 products.  If such problems arise substantially in other domains, we
00170 stand ready to extend this provision to those domains in future versions
00171 of the GPL, as needed to protect the freedom of users.
00172
00173   Finally, every program is threatened constantly by software patents.
00174 States should not allow patents to restrict development and use of
00175 software on general-purpose computers, but in those that do, we wish to
00176 avoid the special danger that patents applied to a free program could
00177 make it effectively proprietary.  To prevent this, the GPL assures that
00178 patents cannot be used to render the program non-free.
00179
00180   The precise terms and conditions for copying, distribution and
00181 modification follow.
00182
00183                        TERMS AND CONDITIONS
00184
00185   0. Definitions.
00186
00187   "This License" refers to version 3 of the GNU General Public License.
00188
00189   "Copyright" also means copyright-like laws that apply to other kinds of
00190 works, such as semiconductor masks.
00191
00194 "recipients" may be individuals or organizations.
00195
00196   To "modify" a work means to copy from or adapt all or part of the work
00197 in a fashion requiring copyright permission, other than the making of an
00198 exact copy.  The resulting work is called a "modified version" of the
00199 earlier work or a work "based on" the earlier work.
00200
00201   A "covered work" means either the unmodified Program or a work based
00202 on the Program.
00203
00204   To "propagate" a work means to do anything with it that, without
00205 permission, would make you directly or secondarily liable for
00206 infringement under applicable copyright law, except executing it on a
00207 computer or modifying a private copy.  Propagation includes copying,
00208 distribution (with or without modification), making available to the
00209 public, and in some countries other activities as well.
00210
00211   To "convey" a work means any kind of propagation that enables other
00212 parties to make or receive copies.  Mere interaction with a user through
00213 a computer network, with no transfer of a copy, is not conveying.
00214
00215   An interactive user interface displays "Appropriate Legal Notices"
00216 to the extent that it includes a convenient and prominently visible
00217 feature that (1) displays an appropriate copyright notice, and (2)
00218 tells the user that there is no warranty for the work (except to the
00219 extent that warranties are provided), that licensees may convey the
00220 work under this License, and how to view a copy of this License.  If
00221 the interface presents a list of user commands or options, such as a
00222 menu, a prominent item in the list meets this criterion.
00223
00224   1. Source Code.
00225
00226   The "source code" for a work means the preferred form of the work
00227 for making modifications to it.  "Object code" means any non-source
00228 form of a work.
00229
00230   A "Standard Interface" means an interface that either is an official
00231 standard defined by a recognized standards body, or, in the case of
00232 interfaces specified for a particular programming language, one that
00233 is widely used among developers working in that language.
00234
00235   The "System Libraries" of an executable work include anything, other
00236 than the work as a whole, that (a) is included in the normal form of
00237 packaging a Major Component, but which is not part of that Major
00238 Component, and (b) serves only to enable use of the work with that
00239 Major Component, or to implement a Standard Interface for which an
00240 implementation is available to the public in source code form.  A
00241 "Major Component", in this context, means a major essential component
00242 (kernel, window system, and so on) of the specific operating system
00243 (if any) on which the executable work runs, or a compiler used to
00244 produce the work, or an object code interpreter used to run it.
00245
00246   The "Corresponding Source" for a work in object code form means all
00247 the source code needed to generate, install, and (for an executable
00248 work) run the object code and to modify the work, including scripts to
00249 control those activities.  However, it does not include the work's
00250 System Libraries, or general-purpose tools or generally available free
00251 programs which are used unmodified in performing those activities but
00252 which are not part of the work.  For example, Corresponding Source
00253 includes interface definition files associated with source files for
00254 the work, and the source code for shared libraries and dynamically
00255 linked subprograms that the work is specifically designed to require,
00256 such as by intimate data communication or control flow between those
00257 subprograms and other parts of the work.
00258
00259   The Corresponding Source need not include anything that users
00260 can regenerate automatically from other parts of the Corresponding
00261 Source.
00262
00263   The Corresponding Source for a work in source code form is that
00264 same work.
00265
00266   2. Basic Permissions.
00267
00268   All rights granted under this License are granted for the term of
00269 copyright on the Program, and are irrevocable provided the stated
00271 permission to run the unmodified Program.  The output from running a
00272 covered work is covered by this License only if the output, given its
00273 content, constitutes a covered work.  This License acknowledges your
00274 rights of fair use or other equivalent, as provided by copyright law.
00275
00276   You may make, run and propagate covered works that you do not
00278 in force.  You may convey covered works to others for the sole purpose
00279 of having them make modifications exclusively for you, or provide you
00280 with facilities for running those works, provided that you comply with
00281 the terms of this License in conveying all material for which you do
00282 not control copyright.  Those thus making or running the covered works
00283 for you must do so exclusively on your behalf, under your direction
00284 and control, on terms that prohibit them from making any copies of
00286
00287   Conveying under any other circumstances is permitted solely under
00288 the conditions stated below.  Sublicensing is not allowed; section 10
00289 makes it unnecessary.
00290
00291   3. Protecting Users' Legal Rights From Anti-Circumvention Law.
00292
00293   No covered work shall be deemed part of an effective technological
00294 measure under any applicable law fulfilling obligations under article
00295 11 of the WIPO copyright treaty adopted on 20 December 1996, or
00296 similar laws prohibiting or restricting circumvention of such
00297 measures.
00298
00299   When you convey a covered work, you waive any legal power to forbid
00300 circumvention of technological measures to the extent such circumvention
00301 is effected by exercising rights under this License with respect to
00302 the covered work, and you disclaim any intention to limit operation or
00303 modification of the work as a means of enforcing, against the work's
00304 users, your or third parties' legal rights to forbid circumvention of
00305 technological measures.
00306
00307   4. Conveying Verbatim Copies.
00308
00309   You may convey verbatim copies of the Program's source code as you
00310 receive it, in any medium, provided that you conspicuously and
00311 appropriately publish on each copy an appropriate copyright notice;
00312 keep intact all notices stating that this License and any
00313 non-permissive terms added in accord with section 7 apply to the code;
00314 keep intact all notices of the absence of any warranty; and give all
00315 recipients a copy of this License along with the Program.
00316
00317   You may charge any price or no price for each copy that you convey,
00318 and you may offer support or warranty protection for a fee.
00319
00320   5. Conveying Modified Source Versions.
00321
00322   You may convey a work based on the Program, or the modifications to
00323 produce it from the Program, in the form of source code under the
00324 terms of section 4, provided that you also meet all of these conditions:
00325
00326     a) The work must carry prominent notices stating that you modified
00327     it, and giving a relevant date.
00328
00329     b) The work must carry prominent notices stating that it is
00331     7.  This requirement modifies the requirement in section 4 to
00332     "keep intact all notices".
00333
00334     c) You must license the entire work, as a whole, under this
00335     License to anyone who comes into posConfiguration of a copy.  This
00336     License will therefore apply, along with any applicable section 7
00337     additional terms, to the whole of the work, and all its parts,
00338     regardless of how they are packaged.  This License gives no
00339     permission to license the work in any other way, but it does not
00340     invalidate such permission if you have separately received it.
00341
00342     d) If the work has interactive user interfaces, each must display
00343     Appropriate Legal Notices; however, if the Program has interactive
00344     interfaces that do not display Appropriate Legal Notices, your
00345     work need not make them do so.
00346
00347   A compilation of a covered work with other separate and independent
00348 works, which are not by their nature extensions of the covered work,
00349 and which are not combined with it such as to form a larger program,
00350 in or on a volume of a storage or distribution medium, is called an
00351 "aggregate" if the compilation and its resulting copyright are not
00352 used to limit the access or legal rights of the compilation's users
00353 beyond what the individual works permit.  Inclusion of a covered work
00354 in an aggregate does not cause this License to apply to the other
00355 parts of the aggregate.
00356
00357   6. Conveying Non-Source Forms.
00358
00359   You may convey a covered work in object code form under the terms
00360 of sections 4 and 5, provided that you also convey the
00362 in one of these ways:
00363
00364     a) Convey the object code in, or embodied in, a physical product
00365     (including a physical distribution medium), accompanied by the
00366     Corresponding Source fixed on a durable physical medium
00367     customarily used for software interchange.
00368
00369     b) Convey the object code in, or embodied in, a physical product
00370     (including a physical distribution medium), accompanied by a
00371     written offer, valid for at least three years and valid for as
00372     long as you offer spare parts or customer support for that product
00373     model, to give anyone who possesses the object code either (1) a
00374     copy of the Corresponding Source for all the software in the
00375     product that is covered by this License, on a durable physical
00376     medium customarily used for software interchange, for a price no
00377     more than your reasonable cost of physically performing this
00379     Corresponding Source from a network server at no charge.
00380
00381     c) Convey individual copies of the object code with a copy of the
00382     written offer to provide the Corresponding Source.  This
00383     alternative is allowed only occasionally and noncommercially, and
00384     only if you received the object code with such an offer, in accord
00385     with subsection 6b.
00386
00387     d) Convey the object code by offering access from a designated
00388     place (gratis or for a charge), and offer equivalent access to the
00389     Corresponding Source in the same way through the same place at no
00390     further charge.  You need not require recipients to copy the
00391     Corresponding Source along with the object code.  If the place to
00392     copy the object code is a network server, the Corresponding Source
00393     may be on a different server (operated by you or a third party)
00394     that supports equivalent copying facilities, provided you maintain
00395     clear directions next to the object code saying where to find the
00396     Corresponding Source.  Regardless of what server hosts the
00397     Corresponding Source, you remain obligated to ensure that it is
00398     available for as long as needed to satisfy these requirements.
00399
00400     e) Convey the object code using peer-to-peer transmission, provided
00401     you inform other peers where the object code and Corresponding
00402     Source of the work are being offered to the general public at no
00403     charge under subsection 6d.
00404
00405   A separable portion of the object code, whose source code is excluded
00406 from the Corresponding Source as a System Library, need not be
00407 included in conveying the object code work.
00408
00409   A "User Product" is either (1) a "consumer product", which means any
00410 tangible personal property which is normally used for personal, family,
00411 or household purposes, or (2) anything designed or sold for incorporation
00412 into a dwelling.  In determining whether a product is a consumer product,
00413 doubtful cases shall be resolved in favor of coverage.  For a particular
00414 product received by a particular user, "normally used" refers to a
00415 typical or common use of that class of product, regardless of the status
00416 of the particular user or of the way in which the particular user
00417 actually uses, or expects or is expected to use, the product.  A product
00418 is a consumer product regardless of whether the product has substantial
00419 commercial, industrial or non-consumer uses, unless such uses represent
00420 the only significant mode of use of the product.
00421
00422   "Installation Information" for a User Product means any methods,
00423 procedures, authorization keys, or other information required to install
00424 and execute modified versions of a covered work in that User Product from
00425 a modified version of its Corresponding Source.  The information must
00426 suffice to ensure that the continued functioning of the modified object
00427 code is in no case prevented or interfered with solely because
00429
00430   If you convey an object code work under this section in, or with, or
00431 specifically for use in, a User Product, and the conveying occurs as
00432 part of a transaction in which the right of posConfiguration and use of the
00433 User Product is transferred to the recipient in perpetuity or for a
00434 fixed term (regardless of how the transaction is characterized), the
00435 Corresponding Source conveyed under this section must be accompanied
00436 by the Installation Information.  But this requirement does not apply
00437 if neither you nor any third party retains the ability to install
00438 modified object code on the User Product (for example, the work has
00439 been installed in ROM).
00440
00441   The requirement to provide Installation Information does not include a
00442 requirement to continue to provide support service, warranty, or updates
00443 for a work that has been modified or installed by the recipient, or for
00444 the User Product in which it has been modified or installed.  Access to a
00445 network may be denied when the modification itself materially and
00446 adversely affects the operation of the network or violates the rules and
00447 protocols for communication across the network.
00448
00449   Corresponding Source conveyed, and Installation Information provided,
00450 in accord with this section must be in a format that is publicly
00451 documented (and with an implementation available to the public in
00452 source code form), and must require no special password or key for
00454
00456
00457   "Additional permissions" are terms that supplement the terms of this
00458 License by making exceptions from one or more of its conditions.
00459 Additional permissions that are applicable to the entire Program shall
00460 be treated as though they were included in this License, to the extent
00461 that they are valid under applicable law.  If additional permissions
00462 apply only to part of the Program, that part may be used separately
00463 under those permissions, but the entire Program remains governed by
00465
00466   When you convey a copy of a covered work, you may at your option
00467 remove any additional permissions from that copy, or from any part of
00468 it.  (Additional permissions may be written to require their own
00469 removal in certain cases when you modify the work.)  You may place
00470 additional permissions on material, added by you to a covered work,
00471 for which you have or can give appropriate copyright permission.
00472
00473   Notwithstanding any other provision of this License, for material you
00474 add to a covered work, you may (if authorized by the copyright holders of
00475 that material) supplement the terms of this License with terms:
00476
00477     a) Disclaiming warranty or limiting liability differently from the
00478     terms of sections 15 and 16 of this License; or
00479
00480     b) Requiring preservation of specified reasonable legal notices or
00481     author attributions in that material or in the Appropriate Legal
00482     Notices displayed by works containing it; or
00483
00484     c) Prohibiting misrepresentation of the origin of that material, or
00485     requiring that modified versions of such material be marked in
00486     reasonable ways as different from the original version; or
00487
00488     d) Limiting the use for publicity purposes of names of licensors or
00489     authors of the material; or
00490
00491     e) Declining to grant rights under trademark law for use of some
00493
00494     f) Requiring indemnification of licensors and authors of that
00495     material by anyone who conveys the material (or modified versions of
00496     it) with contractual assumptions of liability to the recipient, for
00497     any liability that these contractual assumptions directly impose on
00498     those licensors and authors.
00499
00500   All other non-permissive additional terms are considered "further
00501 restrictions" within the meaning of section 10.  If the Program as you
00502 received it, or any part of it, contains a notice stating that it is
00503 governed by this License along with a term that is a further
00504 restriction, you may remove that term.  If a license document contains
00505 a further restriction but permits relicensing or conveying under this
00506 License, you may add to a covered work material governed by the terms
00507 of that license document, provided that the further restriction does
00508 not survive such relicensing or conveying.
00509
00510   If you add terms to a covered work in accord with this section, you
00511 must place, in the relevant source files, a statement of the
00512 additional terms that apply to those files, or a notice indicating
00513 where to find the applicable terms.
00514
00515   Additional terms, permissive or non-permissive, may be stated in the
00516 form of a separately written license, or stated as exceptions;
00517 the above requirements apply either way.
00518
00519   8. Termination.
00520
00521   You may not propagate or modify a covered work except as expressly
00522 provided under this License.  Any attempt otherwise to propagate or
00523 modify it is void, and will automatically terminate your rights under
00525 paragraph of section 11).
00526
00527   However, if you cease all violation of this License, then your
00529 provisionally, unless and until the copyright holder explicitly and
00531 holder fails to notify you of the violation by some reasonable means
00532 prior to 60 days after the cessation.
00533
00535 reinstated permanently if the copyright holder notifies you of the
00536 violation by some reasonable means, this is the first time you have
00537 received notice of violation of this License (for any work) from that
00538 copyright holder, and you cure the violation prior to 30 days after
00539 your receipt of the notice.
00540
00541   Termination of your rights under this section does not terminate the
00542 licenses of parties who have received copies or rights from you under
00543 this License.  If your rights have been terminated and not permanently
00544 reinstated, you do not qualify to receive new licenses for the same
00545 material under section 10.
00546
00547   9. Acceptance Not Required for Having Copies.
00548
00549   You are not required to accept this License in order to receive or
00550 run a copy of the Program.  Ancillary propagation of a covered work
00551 occurring solely as a consequence of using peer-to-peer transmission
00552 to receive a copy likewise does not require acceptance.  However,
00553 nothing other than this License grants you permission to propagate or
00554 modify any covered work.  These actions infringe copyright if you do
00555 not accept this License.  Therefore, by modifying or propagating a
00556 covered work, you indicate your acceptance of this License to do so.
00557
00558   10. Automatic Licensing of Downstream Recipients.
00559
00560   Each time you convey a covered work, the recipient automatically
00561 receives a license from the original licensors, to run, modify and
00562 propagate that work, subject to this License.  You are not responsible
00563 for enforcing compliance by third parties with this License.
00564
00565   An "entity transaction" is a transaction transferring control of an
00566 organization, or substantially all assets of one, or subdividing an
00567 organization, or merging organizations.  If propagation of a covered
00568 work results from an entity transaction, each party to that
00569 transaction who receives a copy of the work also receives whatever
00570 licenses to the work the party's predecessor in interest had or could
00571 give under the previous paragraph, plus a right to posConfiguration of the
00572 Corresponding Source of the work from the predecessor in interest, if
00573 the predecessor has it or can get it with reasonable efforts.
00574
00575   You may not impose any further restrictions on the exercise of the
00576 rights granted or affirmed under this License.  For example, you may
00577 not impose a license fee, royalty, or other charge for exercise of
00578 rights granted under this License, and you may not initiate litigation
00579 (including a cross-claim or counterclaim in a lawsuit) alleging that
00580 any patent claim is infringed by making, using, selling, offering for
00581 sale, or importing the Program or any portion of it.
00582
00583   11. Patents.
00584
00585   A "contributor" is a copyright holder who authorizes use under this
00586 License of the Program or a work on which the Program is based.  The
00587 work thus licensed is called the contributor's "contributor version".
00588
00589   A contributor's "essential patent claims" are all patent claims
00590 owned or controlled by the contributor, whether already acquired or
00591 hereafter acquired, that would be infringed by some manner, permitted
00592 by this License, of making, using, or selling its contributor version,
00593 but do not include claims that would be infringed only as a
00594 consequence of further modification of the contributor version.  For
00595 purposes of this definition, "control" includes the right to grant
00596 patent sublicenses in a manner consistent with the requirements of
00598
00599   Each contributor grants you a non-exclusive, worldwide, royalty-free
00600 patent license under the contributor's essential patent claims, to
00601 make, use, sell, offer for sale, import and otherwise run, modify and
00602 propagate the contents of its contributor version.
00603
00604   In the following three paragraphs, a "patent license" is any express
00605 agreement or commitment, however denominated, not to enforce a patent
00606 (such as an express permission to practice a patent or covenant not to
00607 sue for patent infringement).  To "grant" such a patent license to a
00608 party means to make such an agreement or commitment not to enforce a
00609 patent against the party.
00610
00611   If you convey a covered work, knowingly relying on a patent license,
00612 and the Corresponding Source of the work is not available for anyone
00613 to copy, free of charge and under the terms of this License, through a
00614 publicly available network server or other readily accessible means,
00615 then you must either (1) cause the Corresponding Source to be so
00616 available, or (2) arrange to deprive yourself of the benefit of the
00617 patent license for this particular work, or (3) arrange, in a manner
00618 consistent with the requirements of this License, to extend the patent
00619 license to downstream recipients.  "Knowingly relying" means you have
00620 actual knowledge that, but for the patent license, your conveying the
00621 covered work in a country, or your recipient's use of the covered work
00622 in a country, would infringe one or more identifiable patents in that
00623 country that you have reason to believe are valid.
00624
00625   If, pursuant to or in connection with a single transaction or
00626 arrangement, you convey, or propagate by procuring conveyance of, a
00627 covered work, and grant a patent license to some of the parties
00628 receiving the covered work authorizing them to use, propagate, modify
00629 or convey a specific copy of the covered work, then the patent license
00630 you grant is automatically extended to all recipients of the covered
00631 work and works based on it.
00632
00633   A patent license is "discriminatory" if it does not include within
00634 the scope of its coverage, prohibits the exercise of, or is
00635 conditioned on the non-exercise of one or more of the rights that are
00636 specifically granted under this License.  You may not convey a covered
00637 work if you are a party to an arrangement with a third party that is
00638 in the business of distributing software, under which you make payment
00639 to the third party based on the extent of your activity of conveying
00640 the work, and under which the third party grants, to any of the
00641 parties who would receive the covered work from you, a discriminatory
00642 patent license (a) in connection with copies of the covered work
00643 conveyed by you (or copies made from those copies), or (b) primarily
00644 for and in connection with specific products or compilations that
00645 contain the covered work, unless you entered into that arrangement,
00646 or that patent license was granted, prior to 28 March 2007.
00647
00648   Nothing in this License shall be construed as excluding or limiting
00649 any implied license or other defenses to infringement that may
00650 otherwise be available to you under applicable patent law.
00651
00652   12. No Surrender of Others' Freedom.
00653
00654   If conditions are imposed on you (whether by court order, agreement or
00655 otherwise) that contradict the conditions of this License, they do not
00656 excuse you from the conditions of this License.  If you cannot convey a
00657 covered work so as to satisfy simultaneously your obligations under this
00658 License and any other pertinent obligations, then as a consequence you may
00659 not convey it at all.  For example, if you agree to terms that obligate you
00660 to collect a royalty for further conveying from those to whom you convey
00661 the Program, the only way you could satisfy both those terms and this
00662 License would be to refrain entirely from conveying the Program.
00663
00664   13. Use with the GNU Affero General Public License.
00665
00666   Notwithstanding any other provision of this License, you have
00667 permission to link or combine any covered work with a work licensed
00668 under version 3 of the GNU Affero General Public License into a single
00669 combined work, and to convey the resulting work.  The terms of this
00670 License will continue to apply to the part which is the covered work,
00671 but the special requirements of the GNU Affero General Public License,
00672 section 13, concerning interaction through a network will apply to the
00673 combination as such.
00674
00675   14. Revised Versions of this License.
00676
00677   The Free Software Foundation may publish revised and/or new versions of
00678 the GNU General Public License from time to time.  Such new versions will
00679 be similar in spirit to the present version, but may differ in detail to
00680 address new problems or concerns.
00681
00682   Each version is given a distinguishing version number.  If the
00683 Program specifies that a certain numbered version of the GNU General
00684 Public License "or any later version" applies to it, you have the
00685 option of following the terms and conditions either of that numbered
00686 version or of any later version published by the Free Software
00687 Foundation.  If the Program does not specify a version number of the
00688 GNU General Public License, you may choose any version ever published
00689 by the Free Software Foundation.
00690
00691   If the Program specifies that a proxy can decide which future
00692 versions of the GNU General Public License can be used, that proxy's
00693 public statement of acceptance of a version permanently authorizes you
00694 to choose that version for the Program.
00695
00697 permissions.  However, no additional obligations are imposed on any
00699 later version.
00700
00701   15. Disclaimer of Warranty.
00702
00703   THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
00704 APPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
00705 HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
00706 OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
00707 THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
00708 PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
00709 IS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
00710 ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
00711
00712   16. Limitation of Liability.
00713
00714   IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
00715 WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
00716 THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
00717 GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
00718 USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
00719 DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
00720 PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
00721 EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
00722 SUCH DAMAGES.
00723
00724   17. Interpretation of Sections 15 and 16.
00725
00726   If the disclaimer of warranty and limitation of liability provided
00727 above cannot be given local legal effect according to their terms,
00728 reviewing courts shall apply local law that most closely approximates
00729 an absolute waiver of all civil liability in connection with the
00730 Program, unless a warranty or assumption of liability accompanies a
00731 copy of the Program in return for a fee.
00732
00733                      END OF TERMS AND CONDITIONS
00734
00735             How to Apply These Terms to Your New Programs
00736
00737   If you develop a new program, and you want it to be of the greatest
00738 possible use to the public, the best way to achieve this is to make it
00739 free software which everyone can redistribute and change under these terms.
00740
00741   To do so, attach the following notices to the program.  It is safest
00742 to attach them to the start of each source file to most effectively
00743 state the exclusion of warranty; and each file should have at least
00744 the "copyright" line and a pointer to where the full notice is found.
00745
00746     one line to give the program's name and a brief idea of what it does.
00747     Copyright (C) - year - name of author
00748
00749     This program is free software: you can redistribute it and/or modify
00751     the Free Software Foundation, either version 3 of the License, or
00752     (at your option) any later version.
00753
00754     This program is distributed in the hope that it will be useful,
00755     but WITHOUT ANY WARRANTY; without even the implied warranty of
00756     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00757     GNU General Public License for more details.
00758
00759     You should have received a copy of the GNU General Public License
00760     along with this program.  If not, see http://www.gnu.org/licenses.
00761
00762 Also add information on how to contact you by electronic and paper mail.
00763
00764   If the program does terminal interaction, make it output a short
00765 notice like this when it starts in an interactive mode:
00766
00767     Program - Copyright (C) - year - name of author
00768     This program comes with ABSOLUTELY NO WARRANTY; for details type show w'.
00769     This is free software, and you are welcome to redistribute it
00770     under certain conditions; type show c' for details.
00771
00772 The hypothetical commands show w' and show c' should show the appropriate
00773 parts of the General Public License.  Of course, your program's commands
00774 might be different; for a GUI interface, you would use an "about box".
00775
00776   You should also get your employer (if you work as a programmer) or school,
00777 if any, to sign a "copyright disclaimer" for the program, if necessary.