logoalt Hacker News

arn3ntoday at 2:37 AM23 repliesview on HN

I often see people frame music as mathematical manipulation or try to approach music making from a “first principles” approach, where those principles are mathematics and physics. But watching musicians talk about making music, I seldom see any discussion of the underlying math, and instead see discussions of timbres, instruments, and stylistic/historical influences; musicians who make good music seems to believe “first principles” involves historical knowledge and a well-listened ear, and nothing involving math. My question is: Is thinking about music as applied mathematics a good way to create good music? Or is it just the most easily digestible model of music for the crowd on this site?


Replies

benruttertoday at 5:31 AM

> Is thinking about music as applied mathematics a good way to create good music?

As an instruction, I think clearly not, the fact that lots of musicians aren't mathematical at all but create great music seems to prove it to me.

But it is interesting to think about musicians who do seem to think about music this way. Bach is definitely a good example where the system of counterpoint is very complex. I'm not sure if she'd describe herself in these terns, but I've always got the impression Laurie Speigel thinks about music a little like that too. Then there's stuff like Coltrane's Giant Steps, where the whole piece is based around a sort of music theory "trick".

So maybe not generally, but there's definitely some awesome music out of that kind of relationship.

codeuliketoday at 7:34 AM

Maths and physics are a terrible way to learn the artistic side of music, but if you are interested in "why does a fifth chord sound nice" or "why are the black and white keys on a piano in that particular pattern" you can get interesting (partial) answers by looking into the maths of frequency ratios and the physics of overtones and how they affect the cilia of the inner ear. Music differs between cultures but there are some universals such as the Octave (edit: by which I mean doubling of frequency, not how its divided up) and nearly all cultures have some form of music ... There is something universally human about it, and so its a doorway to studying how our minds work.

show 1 reply
eliasdornelestoday at 1:26 PM

> My question is: Is thinking about music as applied mathematics a good way to create good music? Or is it just the most easily digestible model of music for the crowd on this site?

You are probably aware that there are these things called synthesizers, which exist both hardware and software, complex pieces of technology that can shape sound. There are people who are specialized in creating them (with code and/or electronics), people who are specialized in programming them (creating presets) and people who excel in using them to make music. And many more different profiles who are in between. Each will care about different aspects, they all contribute to making music.

Life is not black and white, and music neither. What is even "good music"? What is your mental model for "the crowd on this site"? In your questions, aren't you reducing the possibilities of learning by putting these into boxes?

The world is big, life is rich and people are much more diverse than what one typically perceives.

DavidPipertoday at 6:45 AM

It sounds pedantic, but I think it's important: maths and physics are often used to describe sounds, their relationships and emergent properties through combination. Maths and physics aren't ever really used to describe music.

It's like telling someone they can paint a masterpiece because they understand Fe4[Fe(CN)6]3 makes an aesthetically pleasant blue pigment.

_kbtoday at 9:26 AM

> Is thinking about music as applied mathematics a good way to create good music? Or is it just the most easily digestible model of music for the crowd on this site?

It's a great way to analyse music (e.g. to categorise, understand, and communicate detail), but that does not mean it's a good way to create it. There's a lot of beauty in finding those abstractions and I think that representation appeals to a lot of people here.

Discussions about timbre, instrumentation, and stylistic influence are often symmetric to those about math. When you have 90 minutes to spare, highly recommend strapping in for a listen to https://malwebb.com/notnoi.html.

There's a lot of really incredible musicians, composers, producers, and educators that go deep on the math. There's also plenty that don't. People build mental models in different ways. That's a good thing and a big part of what makes most art interesting.

thomasahletoday at 7:05 AM

Good musicians care about music theory / “first principles” as much as good writers care about language theory / grammar.

Slow_Handtoday at 4:32 AM

In short: Not really.

As another commenter below has said, "mathematics might be a useful way to understand music", but it's not how compelling music is made.

Mathematics are fundamental to scales and the harmonic series, and knowing about them will help you refine certain choices, but it's not going to help you write a dramatic melody or an emotionally resonant chord progression, or play an energizing rhythm, even if there are mathematical explanations sometimes.

Good music comes from being a good listener, having a strong sense of what's possible, where it could go, and then delivering something surprising. Telling a story with your melody and supporting the arc of that gesture with harmony that accentuates or contrasts it.

Again, there's a mathematical explanation for harmony and dissonance, but players aren't thinking that granular. They're operating at a higher level of abstraction one, two, or three levels above that: They're thinking about telling a story, evoking an emotion, and exciting an audience in the moment.

nuclearnicertoday at 2:54 AM

Wonderful question. I suspect it's partially the culture issue you point to, but also a practical issue of composition. If we decompose sound into the basic waveforms, similar to the subject pdf on page 18, we then have parts that we can reassemble. We can take the defense-funded DSP math of the likes of a John Cooley or a John Tukey and build an engine for assembling the parts of sound.

All this being said, I think that's a process of convenience and a historical path not a absolute constraint. We have some more flexible means of communicating with the machines today. And I strongly encourage someone to work on a new UI for computer music. "Jazz trio piano, upright bass, and drums. start drummer laid-back, piano blowing over the changes, then piano on top."

show 1 reply
tclancytoday at 3:23 AM

I am the least musical person I know, but I can help you out here. Math? John Coltrane has you covered. https://www.americanjazzmusicsociety.com/blog/john-coltrane-...

Kiboneutoday at 8:08 AM

Why not both approaches? Creativity is not just making the most use of what you have but also the most of what you are.

xgulfietoday at 2:48 AM

Thinking about music mathematically is at least a good way to understand music

tossandthrowtoday at 5:12 AM

Likely historically true, but not anymore.

As a software developer I see that LLMs are better at the "craft" of making software.

Software developers training are overwhelmingly analytical.

Musicians will experience the same. That the quality of Ai generated music is superior. But it will come more as a chock for the reasons you explain.

show 1 reply
gizajobtoday at 6:29 AM

No. Create good music from the principles of creating good music, then, a few years down the line, add maths if you really need it.

IndySuntoday at 6:39 AM

tbf the essay is clearly titled 'Introduction to Computer Music', and not 'Introduction to Music'.

rewgstoday at 5:38 AM

I'm a lifelong musician, went to music school to study jazz and orchestration, was a professional film composer for 15 years prior to pivoting to programming. I've read quite a few books on the intersection of math and music.

And not once have I ever felt that these so-called intersections were anything other than contrived.

Of course we can interface with music from a mathematical perspective, but that doesn't mean that we should or that there's anything particularly illuminating to gleen from doing so.

Beyond the very basic math (honestly even that's perhaps too strong a word -- just because something is expressed in numbers doesn't make it _math_) of time signatures and some harmonic concepts up to maybe some of Slonimsky's work, doing so is IMO a fool's errand that exists only to fill space on a TEDx stage.

jmyeettoday at 5:16 AM

It doesn't take that long to learn to read sheet music (or tabs especially) and you could treat it like just playing a sequence of notes but you're never going to get far that way. You need to understand why certain notes go together. Some people have done that without theory but you're going to get much further with even some basic theory.

Think of it this way: if you first saw the word "HELLO". You could deconstruct that and remember that there are 11 lines and 1 circle but that's not how you learn to read or write. You learn letters, which are collections of lines. So you learn the concept of "H" and it having a sound and that it is 3 lines. You then learn to put them together and how you can sound out something thats's written and with varying degree (depending on language) take something said and write it down.

Music theory is like that. Sheet music may be a bunch of circles and lines on a sheet but really it's describing keys and usually a chord-progression. Some sheet music will explicitly just list the chords at the top like A, Em, Asus4, etc.

The 12 notes are constructed from harmonics, specifically 2:1 and 3:2. This part is maths. But the frequencies are adjusted slightly in a system called "equal temperament" where the ratio of 2 adjacent notes is the 12th root of 2.

From there you generally play a subset of those notes (often 7). That's called a scale (eg major or minor scale). The chords in that scale can then be identified by a Roman numeral within a key. So the I chord in the C major scale is a C. The IV chord is the F. Depending on the starting note of the scale you'll get sharps (#) and flats (♭) to denote that they are a different pitch. An easy way to remember this is that the white keys represent those whole and half steps with just the white keys (starting from C). As an aside, so does the A minor scale.

Why do I say all this? Because a huge amount of modern music is simply a I-IV-V chord progression within whatever scale you're using. So if you know a little theory, you can choose a key and a chord progression that will inherently sound nice together. There's more to it of course but understanding what a key is, what chords are and what a chord progression is is a pretty good start.

LukeB42today at 10:07 AM

Both of these things. The timbres can be explained through evolutionary biology. The same brain centers used for processing movement in 3d space also start firing up to start predicting where any given piece of music will go.

An interesting note has a fundamental and harmonics and allows analogies to be drawn in RF engineering and quantum mechanics: https://www.google.com/search?q=any+good+parallels+between+i...

SanjayMehtatoday at 3:37 AM

> nothing involving math.

It's like Escher; he didn't have any clue that his intricate work would excite mathematicians and crystallographers.

Mandatory reference to GEB

bikitantoday at 3:48 AM

Understanding the soul of music and creativity at a mathematical is something that not that many people are trying to do. But there is an entire world of technology that underpins modern music and sound that is built soundly on math, like digital recording digital signal processing, synthesis, physical modeling, and plenty of other stuff, and this seems to be what the book's focus is.

Sure, there have been plenty of attempts to distill music to a mathematical essence. Certainly the ancient Greeks tried this, and traditional counterpoint resembles math in a number of ways. But at the end of the day, mathematical descriptions of math and music theory more generally are more useful as descriptive tools to help give language to what people are doing musically and to understand why we perceive some things as sounding better than others.

Starting with numbers can be good in some respects, like understanding the circle of fifths or how scales are built out of intervals, how chord progressions and harmony work and how to reharmonize, all of which can be augmented with a solid conceptual understanding. But at the end of the day, your ear and creative spirit are your primary asset when it comes to creating good music. This is why computer-generated music has been so bad up until AI took over. Great for building arpeggiators or backing tracks, but good luck creating a beautiful melody in a purely numerical rule-based system.

uoaeitoday at 12:34 PM

Microtonal music throws all of that out the window.

Logic only works in the context of definite ontologies. But audio frequencies are continuous, not discrete. It really is all vibes at the end of the day.

Plug for Angine de Poitrine for a contemporary example of music that breaks the rules that define traditional music.

nxor3today at 5:19 AM

I don't agree. I grew up with piano and had music friends all through my life. Classical music requires a certain level of math ability. Modern musicians scorn this and frankly it shows.

show 1 reply
otabdeveloper4today at 9:24 AM

> I seldom see any discussion of the underlying math, and instead see discussions of timbres, instruments, and stylistic/historical influences

Music today is utter crap at all levels, this is a verifiable scientific fact.

This is probably why.

Music "theory" was invented as a critical tool (i.e., basically to enable reviewers to describe and evaluate the music of the time), not as a composition tool.

Basically, we're holding it wrong and it's doing us harm.

show 1 reply
barkingcattoday at 5:59 AM

[dead]