Digit-Collision Energy and Musical Tuning
Cite this paper
A. S. Petty, Digit-Collision Energy and Musical Tuning, DOI: 10.5281/zenodo.24602182.
Abstract
Two pure sine tones a fifth apart have powers that add over a common period. A bowed string in ideal steady motion exerts a sawtooth force on the bridge. When two sawtooth tones start together at a fifth, the lower note’s third partial reinforces the upper note’s second. For unit sawtooths at the first harmonics starting together, a prime base gives equally spaced samples of their sum. Each sample equals an excess of carries at steps marked by two equal digits. The sum of the squared samples is the digit-collision energy. How much of a chord’s power stays within a tuning lattice? For equal-amplitude tones through harmonic , groups generated by octaves and fifths retain more than their limiting share at every finite cutoff. Admitting just major thirds gives five-limit groups. In a thirty-tone chord they retain per cent of the power over the period and per cent within of the onset. Averaging power over all choices of group polarity gives both readings. As grows, the grouped power spreads uniformly. The full chord assigns limiting mass to each reduced phase of denominator . At , sampling raises the tuning share to first order by of its limiting value.
A perfect fifth in the harmonic series
In one period of a perfect fifth, the lower note completes two cycles and the upper note three. The earlier alignment study recovers this interval from base-twelve digits. For a fixed denominator , it counts the fractions , , whose expansions terminate or eventually match the digits of in the same positions. For denominators and , the two proportions fall short of . As the denominators double together, the ratio of the two shortfalls tends to .
How much does that fifth contribute when the two notes sound together? A bowed string in ideal Helmholtz motion exerts a force on the bridge that rises steadily and drops once per cycle . For two unit sawtooth tones a fifth apart, the separate mean squares add to . Starting them together gives their sum a mean square of . The extra comes from the partials the notes share and persists when both notes rise an octave.
The first four harmonics give the chord , with the fifth between its two middle voices. At each of twenty-five equally spaced phases of a period, the four sawtooth amplitudes add before the result is squared. The sum of those squares is the digit-collision energy in base five.
The matching digit pairs mark five of the twenty-five steps in base five. A walk through the words in order carries once, on passing from to . The marked steps therefore collect one carry against a proportional share of . Their excess is . Step size one corresponds to phase of the period, where the four tones give . This sample contributes to the energy. Over all twenty-five phases the squares sum to , so the chord’s sampled mean square is .
Among the first harmonics of an equal-amplitude sawtooth chord, the fifth occurs at , again at , and at every transposition through the cutoff. A reduced interval , with , occurs times. Each occurrence has the same weight. The fifth’s share of the chord also depends on how often it occurs.
Squaring the whole chord includes every pair of tones. A second reading adds the powers of the tuning groups, each sounded as a chord in its own right. A pair contributes to that reading only if its frequency ratio belongs to the chosen tuning. For Pythagorean tuning, stays together and falls into two groups. In a recording of all the tones, reversing whole groups between takes and averaging over the sign choices gives the second reading. The same takes can be measured over a whole period or in a short window on either side of the common reset.
Let be phase on the unit circle , with length measure of total mass one. In a period of duration , phase denotes elapsed time . Our sawtooth is between integers, with value zero at each reset, the jump from to . At the common onset, , all the tones reset together. Harmonic is the entire tone ; its sine components are its partials. We write In prime base , step size gives phase of the chord with tones (Section 5). Each phase occurs once. Dividing the digit-collision energy by gives the mean square on this grid. The integral gives the mean square over the continuous period. A common filter of unit gain at every frequency preserves the whole-cycle mean squares of both mixes by Parseval’s identity. Even a common time delay moves their readings in a fixed phase window. Predicting sound at a microphone would require the intervening response.
Half a period after the start, every even harmonic resets together. Every odd one passes through the middle of a ramp. As grows, the wave beside this half turn has half the height and half the width of the wave beside the onset. Its squared area is one eighth as large. How much of that area is already present when the tuning groups are squared separately?
The weight of a just interval
The third partial of the lower tone of a fifth coincides with the second partial of the upper tone. Their next coincident partials are the sixth and fourth. Starting the sawtooths together puts every such pair in phase. Summing over those coincidences accounts for the in the opening example.
At a reduced ratio , the two harmonic indices have the form . In the sine series of the coefficient of the th partial is . The coincident partials of these two tones have indices in the lower voice and in the upper voice. Orthogonality gives, for every positive integer , In general , where is the greatest common divisor. Franel stated this identity and Landau gave a proof .
Dividing (1) by the product of the two root-mean-square amplitudes gives . For the fifth this overlap is , and for the just major third it is . Raising both voices by an octave preserves their overlap. Raising the upper voice alone changes to and the overlap to .
The overlap is for Tenney’s harmonic distance . It can also be compared with the swing in power as the upper tone moves through a cycle.
Proposition 1 (Beat depth). Let be coprime positive integers and put . For every real , The energy is greatest when the two tones share a reset, where it equals . It is least when , where it equals . The difference is .
Proof. Partial of the first tone meets partial of the second only if , that is, and . Since the cross term is by the Fourier series . On the polynomial has maximum at the ends and minimum at . The tones share a reset exactly when is an integer. ◻
At unison the extremes are and , so the swing is one. For positive amplitudes the mixed term gains a factor , giving swing against at unison. As a percentage of the unison swing this is . tabulates the influence of mistuning a violin-tone interval, giving for the octave and for the fifth. gives the formula and points out the rounding exception at , printed as where . The phase sweep derives the relative weights for the ideal sawtooth. The aligned excess , the swing and the normalized overlap measure different features of the same pair.
For a genuinely mistuned fifth the relative phase changes during the measurement. Let the upper frequency be . In period its starting offset is , so the measured power is If , this differs from the frozen-phase power of Proposition 1 by at most . Indeed the smooth change of the second ramp has integrated absolute value at most . Crossing its reset costs at most two on a set of length at most , since is uniform modulo one. The sum of the two combined amplitudes in the difference of squares has absolute value at most four. Thus a slow mistuning gives a swing approaching . During one beat the starting phases come within , modulo , of both extrema. The th partial of the lower tone has frequency . The th partial of the upper tone has frequency . Their beat rate is exactly cycles per fundamental period. The successive power readings follow the frozen-phase curve to the accuracy just proved. For a fifth with and , the partials have completed one relative turn after fifty periods. The frozen powers then agree, while integration of the two ramps gives . measured the detection of mistuning in complex-tone fifths and major thirds by varying beat frequency and level variation separately.
Changing the timbre changes the interval weight. If the partials of each tone have amplitudes proportional to , , and begin in phase, the same calculation gives the overlap . A square wave has only odd partials. Its overlap is when and are both odd and zero otherwise, so that an octave of square waves shares no energy. The sawtooth is the case with every partial present.
A chord of several tones started together has as its energy the sum of the energies of its tones and twice the sum of its pairwise terms (1). The just major triad has energy . The just minor triad is made of the same three intervals and has the same energy. Pairwise weights cannot tell the two apart. Section 4 returns to them.
The share of a tuning lattice
Harmonics form a just major triad in the proportions . Its outer voices form a perfect fifth. If octaves and fifths generate the allowed intervals, the outer voices are added together and the middle voice is measured separately. Admitting the just major third brings the middle voice into the same group. Both measurements use all three tones. The tuning determines which amplitudes meet before squaring.
Let be a finite set of primes and let be the set of positive integers whose prime factors belong to , including . These are the -supported integers of for any base with prime support , and their ratios are the intervals of the tuning lattice generated by . The primes give Pythagorean tuning and give five-limit just intonation . Two harmonic indices belong to the same group when both terms of their reduced frequency ratio belong to . Thus form a single five-limit group even though all three indices are divisible by .
The same grouping applies to the full chord through harmonic . Table 1 gives the three voices’ energy over their common period alongside each tuning’s share of the full chord at two finite cutoffs and in the limit. Both the weight of an interval and the frequency of its occurrence enter the last column.
| Tuning primes | Limit | |||
|---|---|---|---|---|
| , octaves | 66.44 | 61.55 | ||
| , Pythagorean | 84.25 | 80.32 | ||
| , five-limit | 92.69 | 89.77 | ||
| 97.27 | 94.90 | |||
| 98.73 | 96.64 |
The percentages use the energy of the full chord as their denominator. Each contains the individual tone powers, whose total is . The additional power within the groups depends on which pairs of distinct tones the tuning admits.
There is a way to measure the two-group reading with the full triad sounding in each take. Let be the sum of the outer voices and the middle voice. Record , then reverse the polarity of the middle voice and record , with the same onset. At every phase the average of the two squares is . For any finite number of groups, averaging over all choices of group polarity gives the sum of their squares in exactly the same way. Each product between two different groups occurs equally often with either sign. This measurement uses the same pitches, amplitude magnitudes and reset times as the original chord.
If each voice instead starts at an independent uniform phase, its mean at every time is zero. Averaging the full squared signal over these starts removes every mixed product and leaves . The polarity experiment keeps the relative timing within each group.
Each occurrence of the same interval through cutoff contributes the same mean power. Its location in the cycle depends on the transposition. The product repeats times. If does not divide the nonzero integer , the contributions from the repetitions cancel, so the Fourier coefficient at is zero. Thus only finitely many contribute at a fixed , while the mean in (1) contributes at every . It follows that, when tested against any continuous function of phase, Indeed the total variation norms of the measures on the left are at most , so convergence on Fourier modes suffices. The same argument with gives for the squared individual tones.
A fifth and the ratio each add to the cycle power of the pair. A fifth occurs once per three harmonics in the limit and once per six. Counting the transpositions gives their distinct contributions and per harmonic.
Corollary 2 (Energy within a tuning lattice). Let be a fixed finite set of primes. Each harmonic index is uniquely , with and divisible by no prime in . For the equal-amplitude chord put Then tends weakly to , where
Proof. Two indices lie in the same group exactly when both terms of their reduced ratio are in . On expanding the squares, all diagonals therefore occur. For a fixed coprime in the two orders of the pair have limiting density , by (2). The total variation norm of their signed measure at cutoff is at most , since . These bounds are summable over the entire lattice. Indeed This permits passage to the limit through all pairs. The diagonal supplies the remaining . ◻
With octaves alone the distinct reduced pairs are for . They give . For the Pythagorean and five-limit lattices the bounds are The calculation runs over the members of up to in increasing order. Each contributes times the sum of over earlier members coprime to . For a cutoff , the omitted sum is at most The same computation gives when the prime is admitted and with and . Extending Pythagorean tuning to five-limit just intonation therefore adds about nine percentage points of limiting energy. The prime adds under six more and the prime under three. The bound in the proof is not uniform in , and the corollary concerns a fixed lattice. In the limit each of these measurements distributes its energy uniformly through the cycle.
Theorem 3 (A lower bound for finite chords). Let be any of the five tuning lattices in Table 1, and set . For the first equal sawtooth tones started together, The constant is sharp.
Proof. An interval with reduced indices occurs times. Its two orders contribute at each transposition by (1). Including the individual tone powers gives Here and for . The unrestricted series is . The Euler sum follows by evaluating . Removing the common factor divides the unrestricted sum by . The same convergent series bounds the terms at each cutoff, which justifies the limit. Replacing the number of transpositions by leaves its fractional part . Summing over the intervals gives the cutoff identity of , Restrict the sum to to get . At integer , . Summing gives Indeed either member of a coprime pair may carry a power of ; the local sum for the weight is .
A lower bound for comes from the pairs . Each successive block of integers beyond contains integers coprime to . The reciprocal square of each of those integers is at least the reciprocal square of the right endpoint. Summing the endpoint values and comparing with the integral from to infinity of gives This lower bound increases with . At it exceeds . For each of the five lattices, the bounds below yield . Equation (6) therefore gives for every .
For use the integer
scale . For a set of indices
(all integers, or ) form Writing for the unrestricted case, we have for . The two roundings lose less than two
units for each , and . Likewise . For each lattice
the integer satisfies . The series of
Corollary 2 through , together with its tail bound,
determines it. Write for the
minimum of Each column records the
calculation for one lattice. In the computation of each minimum, contributes to the increment at every
multiple of . Each increment also
contains . Their running sums give the
values used in the minimum. For ,
rounding each summand down to a multiple of gives . Each is positive, so throughout the finite
range as well. Corollary 2 and (3)
give , proving
sharpness. The supplementary file tuning_floor.c reproduces
all five integer margins, the enclosures for used here and the lower bound for
. ◻
At the ratio is one in every group partition. The finite floor uses equal amplitudes, and the approach to it can reverse direction. The Pythagorean share rises from to per cent between thirty and thirty-two tones.
Energy at rational phases of the common period
In the opening fifth both voices read zero at half a period. One is jumping there and the other is crossing the midpoint of a ramp. A sample at that instant cannot distinguish the two events. An integral over a small neighbourhood includes the waves on either side. For the full equal-amplitude chord the energy near a reduced phase has limiting mass . The denominator fixes the weight even when the fraction denotes a time at which the chord itself reads zero.
There are two ways to total this energy. One can integrate each pair of tones over the cycle, or integrate the combined wave on short arcs around the rational phases. The agreement of these totals will account for all the mass, including when the upper harmonics taper off.
Set . Let a fixed real amplitude envelope of bounded variation on give the coefficients Equal amplitudes are the case , where . The energy on an arc is . We divide by to compare successive cutoffs. Weak convergence means that the reading obtained with any fixed continuous weight on phase converges, for instance one that tapers to zero at the ends of an arc. Write for a unit point mass at .
Theorem 4 (Energy at rational phases). Let For equal amplitudes, the normalized energy measure tends weakly to . For an envelope of bounded variation put Then tends weakly to . Here , and unless is zero almost everywhere.
Proof. The profile at a reset. For , integrate the linear pieces of from zero to to obtain On the first fold is . For other choices of the shape changes. The powers of the denominator come from the same change of scale. For equal amplitudes proved this local limit uniformly on bounded intervals in . His sawtooth has half our amplitude and takes its right-hand value at a jump. Doubling his profile gives for . At the centre its value is , while the midpoint convention gives . We need a local estimate that also allows the amplitudes to vary and change sign. Put , . At a reduced rational we have, for and real , Indeed, group the summands by . With , the function in residue is . Its supremum is at most and its variation is at most . The rectangle rule with spacing costs this variation and at most two end terms of size after rescaling. The sum of the integrands equals . Indeed . When is an integer, both sides of the resulting sawtooth identity take the same midpoint correction. Integrating gives (7).
The total energy. The mean-square energy over the cycle satisfies The pair integral is . For , with a fixed primitive pair, the sum over is a Riemann sum for the displayed integral. The absolute bound is summable, since , where .
The energy of the profile. Extend by zero off as an function. Set The Fourier transform of , with kernel , is almost everywhere. Indeed the th nonzero Fourier coefficient of is . Integrate the finite series against and change variable to in each term. The transform tails tend to zero in because . The corresponding finite integrals converge for each by Cauchy–Schwarz and periodwise convergence of the sawtooth series. This identifies the limit.
Parseval gives . Expand the squared norm. In the terms indexed by , , substitute . The term becomes Absolute convergence follows from the majorant of (8). Summing in gives . Since , the limit in (8) is . Positivity follows without a zero estimate. The inverse of on is , where is the Möbius function. Both series converge absolutely in operator norm. Their composition is the identity by . For , equation (3) gives , and the squared profile has integral .
Exhaustion. For fixed and , (7) gives limiting normalized energy inside distance of . Every weak subsequential limit thus assigns at least to the point. First bound the mass of a fixed closed neighbourhood, then shrink it and let increase. There are reduced phases of denominator , with at the common reset. From , summation against gives . These atoms exhaust the total in (8). No mass is left for any other point, and the limit is . ◻
For equal amplitudes one can also start from Kunik’s profile and the GCD sum of , which gives . Integrating the squared profile gives the mass at each rational, and the totient sum above exhausts that known total. Comparing the two energy calculations in the proof gives the corresponding result even when the harmonic amplitudes change sign.
An equivalent form is At only the grids indexed by multiples of contribute. Hence and for .
In the equal-amplitude limit a share of its energy lies at the common reset, at half a turn and at each third. Two quantities round to per cent. The mass at the start is per cent of the whole energy. The Pythagorean groups account for per cent over the entire period. A reading on a short arc distinguishes them.
The large amplitudes occupy a shrinking fraction of the cycle. Indeed tends to zero in measure although its mean square tends to one. To see this, cover finitely many rational phases carrying mass at least by open arcs of total length less than . The closed complement has limiting upper energy at most . At any fixed threshold the fraction of the period with therefore has limit superior at most . This upper bound tends to zero with .
Tapering the upper harmonics separates the two measurements in another way. The limit in Theorem 4 is the same measure for every envelope, up to the constant . The shares of Section 3 are for equal amplitudes. The proof of Corollary 2 applies to any envelope of bounded variation and gives the ratio of grouped to full power as the terms of (8) with , divided by the whole sum for . For nonnegative amplitudes every omitted pair has nonnegative cycle mean, so this ratio is a share of the total. For the linear taper the integral in (8), for , is . The diagonal contributes . Summing over all coprime pairs gives total energy per tone , using and from the proof above. Restrict the numerator to the tuning primes and divide by this total. The Pythagorean share falls from to per cent and the five-limit share from to per cent.
Even a positive choice of amplitudes can reverse the finite-floor inequality. For the Pythagorean ratio at is . Indeed the common factors in the pair formula cancel, leaving as the weight of each ordered pair. Its limiting ratio exceeds . In (8) the weight of a reduced pair is now . The full sum, multiplied by nine, is . For a lower bound on the ratio it suffices to retain the Pythagorean pairs with and bound above and below by their sums through 1000, adding to the upper bound.
Signed amplitudes can give a ratio greater than one. For a short interval of length centred at , the two bands and have amplitudes and , respectively. The envelope is zero elsewhere. As shrinks, each fixed reduced pair in (8) eventually has disjoint bands unless it is the diagonal or has ratio or . The diagonal contributes . The two orders of the pair contribute . Its tones belong to different Pythagorean groups. After division by each summand is bounded in magnitude by , since the larger index meets the two bands for at most of the integration interval. This bound is summable. The limiting grouped-to-full ratio therefore tends to as the bands narrow.
Interactions between tuning groups
In five-limit tuning, harmonics and belong to different groups. Squaring the full sum counts their product twice. Squaring the two groups separately omits both copies. The five-limit measurement retains over four fifths of the limiting energy. In that limit equal arcs near the common reset and near half a turn receive the same share.
Corollary 5 (Products between tuning groups). Let be a fixed finite set of primes. In , the products of tones from different groups of , taken in both orders, form a signed measure that tends weakly to . The squared individual tones tend to , and the products of distinct tones to .
The absence of atoms inside a tuning group has a simple counting explanation. Any collection of at most ordered pairs contributes a density bounded in absolute value by after division by , since . Its mass on any arc is bounded in absolute value by times the arc length. The pairs inside a fixed tuning lattice satisfy this count, by the convergent sum over in the proof of Corollary 2. Counting explains the absence of limiting atoms for many ways of grouping tones. The actual uniform density , and the energies at finite cutoffs, use the frequency ratios of the tuning.
The polarity experiment also separates reinforcement from cancellation. Write and for the two power readings per tone. Their weak limits are mutually singular because gives all its mass to the rational phases, and gives them zero mass. By lower semicontinuity of the total variation norm, It follows that . Removing this common part from each reading leaves the positive and negative parts of their difference. Where the full mix gains power, tends weakly to . Where it loses power, tends weakly to . In units of limiting full-chord power the Pythagorean groups give a gain of and a loss of about at different phases of the period.
The peaks in a thirty-tone chord
Figure 1 compares the two readings on the peaks of the thirty-tone chord. The windows extend to a distance from the onset and from the half turn, with distances measured on the circle. At thirty tones the groups already supply close to half the first window’s power and four fifths of the second. At sixteen tones their half-turn reading is per cent of the combined reading because some between-group products cancel there.
| Window | Full / cycle | Groups / cycle | Groups / full in window |
|---|---|---|---|
The slopes of the ramps determine every entry. Let a group contain tones, let be the sum of their harmonic indices, and let count its even indices. On the right of the onset its voltage is up to . Just beyond the half turn at distance it is up to . Reflection preserves the square. Its two window energies are therefore The lower reading is the sum of these expressions over the groups. For the upper reading all the tones belong to one group.
Under a uniform random permutation of the thirty harmonic labels among the same eight groups, any two distinct labels meet with probability . The expected whole-cycle power is , since the thirty diagonal terms contribute . The actual five-limit groups retain per cent of the power. The average over permutations is per cent.
Proposition 6 (The onset window). Let , . For any fixed finite , the ratio of grouped to full power in is , where For Pythagorean tuning . For five-limit tuning .
Proof. The first expression in (10) gives full power on . A reduced ordered pair in one group has transpositions for . Its unscaled contribution to the grouped window is The Riemann sum tends to . It is bounded in absolute value by , since each product has magnitude at most one. The summable lattice bound of Corollary 2 allows us to add the limits. Division by the full window energy gives the result. For the numerical bounds sum to . In the tail, . The sum of over all ordered coprime lattice pairs is for nonempty . This bounds the omitted terms with their original weights. ◻
At the half turn it also matters which tones reset. Write for even and for odd . On the ratio of grouped to full power is , where, over the same ordered pairs, Indeed the two ramps on the right are and , with now measured from the half turn. For coprime , the parity means of and are and . Integration and the two Riemann sums over even and odd give the expression in brackets. Its absolute bound permits summation. The full-window energy is asymptotic to by (10). For five-limit tuning the same tail estimate gives . The approach can be seen directly in (10). At cutoffs , multiplying the grouped fraction by the cutoff gives at the onset and at the half turn. The two peaks retain different fractions even as both fractions tend to zero.
Keeping a fixed finite list of reduced intervals gives a uniform limiting density by (2). Adding more intervals after taking their limits still gives a uniform measure. Taking all intervals present at each cutoff before passing to the limit gives . In particular the atom at half a turn does not belong to the fifth alone.
Remark 7 (Major and minor). The just major and minor voicings and are inversions and have the same three pairwise overlaps . They therefore have the same mean square . A different reading separates their waveforms. Integrating on each linear segment between the resets gives the fourth moments for and for .
These fourth moments use synchronized starts. Delaying the highest voice by half its own period changes the major value to and leaves the minor value unchanged. The even indices stay fixed under the common half-period shift that reverses phase for . The inversion preserves the interval content and the aligned second moment. The fourth moment also reads the relative phases.
The harmonic chord on a prime-square grid
Each entry in the equal-digit table gives one amplitude of the chord. Its address specifies a step size in the digit experiment. A permutation gives the phase at which the chord has that amplitude.
The earlier alignment count locates an interval by comparing digit matches . Its deficit has a sampling interpretation. Two marked residue classes modulo on a circle of cells occupy of the circle. Omitting the marked point zero leaves proportion . For base twelve, with and supported on , the ratio of the two deficits at and tends to .
In a prime base , write . The two-digit words with equal digits have addresses , . For a walk with increment , the number of carries at the marked steps is Over all steps the differences telescope to . The equal-digit words occupy of the table, so is their signed carry excess. Squaring each excess before summing gives the digit-collision energy . For coprime to , precisely of the fractions , , begin with two equal digits .
For the musical phase , where is the least nonnegative residue of , the floor differences give the straightening identity of in the form Here is an integer, and the last difference takes the midpoint value at every integer. Since inverts modulo , is the chord’s mean square over all phases. In base three the two tones give at increment one and at eight. Each contributes to . The nine samples have mean square . Over a full period the same two tones have mean square .
Corollary 8 (Sampling the rational peaks). Suppose and the sampling phases are equally spaced, with any common offset. For each fixed real envelope of bounded variation, the sampled measures with mass at converge weakly to , uniformly in the offset. The equal-digit table has with the base running through the primes. In musical phase order the assertion for equal amplitudes is The separate tuning groups, read at those same phases, have limit for fixed .
Proof. The function equals each sampled amplitude throughout the cell to its right. Distinct reduced resets of denominator at most have circular distance at least . Each closed cell therefore meets at most two, and any reset meets at most two cells. Write . Between resets the slope has magnitude at most . Across a reduced reset of denominator the amplitude can change by at most , including its midpoint. Squaring the sum of the drift and these at most two jumps and integrating gives By (8), . Cauchy–Schwarz now gives . Against a continuous test function its value at the grid point and its cell average differ by at most its modulus of continuity at . The normalized masses are bounded. Theorem 4 gives the claimed limit for every offset.
For the groups, fix a reduced pair . The product at transposition , times any fixed smooth test function, has variation , with the constant depending also on the test. The difference between its grid mean and integral costs at most this variation divided by . Sum to and divide by to get . The same summable bound as on the circle applies to the two orders with a bounded test of norm one. Sum over the lattice, then approximate continuous tests uniformly. ◻
Follow the samples on either side of the common onset back to their original addresses. At musical phases , , they have absolute amplitude , by summing the first ramps. In the original table their positions are and . Against a continuous weight , those entries contribute This is a Riemann sum since uniformly. Thus the two sides of the onset alone spread mass over the circle in the original order. The other squared readings are positive or zero. The total power agrees in either order, but only the musical phases in the corollary put those samples beside the common onset.
Taking the constant phase weight in Corollary 8 gives , the leading cubic law. On a single fifth the same grid gives a smaller discrepancy that can be computed exactly. Specializing the bilinear identity of at gives, for , The same value follows by summing the product of the two ramps over the four intervals cut by , with the midpoint zero at the origin. Each transposition through permutes the grid. All fifths together therefore account for a circle-minus-grid mean of order .
For the whole chord the number-theory companion proves The diagonal and mixed contributions are identified in . The tuning table asks a further question. How much do these corrections change the fraction of power the groups retain?
Proof. Put and . Subtraction gives . The grouped loss is bounded by (6). The first assertion follows from the continuous second term of .
The full and grouped grid readings are Put and . Each transposition of a reduced pair permutes the grid. Its error in mean is at most by variation. There are at most copies, hence an error of order for a given pair. Counting the possible prime exponents gives pairs. Thus . For the full chord by . Subtracting the two measured shares gives Since and , this gives the second assertion. ◻
The last calculation locates the missing unit between the groups. Their own discrepancy tends to zero, and the between-group discrepancy tends to one. The five-limit readings over the full cycle are
| Within groups | Between groups | |
|---|---|---|
| 31 | 0.57132 | 0.37986 |
| 101 | 0.24386 | 0.78312 |
| 1009 | 0.05366 | 0.98380 |
At the groups account for the larger part of the whole-cycle discrepancy. Dividing the powers gives a more immediate musical comparison. For the same thirty tones the five-limit share is per cent over the continuous period and per cent when the period is read at its 961 equally spaced phases.
Interference near the common onset
Two tones belong to different five-limit groups precisely when their frequency ratio, in lowest terms, has a prime greater than five in its numerator or denominator. How much of the chord’s power comes from pairs spanning those groups depends on where in the period the power is measured.
As more harmonics sound, the five-limit groups retain a limiting share above per cent over the whole period. In the window of radius about the onset their share falls as , with about . Almost all the power in that narrowing window comes from interference between groups.
The distinction can be measured with the pitches and onset held fixed. Between takes, whole groups change polarity independently. Subtracting the average power over all sign choices from the power of the original chord gives the between-group contribution at each phase. In the thirty-tone chord, these pairs supply per cent of the power over a full period. Within of the common onset, the same pairs supply per cent.
Funding
This research received no external funding.
Disclosure statement
The author reports no competing interests.
References
[1]Benson, D. J. 2007. Music: A Mathematical Offering. Cambridge: Cambridge University Press. https://doi.org/10.1017/CBO9780511811722.
[2]Cubarsí, R. 2019. “Harmonic Distance in Intervals and Chords.” Journal of Mathematics and Music 13 (1): 85–106. https://doi.org/10.1080/17459737.2019.1608600.
[3]Franel, J. 1924. “Les suites de Farey et le problème des nombres premiers.” Nachrichten von der Gesellschaft der Wissenschaften zu Göttingen, Mathematisch-Physikalische Klasse 1924: 198–201.
[4]von Helmholtz, H. (1885) 1954. On the Sensations of Tone as a Physiological Basis for the Theory of Music. Translated by A. J. Ellis. 2nd English ed. Reprint, New York: Dover.
[5]Hilberdink, T., F. Luca, and L. Tóth. 2020. “On Certain Sums Concerning the GCD’s and LCM’s of Positive Integers.” International Journal of Number Theory 16 (1): 77–90. https://doi.org/10.1142/S1793042120500049.
[6]Kunik, M. 2020. “New Insight into Results of Ostrowski and Lang on Sums of Remainders Using Farey Sequences.” Online Journal of Analytic Combinatorics 15, article 11. https://www.math.ovgu.de/math_media/Medien/Institute/IAN/Kunik/Publikationen/kunik_ojac.pdf.
[7]Landau, E. 1924. “Bemerkungen zu der vorstehenden Abhandlung von Herrn Franel.” Nachrichten von der Gesellschaft der Wissenschaften zu Göttingen, Mathematisch-Physikalische Klasse 1924: 202–206.
[8]Petty, A. S. 2026a. “The Alignment Deficit Lattice and Musical Tuning.” Journal of Mathematics and Music, 1–7. https://doi.org/10.1080/17459737.2026.2741838.
[9]Petty, A. S. 2026b. “Digit-Collision Energy and the Common Reset.” Preprint. https://doi.org/10.5281/zenodo.24602180.
[10]Stolzenburg, F. 2015. “Harmony Perception by Periodicity Detection.” Journal of Mathematics and Music 9 (3): 215–238. https://doi.org/10.1080/17459737.2015.1033024.
[11]Vos, J. 1982. “The Perception of Pure and Mistuned Musical Fifths and Major Thirds: Thresholds for Discrimination, Beats, and Identification.” Perception & Psychophysics 32 (4): 297–313. https://doi.org/10.3758/BF03206236.
[12]Woodhouse, J. 1993. “On the Playability of Violins. Part II: Minimum Bow Force and Transients.” Acustica 78: 137–153. https://euphonics.org/wp-content/uploads/2022/03/Playability_2.pdf.