Harmonic entropy: Difference between revisions

Wikispaces>mbattaglia1
**Imported revision 515616378 - Original comment: **
Wikispaces>mbattaglia1
**Imported revision 515616440 - Original comment: **
Line 1: Line 1:
<h2>IMPORTED REVISION FROM WIKISPACES</h2>
<h2>IMPORTED REVISION FROM WIKISPACES</h2>
This is an imported revision from Wikispaces. The revision metadata is included below for reference:<br>
This is an imported revision from Wikispaces. The revision metadata is included below for reference:<br>
: This revision was by author [[User:mbattaglia1|mbattaglia1]] and made on <tt>2014-07-05 02:38:20 UTC</tt>.<br>
: This revision was by author [[User:mbattaglia1|mbattaglia1]] and made on <tt>2014-07-05 02:43:42 UTC</tt>.<br>
: The original revision id was <tt>515616378</tt>.<br>
: The original revision id was <tt>515616440</tt>.<br>
: The revision comment was: <tt></tt><br>
: The revision comment was: <tt></tt><br>
The revision contents are below, presented both in the original Wikispaces Wikitext format, and in HTML exactly as Wikispaces rendered it.<br>
The revision contents are below, presented both in the original Wikispaces Wikitext format, and in HTML exactly as Wikispaces rendered it.<br>
Line 31: Line 31:
The original Harmonic Entropy model limited itself to working with dyads. More recently, work by Steve Martin and others has extended this basic idea to higher-cardinality chords. This article will concern itself with dyads, as the dyadic case is still the most well-developed, and many of the ideas extend naturally to larger chords without need for much exposition.
The original Harmonic Entropy model limited itself to working with dyads. More recently, work by Steve Martin and others has extended this basic idea to higher-cardinality chords. This article will concern itself with dyads, as the dyadic case is still the most well-developed, and many of the ideas extend naturally to larger chords without need for much exposition.


The general idea of Harmonic Entropy is to first develop a discrete probability distribution quantifying how strongly an arbitrary incoming dyad "matches" every element in a set of basis rational intervals, and then seeing how evenly distributed the resulting probabilities are. If the distribution for some dyad is spread out very evenly, such that there is no clear "victor" basis interval that dominates the distribution, the dyad is considered to be more discordant; on the other extreme, if the distribution tends to concentrate on one or a small set of dyads, the dyad is considered to be more concordant. A clear mathematical way of quantifying this is via &lt;span style="line-height: 1.5;"&gt;the &lt;/span&gt;&lt;span style="line-height: 1.5;"&gt;[[@http://en.wikipedia.org/wiki/Entropy_(information_theory)|Shannon entropy]]&lt;/span&gt;&lt;span style="line-height: 1.5;"&gt; of the probability distribution:&lt;/span&gt;
The general idea of Harmonic Entropy is to first develop a discrete probability distribution quantifying how strongly an arbitrary incoming dyad "matches" every element in a set of basis rational intervals, and then seeing how evenly distributed the resulting probabilities are. If the distribution for some dyad is spread out very evenly, such that there is no clear "victor" basis interval that dominates the distribution, the dyad is considered to be more discordant; on the other extreme, if the distribution tends to concentrate on one or a small set of dyads, the dyad is considered to be more concordant. A clear mathematical way of quantifying this is via &lt;span style="line-height: 1.5;"&gt;the [[@http://en.wikipedia.org/wiki/Entropy_(information_theory)|Shannon entropy]] of the probability distribution:&lt;/span&gt;


[[math]]
[[math]]
Line 66: Line 66:
where the p_d(b) are the probabilities assigned by dyad d to each basis rational b. It is noteworthy that Rényi entropy converges to Shannon entropy in the limit as a→1, a fact which can be verified using L'Hôpital's rule as found [[@http://www.sonycsl.co.jp/person/nielsen/Note-HopitalRuleShannonRenyiTsallis.pdf|here]].
where the p_d(b) are the probabilities assigned by dyad d to each basis rational b. It is noteworthy that Rényi entropy converges to Shannon entropy in the limit as a→1, a fact which can be verified using L'Hôpital's rule as found [[@http://www.sonycsl.co.jp/person/nielsen/Note-HopitalRuleShannonRenyiTsallis.pdf|here]].


Musically speaking, the parameter //**a**// can be interpreted as the extent to which it is desired to model the rational-matching process for incoming dyads as an intelligent, active process by which the auditory system actively analyzes the probability distribution and seeks out the "victor" rational (typically with the greatest probability). Some psychoacoustic effects naturally fit into this paradigm, such as the virtual pitch integration process, which actually does attempt to find a single victor when matching incoming chords with chunks of the harmonic series. Other psychoacoustic effects, such as that of beatlessness, may instead be better viewed as "dumb" processes whereby nothing in particular is being "chosen," but where a more uniform distribution of matching rational numbers for a dyad simply generates a more discordant sonic effect. Increasing values of //a// correspond to a model that is more "active" in this way.
Musically speaking, the parameter //**a**// can be interpreted as the extent to which the rational-matching process for incoming dyads is considered to be an intelligent, active process by which the auditory system actively analyzes the probability distribution and seeks out the "victor" rational with the greatest probability. Some psychoacoustic effects naturally fit into this paradigm, such as the virtual pitch integration process, which actually does attempt to find a single victor when matching incoming chords with chunks of the harmonic series. Other psychoacoustic effects, such as that of beatlessness, may instead be better viewed as "dumb" processes whereby nothing in particular is being "chosen," but where a more uniform distribution of matching rational numbers for a dyad simply generates a more discordant sonic effect. Increasing values of //a// correspond to a model that is more "active" in this way.


This interpretation comes from the use of the Rényi entropy in cryptography as a measure of the strength of a cryptographic code in the face of an intelligent attacker, an application for which Shannon entropy has long been known to be insufficient as described in [[@http://users.cis.fiu.edu/~smithg/papers/qest11.pdf|this paper]] and [[@http://www.ietf.org/rfc/rfc4086.txt|this RFC]]. More precisely, the Rényi entropy of order ∞, also called the **min-entropy**, is used to measure the strength of the randomness used to define a cryptographic secret against a "worst-case" attacker who has complete knowledge of the probability distribution from which cryptographic secrets are drawn. In a musical context, by considering the incoming dyad as analogous to a cryptographic code which is attempting to be "cracked" by an intelligent auditory system, we can consider that the analogous "worst-case attacker" would be a "best-case auditory system" which has complete awareness of the probability distribution for any incoming dyad and actively chooses the strongest rational.
This interpretation comes from the use of the Rényi entropy in cryptography as a measure of the strength of a cryptographic code in the face of an intelligent attacker, an application for which Shannon entropy has long been known to be insufficient as described in [[@http://users.cis.fiu.edu/~smithg/papers/qest11.pdf|this paper]] and [[@http://www.ietf.org/rfc/rfc4086.txt|this RFC]]. More precisely, the Rényi entropy of order ∞, also called the **min-entropy**, is used to measure the strength of the randomness used to define a cryptographic secret against a "worst-case" attacker who has complete knowledge of the probability distribution from which cryptographic secrets are drawn. In a musical context, by considering the incoming dyad as analogous to a cryptographic code which is attempting to be "cracked" by an intelligent auditory system, we can consider that the analogous "worst-case attacker" would be a "best-case auditory system" which has complete awareness of the probability distribution for any incoming dyad and actively chooses the strongest rational.
Line 124: Line 124:
  The original Harmonic Entropy model limited itself to working with dyads. More recently, work by Steve Martin and others has extended this basic idea to higher-cardinality chords. This article will concern itself with dyads, as the dyadic case is still the most well-developed, and many of the ideas extend naturally to larger chords without need for much exposition.&lt;br /&gt;
  The original Harmonic Entropy model limited itself to working with dyads. More recently, work by Steve Martin and others has extended this basic idea to higher-cardinality chords. This article will concern itself with dyads, as the dyadic case is still the most well-developed, and many of the ideas extend naturally to larger chords without need for much exposition.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The general idea of Harmonic Entropy is to first develop a discrete probability distribution quantifying how strongly an arbitrary incoming dyad &amp;quot;matches&amp;quot; every element in a set of basis rational intervals, and then seeing how evenly distributed the resulting probabilities are. If the distribution for some dyad is spread out very evenly, such that there is no clear &amp;quot;victor&amp;quot; basis interval that dominates the distribution, the dyad is considered to be more discordant; on the other extreme, if the distribution tends to concentrate on one or a small set of dyads, the dyad is considered to be more concordant. A clear mathematical way of quantifying this is via &lt;span style="line-height: 1.5;"&gt;the &lt;/span&gt;&lt;span style="line-height: 1.5;"&gt;&lt;a class="wiki_link_ext" href="http://en.wikipedia.org/wiki/Entropy_(information_theory)" rel="nofollow" target="_blank"&gt;Shannon entropy&lt;/a&gt;&lt;/span&gt;&lt;span style="line-height: 1.5;"&gt; of the probability distribution:&lt;/span&gt;&lt;br /&gt;
The general idea of Harmonic Entropy is to first develop a discrete probability distribution quantifying how strongly an arbitrary incoming dyad &amp;quot;matches&amp;quot; every element in a set of basis rational intervals, and then seeing how evenly distributed the resulting probabilities are. If the distribution for some dyad is spread out very evenly, such that there is no clear &amp;quot;victor&amp;quot; basis interval that dominates the distribution, the dyad is considered to be more discordant; on the other extreme, if the distribution tends to concentrate on one or a small set of dyads, the dyad is considered to be more concordant. A clear mathematical way of quantifying this is via &lt;span style="line-height: 1.5;"&gt;the &lt;a class="wiki_link_ext" href="http://en.wikipedia.org/wiki/Entropy_(information_theory)" rel="nofollow" target="_blank"&gt;Shannon entropy&lt;/a&gt; of the probability distribution:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;!-- ws:start:WikiTextMathRule:0:
&lt;!-- ws:start:WikiTextMathRule:0:
Line 159: Line 159:
where the p_d(b) are the probabilities assigned by dyad d to each basis rational b. It is noteworthy that Rényi entropy converges to Shannon entropy in the limit as a→1, a fact which can be verified using L'Hôpital's rule as found &lt;a class="wiki_link_ext" href="http://www.sonycsl.co.jp/person/nielsen/Note-HopitalRuleShannonRenyiTsallis.pdf" rel="nofollow" target="_blank"&gt;here&lt;/a&gt;.&lt;br /&gt;
where the p_d(b) are the probabilities assigned by dyad d to each basis rational b. It is noteworthy that Rényi entropy converges to Shannon entropy in the limit as a→1, a fact which can be verified using L'Hôpital's rule as found &lt;a class="wiki_link_ext" href="http://www.sonycsl.co.jp/person/nielsen/Note-HopitalRuleShannonRenyiTsallis.pdf" rel="nofollow" target="_blank"&gt;here&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Musically speaking, the parameter &lt;em&gt;&lt;strong&gt;a&lt;/strong&gt;&lt;/em&gt; can be interpreted as the extent to which it is desired to model the rational-matching process for incoming dyads as an intelligent, active process by which the auditory system actively analyzes the probability distribution and seeks out the &amp;quot;victor&amp;quot; rational (typically with the greatest probability). Some psychoacoustic effects naturally fit into this paradigm, such as the virtual pitch integration process, which actually does attempt to find a single victor when matching incoming chords with chunks of the harmonic series. Other psychoacoustic effects, such as that of beatlessness, may instead be better viewed as &amp;quot;dumb&amp;quot; processes whereby nothing in particular is being &amp;quot;chosen,&amp;quot; but where a more uniform distribution of matching rational numbers for a dyad simply generates a more discordant sonic effect. Increasing values of &lt;em&gt;a&lt;/em&gt; correspond to a model that is more &amp;quot;active&amp;quot; in this way.&lt;br /&gt;
Musically speaking, the parameter &lt;em&gt;&lt;strong&gt;a&lt;/strong&gt;&lt;/em&gt; can be interpreted as the extent to which the rational-matching process for incoming dyads is considered to be an intelligent, active process by which the auditory system actively analyzes the probability distribution and seeks out the &amp;quot;victor&amp;quot; rational with the greatest probability. Some psychoacoustic effects naturally fit into this paradigm, such as the virtual pitch integration process, which actually does attempt to find a single victor when matching incoming chords with chunks of the harmonic series. Other psychoacoustic effects, such as that of beatlessness, may instead be better viewed as &amp;quot;dumb&amp;quot; processes whereby nothing in particular is being &amp;quot;chosen,&amp;quot; but where a more uniform distribution of matching rational numbers for a dyad simply generates a more discordant sonic effect. Increasing values of &lt;em&gt;a&lt;/em&gt; correspond to a model that is more &amp;quot;active&amp;quot; in this way.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This interpretation comes from the use of the Rényi entropy in cryptography as a measure of the strength of a cryptographic code in the face of an intelligent attacker, an application for which Shannon entropy has long been known to be insufficient as described in &lt;a class="wiki_link_ext" href="http://users.cis.fiu.edu/~smithg/papers/qest11.pdf" rel="nofollow" target="_blank"&gt;this paper&lt;/a&gt; and &lt;a class="wiki_link_ext" href="http://www.ietf.org/rfc/rfc4086.txt" rel="nofollow" target="_blank"&gt;this RFC&lt;/a&gt;. More precisely, the Rényi entropy of order ∞, also called the &lt;strong&gt;min-entropy&lt;/strong&gt;, is used to measure the strength of the randomness used to define a cryptographic secret against a &amp;quot;worst-case&amp;quot; attacker who has complete knowledge of the probability distribution from which cryptographic secrets are drawn. In a musical context, by considering the incoming dyad as analogous to a cryptographic code which is attempting to be &amp;quot;cracked&amp;quot; by an intelligent auditory system, we can consider that the analogous &amp;quot;worst-case attacker&amp;quot; would be a &amp;quot;best-case auditory system&amp;quot; which has complete awareness of the probability distribution for any incoming dyad and actively chooses the strongest rational.&lt;br /&gt;
This interpretation comes from the use of the Rényi entropy in cryptography as a measure of the strength of a cryptographic code in the face of an intelligent attacker, an application for which Shannon entropy has long been known to be insufficient as described in &lt;a class="wiki_link_ext" href="http://users.cis.fiu.edu/~smithg/papers/qest11.pdf" rel="nofollow" target="_blank"&gt;this paper&lt;/a&gt; and &lt;a class="wiki_link_ext" href="http://www.ietf.org/rfc/rfc4086.txt" rel="nofollow" target="_blank"&gt;this RFC&lt;/a&gt;. More precisely, the Rényi entropy of order ∞, also called the &lt;strong&gt;min-entropy&lt;/strong&gt;, is used to measure the strength of the randomness used to define a cryptographic secret against a &amp;quot;worst-case&amp;quot; attacker who has complete knowledge of the probability distribution from which cryptographic secrets are drawn. In a musical context, by considering the incoming dyad as analogous to a cryptographic code which is attempting to be &amp;quot;cracked&amp;quot; by an intelligent auditory system, we can consider that the analogous &amp;quot;worst-case attacker&amp;quot; would be a &amp;quot;best-case auditory system&amp;quot; which has complete awareness of the probability distribution for any incoming dyad and actively chooses the strongest rational.&lt;br /&gt;