Live data from Hacker News

Introduction to Computer Music (2009) [pdf]

composerprogrammer.com

21–30 of 89 posts

Re: Introduction to Computer Music (2009) [pdf]

#22
post #3

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 “fi…

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.

Re: Introduction to Computer Music (2009) [pdf]

#23

This appears to be mercifully shorter and less intimidating than the must-have bible, "Curtis Roads. The Computer Music Tutorial. MIT Press, Cambs, MA, 1996". It says it was originally published by Wiley in 2009, and the rights reverted to the author in 2025, whereupon the author released it on the net for free.

If someone wanted to start making computer music I'm not sure I'd recommend this or Curtis Roads' book as a starting point.

These aren't resources for getting started. They're more like encyclopedias for learning about DSP and tech once you've established the fundamentals of music and sequencing.

If a beginner wants practical knowledge for making records with electronic instruments I'd give them a DAW, teach them to record and sequence, teach them basic music theory, and then point them to something like Ableton's synthesis tutorials that will teach them about oscillators, envelopes, filters, LFOs, and basic sample manipulation.

That's 80% of the necessary skills right there.

Re: Introduction to Computer Music (2009) [pdf]

#24
post #3

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 “fi…

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.

Re: Introduction to Computer Music (2009) [pdf]

#25
post #3

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 “fi…

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.

Re: Introduction to Computer Music (2009) [pdf]

#26
post #3

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 “fi…

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.

Re: Introduction to Computer Music (2009) [pdf]

#27
post #3

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 “fi…

> 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.

Re: Introduction to Computer Music (2009) [pdf]

#28
post #3

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 “fi…

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.

Re: Introduction to Computer Music (2009) [pdf]

#29
post #3

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 “fi…

[dead]

Re: Introduction to Computer Music (2009) [pdf]

#30
Reminds me of starting college and photocopying digitized instrument wave forms (e.g. guitar string pluck) and then feeding them to a 6502 subroutine that output the waveform to the 8-bit companding DAC in my OSI C2-4P computer from a Basic driver that would play different notes through for songs.
Post reply on HN