Is an algorithm producing music copyrighted?
<p>It is my understanding that algorithms (not their concrete implementations) are not copyrighted.
Musical scores or productions usually have a copyright.</p>
<p>Some music is constructed from a small set of rules, for example
<a href="https://en.wikipedia.org/wiki/Spiegel_im_Spiegel" rel="nofollow noreferrer">Spiegel im Spiegel</a>, by Arvo Pärt</p>
<p>Is it a violation of copyright to publish a computer program that exactly produces such a piece, without containing the piece itself in the program?</p>
<p>Edit: I found actual examples of what I am described <a href="https://github.com/julianstein/tintinnabuli" rel="nofollow noreferrer">here</a> and
<a href="https://github.com/georgesdimitrov/arvo" rel="nofollow noreferrer">here</a></p>

<blockquote>
<p>Is it a violation of copyright to publish a computer program that
exactly produces such a piece, without containing the piece itself in
the program?</p>
</blockquote>
<p>Yes. A program that reproduces a particular work is functionally a derivative work and is a copyright infringement.</p>
<p>A program that composes music not tied to a particular work would be patentable, but the algorithm would not be protected by copyright, although derive works based on the code implementing the algorithm might be protected by copyright.</p>
<p>Of course, this assumes that the person devising this algorithm knows about the original work that it will produce. If the person devising and the person using the algorithm are ignorant of the existence of the prior work that it produces, it is not a copy or a derivative work and is not infringing.</p>
<p>The source of the creation of an allegedly infringing work in relevant in copyright law even thought it is not relevant in patent and trademark law. Copyright protects independent inventors of the same work from infringement liability, although this may be hard to prove.</p>
<p>In theory the burden of proof to show copying is on the personal bringing the lawsuit alleging infringement. But, a copyright infringement plaintiff can meet their burden of proof in a copyright case by inferring that copy was made from the circumstantial evidence of the allegedly infringing work's similarity to the allegedly infringed work without direct evidence of copying or deriving the work from the original work.</p>

<p>There has been a few questions by people assuming that a computer program, doing things on its own, may be treated as if it were a sentient being.</p>
<p>It is not.  Certainly, there are no laws which would treat it as such.  A computer program is a device. It enjoys no more rights than a fountain pen.</p>
<p>Whoever operates the device produces a certain outcome, as they would when using any other tool.  The fact that the device is sophisticated, or that the outcome is sophisticated, does not change it.</p>
<p>A computer program, the running of which would produce a certain specific melody, is a tool just like a mechanical piano, modified to play a certain melody when prompted to do so.</p>
<p>But a program, the running of which would produce a melody not known to the person running the program ahead of time, is just like a regular old piano.  The fact that the person operating it may not know its internal workings does not change the fact that it's just a tool and that it is the person using the tool who is responsible for the produced outcome.</p>

copyright software music