Read The Times Australia

Daily Bulletin

How a little mathematics can help create some beautiful music

  • Written by: Andrew J. Milne, Postdoctoral Research Fellow in Music Cognition and Computation, Western Sydney University

Since the time of Pythagoras around 500 BCE, music and mathematics have had an intimate and mutually supportive relationship.

Mathematics has been used to tune musical scales, to design musical instruments, to understand musical form and to generate novel music. But what can mathematics say about one of the most common features of contemporary music – rhythmic loops?

Repeated rhythmic loops are an essential component of most electronic dance music and hip-hop, and also play an important role in rock, jazz, Latin and non-Western music.

Now, two mathematical models of rhythmic loops – made in a free software application called XronoMorph – can be used to generate exciting new musical structures that would otherwise be hard to compose or perform.

XronoMorph: An Introduction

Rhythmic loops: Circles and polygons

A natural geometrical characterisation of a periodic structure, such as a rhythmic loop, is as a circular arrangement of points. You can travel clockwise around a circle but inevitably you come back to where you started.

A common feature of rhythmic loops is that they are multilevel. For example, in Latin percussion, different instruments play different interlocking patterns that may or may not coincide. Such rhythms can be depicted by multiple polygons on the same circle.

A simple geometrical representation is to draw lines that make each of these independent levels into an independent polygon. In this way, a multilevel rhythm becomes a collection of inscribed polygons.

image Clave (top) + Conga (bottom) rhythm in score notation. Andrew Milne, Author provided image Clave (red) + Conga (blue) rhythm as polygons. Andrew Milne, Author provided

But which polygons?

There are more than 17 trillion different rhythms, and that is only counting rhythms with three levels where every beat occurs at one of 16 distinct time locations (16 being a very common temporal subdivision in music).

But, realistically, only a small proportion of these are of musical interest. The trick is to find them.

Two mathematical principles – well-formedness and perfect balance – allow us to easily navigate two distinct rhythmic sub-spaces that are of musical interest, but hard to explore with traditional computational tools or notation.

Well-formed polygons

Well-formedness elegantly generalises three properties commonly found in real-world multilevel rhythms:

  • each rhythmic level comprises only a small number of distinct beat lengths, often only one or two;

  • each level’s beats are fairly evenly spaced in time – there aren’t sudden clusters of events followed by long gaps; and

  • the rhythmic levels are hierarchical – there is a slow and metrically dominant level; above this is a faster and weaker level that splits the previous level’s beats; above this is an even faster and weaker level that splits the previous level’s beats; and so on.

Every level of a well-formed rhythm has two beat lengths: a long beat and a short beat. The length of a given beat is the time between its onset and the onset of the following beat.

A multilevel well-formed rhythm can then be fully defined by three numerical parameters: the numbers of long and short beats in the lowest level rhythm, and the ratio of the sizes of its long and short beats.

From these three numbers, an entire rhythmic hierarchy can be calculated, such that each level has no more than two beat lengths, each level arranges these beat lengths to make them as evenly spaced as possible and each successive level in the hierarchy is created by splitting the long beats of the level below.

Using XronoMorph, the above three parameters can be freely manipulated. The rhythmic hierarchy emerging from them often has great aesthetic appeal. Every level is related to every other level and is also intrinsically well-formed. Together, they create a somewhat self-similar and interwoven structure reminiscent of fractals.

A demonstration of how a well-formed hierarchy is built, and the effect of the lowest level’s beat-size ratio.

Perfectly balanced polygons

Perfect balance is a mathematical principle that can generalise polyrhythms, a type of rhythm commonly used in sub-Saharan African music.

Unlike well-formed rhythms and most Western rhythms, polyrhythms are not hierarchical. They are more like an alliance of different rhythmic levels, each of equal status.

In a polyrhythm, two or more levels, each comprising evenly spaced beats, are superimposed.

Geometrically, they are combinations of regular polygons like equilateral triangles, squares, regular pentagons, and so forth. In real-world polyrhythms, beats from all levels typically coincide at a single location in the period.

A standard 2:3:6 polyrhythm. For clarity, the hexagonal level is not shown. A standard 3:4:12 polyrhythm. For clarity, the 12-gon level is not shown. A standard 3:5:15 polyrhythm. For clarity, the 15-gon level is not shown.

A notable feature of these polyrhythms is that the average position, or centre of gravity, of the circularly arranged beats is precisely at the centre of the circle. This property is defined as perfect balance.

All regular polygons are perfectly balanced, so any combination of regular polygons is also perfectly balanced, and this is true regardless of the individual rotations of the polygons.

This allows an immediate generalisation of standard polyrhythms. The regular polygons can be independently rotated (time-shifted) so they never coincide. This is a musical feature that is, as far as we know, rarely exploited but which produces exciting rhythmic grooves.

Perfectly balanced music constructed with independently rotated regular polygons: 2 digons, 3 squares, 1 heptagon. The polygons have been independently rotated so – unlike a standard polyrhythm – there is no single location at which they all coincide.

But perfect balance opens up yet another fascinating generalisation of standard polyrhythms. There are certain perfectly balanced shapes – irregular elemental polygons – that are not produced by a simple combination of regular polygons.

image An irregular elemental polygon: 1 triangle + 1 pentagon - 1 digon. Only the labelled vertices are sounded. Andrew Milne, Author provided image An irregular elemental polygon: 2 digons + 3 pentagons - 3 digons - 2 triangles. Only the labelled vertices are sounded. Andrew Milne, Author provided

Intriguingly, such polygons are constructed by summing differently rotated positively-weighted and negatively-weighted regular polygons. When a positively-weighted vertex and a negatively-weighted vertex coincide they cancel out.

Legal patterns are produced when no negative weights are left behind. So, although we never hear these negative beats directly, they have a ghostly impact by cancelling out some of the positive beats.

In XronoMorph, a wide choice of regular and irregular elemental polygons can be combined and independently rotated, creating a fascinating subspace of generalised polyrhythms.

Perfectly balanced music constructed with regular and irregular elemental polygons.

XronoMorph

We developed the rhythmic loop generator XronoMorph to demonstrate these principles, hoping it might inspire musicians and music enthusiasts to create novel and interesting rhythms that would be hard to play manually or to otherwise compose.

Simple and attractive software interfaces can also transform a need for expert knowledge into a willingness to intuitively interrogate the interface. In this way, we also hope it will encourage musical engagement, with potential application in music education by allowing visual exploration of complex rhythmic patterns.

Early reaction from musicians and composers has been highly enthusiastic with comments such as “This is an inspired design – truly musical”, “the most interesting and inventive new app around” and “this really helps me better understand and create beats”.

This lends support to the long-held notion that there is a profound connection between mathematics and music, and that a little mathematics can help create some beautiful music.

image XronoMorph screenshot. Andrew Milne, Author provided

Authors: Andrew J. Milne, Postdoctoral Research Fellow in Music Cognition and Computation, Western Sydney University

Read more http://theconversation.com/how-a-little-mathematics-can-help-create-some-beautiful-music-61812

Business News

When Should You Speak to a Lawyer About a Legal Issue?

Legal issues can begin with a simple question, then become harder to manage once formal steps are involved. Many people wait until a matter feels urgent before seeking guidance, even though earlier ...

Daily Bulletin - avatar Daily Bulletin

The strategic rise of Bali as Australia’s next essential healthcare support hub

As Australian healthcare providers grapple with unprecedented operational bottlenecks, a new nearshore model is quietly transforming patient care delivery. Forward-thinking organisations,  including...

Daily Bulletin - avatar Daily Bulletin

Cost Savings and Benefits of Using Used Pallets in Logistics

In today’s competitive logistics and supply chain industry, businesses are constantly looking for ways to reduce operational costs without compromising efficiency and reliability. One of the most prac...

Daily Bulletin - avatar Daily Bulletin

How Fulfilment Services in Australia Help Businesses Scale Efficiently

The growth of e-commerce and modern retail has transformed customer expectations. Consumers now expect fast shipping, accurate order processing, and seamless delivery experiences regardless of where...

Daily Bulletin - avatar Daily Bulletin

Practical Ways Australian Workplaces Can Reduce Operating Costs

Reducing business costs doesn’t always mean cutting staff, shrinking services or making the workplace feel bare-bones. In many cases, the smarter savings are hiding in everyday operations: the light...

Daily Bulletin - avatar Daily Bulletin

Executive Recruitment Solutions That Help Organisations Secure Exceptional Leaders

Leadership has a direct impact on organisational performance, employee engagement, strategic growth, and long-term success. Businesses operating in increasingly competitive environments require experi...

Daily Bulletin - avatar Daily Bulletin

Why A WooCommerce Website Designer Matters For Online Growth

Running an online store today requires more than simply listing products and waiting for customers to arrive. Businesses need a website that is fast, reliable, easy to navigate, and designed to suppor...

Daily Bulletin - avatar Daily Bulletin

Turning Your Empty Tables into Revenue

The rise of AI demand tools in hospitality, the EatClub–CommBank partnership, and seven trends reshaping Australian dining  A growing number of Australian venues are turning to AI-powered demand mana...

Daily Bulletin - avatar Daily Bulletin

High-Impact Dental Marketing Strategies That Are Driving Real Practice Growth Today

The landscape of dental practice growth in Australia has shifted dramatically over recent years. Standard, broad-spectrum advertising campaigns no longer yield the return on investment they once did. ...

Daily Bulletin - avatar Daily Bulletin

The Daily Magazine

Lighting Shop in Perth: How The Right Lighting Can Transform Your Home And Business

The right lighting can completely change the look, feel, and functionality of any space. Whether it ...

Traffic Light System Solutions For Safer And More Efficient Traffic Management

Modern cities and growing communities rely heavily on effective traffic management to ensure safety...

Gold Migration Lawyers in Liquidation: How the Closure Affects Your ART Appeal

If your appeal was with Gold Migration Lawyers, a recent change to how the Tribunal decides cases ...

The pressure cooker: life in urban Australia in 2026

Australian cities have always been demanding. Long commutes, rising housing costs, busy schedules a...

What Actually Makes a Good Criminal Lawyer in Melbourne

Most people only think about this question once. That is usually too late. Most people charged wi...

Why Working With A Chatswood Tutor Can Improve Academic Performance

Academic expectations continue increasing for students across primary school, high school, and senio...

Is It Worth Getting Solar Panels in Melbourne?

The real question is not whether solar works in Melbourne. It works. The question is what it is co...

How A Diploma Of Project Management Builds Practical Skills For Modern Work Environments

Developing the ability to plan, execute, and deliver outcomes efficiently is a key requirement in to...

How to Choose the Right Football for Every Level

Choosing a football may seem straightforward, but the right option depends on who will be using it a...