16 ms·
The Saddest Thing I Know about the Integers
- kps 12y agoI'm not a music-making-guy, so I ask out of curiosity — do current electronic keyboards have selectable temperaments?
- pconner 12y agoSome high-end models do
- colanderman 12y agoSome, yes. (Generally those geared more toward the synthesizer/MIDI crowd.) Of course if your synthesizer is your computer, it's a question of what the synthesizer software does, not the keyboard; and the answer is the same.
- clay_to_n 12y agoNot many of them. They often let you change the fine pitch of the whole keyboard though (in old school analog keyboards this was because the whole instrument could go out of tune over time / as it warmed up I believe, but these days it's sometimes still present, maybe as a way to play with out of tune instruments). According to other responders, some keyboards do, but it is not standard. But besides using the built-in sounds in your keyboard, you can use most modern keyboards to send MIDI notes to some external (or virtual) synthesizer to play. I just looked into handling MIDI for different temperaments. MIDI is a way to digitally represent each note as an integer (so let's pretend Middle C is the number 80, the B directly below would be 79, etc). The MIDI standard itself afaik has no support for other temperaments, but the receiving synthesizer can. So some VST instruments (virtual instruments you run on your computer for either recording or live performance) do support other temperaments, but it's not across the board. If you want to write or perform in a different temperament, you probably are limited to using VST instruments that support it.
- cbr 12y agoIf you're sending MIDI to a synthesizer that doesn't support choosing temperaments you can mostly fake it by sending pitch bend signals.
- deleted 12y ago[deleted]
- danieldyer 12y agoYes, my Kurzweil K2000 (http://en.wikipedia.org/wiki/Kurzweil_K2000 http://en.wikipedia.org/wiki/Kurzweil_K2000) supports fully customisable temperaments – you can even tune it to the Bohlen-Pierce (http://en.wikipedia.org/wiki/Bohlen%E2%80%93Pierce_scale http://en.wikipedia.org/wiki/Bohlen%E2%80%93Pierce_scale) scale if you want!
- Florin_Andrei 12y agoThat's a sweet, sweet synth. Now I'm kicking myself for selling my gear. I had an Alesis Ion. So much fun.
- anigbrowl 12y agoWorkstation-style keyboards do (the ones that have a synthesizer and a built-in sequencer as well as other features). This is implemented using the MIDI tuning Standard which has been around for years. Such functionality is usually not available on simpler synthesizer, which allow adjustment of concert pitch but not much else. There just isn't much demand for this outside of professional composition circles, for the same reason that Barbershop Quartet music (which relies very heavily on just intonation for its ringing harmonies) is an extremely niche musical taste. It's useful if you want to write non-western music, eg Arabic or Indonesian or Indian styles which have different scalar intervals from Equal Temperment, but only if you're very concerned with authenticity. The fact is that if you're composing for a Western-music audience you can get most of the 'feel' of other musical traditions by selecting a suitable scale and playing in equal temperment. If you're composing within the musical tradition of a non-western culture you're less likely to be using something conceptually oriented around a piano keyboard in the first place. In a lot of musical traditions (and indeed country and folk music in the west) the emphasis is not so much on tonality and composition as having a good repertoire of stock musical phrases that everyone is familiar with, and virtuosity consists in skillful improvisation employing those musical tropes.
- rmidthun 12y agoMy Roland digital piano has several temperaments it can use including meantone, just, pythagorean. It's a low-midrange model HP203, make to look and sound more like a piano.
- elihu 12y agoMany of them do. Sometimes you can select from a menu of pre-defined temperaments, sometimes you can individually tune each pitch class (e.g. you can tune all the G's 4 cents sharp if you want), and sometimes you can tune all 88 (or so) notes individually. In general, you run into problems if you want more than 12 notes per octave because a) standard keyboards are really inconvenient for that and b) midi wasn't designed to support microtonal music in any consistent way, so you have to employ strange kludges, like use a separate channel for every pitch class and use pitch bend for tuning.
- snarfy 12y agoTrombones are in tune.
- JasonFruit 12y agoIn theory, at least. I've never noticed it in practice.
- function_seven 12y agoWould it be possible for an electronic piano to dynamically adjust the temperament based on the keys currently being played? In such a piano, the C and G keys could be precisely 3/2 when they're played together, and the E♭* and G could be precisely 5/4 when they're played together at some other time. Assuming an algorithm could be worked out, would it end up sounding worse due to notes shifting around ever so slightly to make all the ratios work? * Edited.
- TylerE 12y agoThat's doable. You'd probably want to use something Luke organ pedals to set the active tuning rather than try to guess.
- quadrangle 12y agoIt's already been done and tried by many folks in many different contexts. Search for adaptive Just Intonation. Anyway, there's fundamental issues this approach can never solve. An E and G should NEVER EVER be 5/4. That would be E and G-SHARP (or E-flat and G). But this is a good example of the issue. E and G could be 6/5 or 7/6 or 19/16 or… (the first two make the most sense). So, how is the keyboard to know when I play E and G that I wanted it to be part of a C-major 4:5:6 chord versus part of an A7 4:5:6:7 chord? There's no way other than some input that can tell me or the thing adapting after-the-fact when I later add the rest of the chord. I think the best overall tuning software for keyboards is http://www.tallkite.com/alt-tuner.html http://www.tallkite.com/alt-tuner.html by the way, although adaptive stuff isn't the focus. There's many others though. Cheers
- baddox 12y agoYou can still certainly do adaptive JI with manual composition, particularly with electronic music production.
- bweitzman 12y agoI actually worked on an iPad app when I was in school that does this: https://github.com/benweitzman/retune https://github.com/benweitzman/retune (please excuse the terrible code/project layout, I was just learning iOS at the time)
- AndrewWorsnop 12y agoDo we perceive octaves as precisely 2:1 or is that an approximation? i.e. is it really 2.041256:1 or similar. Is this problem then because we start with integer ratios? Is this problem solvable if we started a "true(?)" irrational ratio?
- adamnemecek 12y agoIt's exactly 2. It's not so much about how we perceive them (well in the end it is I guess), but there is a real, physical relationship between the two notes.
- tlb 12y agoTwo notes at 2.041256:1 sound really annoying together. You can try by putting 250 and 510 into the boxes here: http://onlinetonegenerator.com/binauralbeats.html http://onlinetonegenerator.com/binauralbeats.html and revert to a nice-sounding octave with 250 and 500.
- lelf 12y agoThe problem is that we use approximate with irrational numbers. Naturally they are all integer ratios. In the perfect world you have e.g.: + C major scale: C D E F G A B C, where frequencies of all notes depend on frequency of note C (like, “fifth” from C is G and it's exactly 3/2 of C) + and D major: D E* F♯* G* A* B* C♯* … D (and depend likewise). But now G is not necessary equal to G*, but they are close. So here comes the idea of equal temperament where octaves are strictly 2:1 as they suppose to be, but all notes between are equally scattered (on log scale) in between. So TL;DR: nowadays it's all approximation. You can do it perfectly, but only for one root.
- prutschman 12y agoIt depends on the timbre, the frequency makeup, of the sound. If all frequencies present are integer multiples of the fundamental frequency, a 2:1 ratio will line up all the frequencies nicely, which "sounds right." This frequency relationship is approximately true for many, but not all, acoustic instruments. http://sethares.engr.wisc.edu/html/soundexamples.html http://sethares.engr.wisc.edu/html/soundexamples.html The mp3 at the above website called "Challenging the octave" gives an example of a bell that sounds more in tune when the "octave" is a frequency ratio of 2.1 vs the usual 2. If you have any interest in music theory, even if you've already studied traditional western music theory, read Dr. Sethares' work on the subject: http://sethares.engr.wisc.edu/ttss.html http://sethares.engr.wisc.edu/ttss.html (He was mentioned elsewhere in the comments, but he's too awesome to risk missing.)
- jensenbox 12y agoWhat if you stop using Hz and use something else?
- billforsternz 12y agoI am hoping someone can answer the following genuine question(s) from a mystified layman: Is our perception of sound really so sensitive to precise ratios ? Is a frequency ratio of 1.5000 somehow inherently more pleasing than 1.5001, or is it more the case that appropriately trained or gifted individuals can detect the difference ?
- acadien 12y agoI suspect we are very sensitive to the introduction of beats which form when incommensurate frequencies are combined. That is to say when you add a frequency of 1KHz to 1.1KHz you get beats at 0.1KHz with an internal frequeqncy of 2.1KHz. This isn't the precise effect that takes place since the two frequencies are offset by some fixed amount, but a similar effect will take place for an offset that is not quite a perfect fifth.
- Tloewald 12y agoI suspect that the problem is not just the subtle problem of pitch but the way waves phase in and out of sync with each other (especially on sustained notes) rather than remaining in consistent relation, so it should be possible for almost anyone to notice the effect if they know what to listen for. Not my area of expertise -- just an educated guess.
- cynicalkane 12y agoI met a composer of minor note (pun intended) who avoided writing major 10ths in the melody, because the ratios in standard tuning were wrong enough to cause major discomfort for him. This interval is about 14 cents sharp, where a cent is defined as 1/1200 of an octave on a logarithmic scale, so 14 cents is about an 0.8% difference in pitch. Curiously, major 3rds did not bother him, even though they have the same ratio problems.
- pmiller2 12y agoTo put that in perspective, pretty much anybody can distinguish a pitch difference of 25 cents. People with perfect pitch can distinguish differences of less than 10 cents. Anecdotally, when I was taking lessons with my old cello teacher (who has perfect pitch), if he and I played a note on an open string simultaneously, I could always tell if we were in relative tune by the way the notes interfered. I don't think I'm particularly special in that regard. Edit: Also, once I have one string tuned, I can tell if a neighboring string is correctly tuned because neighboring strings differ by fifths. Again, I don't think I'm particularly special; it's just a matter of learning what to listen for.
- pervycreeper 12y ago>The fact that 3/2, 2, and 5/4 are incommensurable makes me genuinely sad But they're not... I am also puzzled about the alleged connection to UFDs.
- Chinjut 12y ago"incommensurable" is apparently being used in the sense that their logarithms are not in rational ratios (so no common step size generates them all in the relevant way). The connection to UFDs is that one way of seeing the incommensurability in this sense is through unique prime factorization (as exponent vectors over the primes 2, 3, and 5, the noted values are 3/2 = <-1, 1, 0>, 2 = <0, 1, 0>, and 5/4 = <0, -2, 1>, none of which are collinear).
- tprice7 12y agoI agree that the connection with UFDs is tenuous. Being not a UFD is nether a necessary or a sufficient condition to have powers of a single thing (or a finite number of things) generate all nonzero elements. The ring of integers modulo 7 for example is a UFD, but all nonzero elements are powers of 3. Also, the ring of integers of a number field is only sometimes a UFD, but it is never generated by powers of some finite number of elements.
- Chinjut 12y agoBeing a UFD in general is not enough, but being a UFD in which 2, 3, and 5 are (co)prime is certainly sufficient for incommensurability of 3/2, 2, and 5/4 in the relevant sense. I agree that it's rather odd to start discussing UFDs in general, Gaussian integers, etc., just for this incommensurability result, but since unique prime factorization is the key to the whole thing, it's not entirely out of left field. (I'm also not accustomed to considering the ring of integers modulo 7 a UFD, insofar as exponents in prime factorizations are never unique as integers in this context (only as integers modulo 6), but that's just a minor difference in the way we apparently use terminology)
- 12y ago
- placebo 12y ago>The difference between a Pythagorean fifth and an equal temperament fifth is not enough to bother any but the fussiest listeners, but it is detectable to some. Thought experiment: Suppose someone with perfect pitch were to sing out all the notes on a scale which they feel sounds perfect, while someone else would measure the frequencies of each note they sing. Obviously, the result would not show a counter example to the fundamental theorem of arithmetic, but I'd be curious to know what it would show...
- ajross 12y agoMostly likely the person with perfect pitch would be singing the "correct" scale they were taught to sing, which almost certainly would be equitempered. But in principle it's not impossible to imagine someone (someone impossibly talented anyway) singing their way around the cicle of fifths and landing in a key that doesn't quit match the one they started in. And the point in the article that temperment cannot be heard is sort of wrong anyway. You can write some quick code to generate both chords, and the difference is notable. Perfect tuning is something we actually hear regularly in things like tight vocal harmony. It's not alien.
- baddox 12y agoIn fact, I think an unaccompanied trained singer would tend to sing a scale in just intonation, with or without perfect pitch.
- jstanek 12y agoIn the 1960s, La Monte Young wrote a piece entitled The Well-Tuned Piano, a riff on J. S. Bach's The Well-Tempered Klavier. It features an equally-tuned piano, so each interval is mathematically correct, rather than being the standard "good-sounding" intervals. It really throws you off at first, but it's well worth a good listen. (It's six hours long though, so don't listen through it in one sitting.) https://www.youtube.com/watch?v=vzwgJq9vsDM https://www.youtube.com/watch?v=vzwgJq9vsDM
- tiglionabbit 12y agoWith computers you can fix the problem. It's interesting to experiment with playing arbitrary frequencies instead of the standard ones. A computer could generate music with perfect pythagorean ratios relative to the dominant key at any given time. It could even follow those ratios as the dominant key changes, gradually drifting away from equal temperament.
- Sniffnoy 12y agoMore a fact about human psychology than about integers, I'd say.
- mrob 12y agoThis isn't sad, because we don't simply compare pitch ratios when we listen to music. Real human consonance perception is much more interesting than that, and William Sethares has formalized a very good model: http://sethares.engr.wisc.edu/consemi.html http://sethares.engr.wisc.edu/consemi.html There's great opportunity for microtonal tunings without the dissonance often associated with microtonal music. And as others have already pointed out, traditional techniques already do this (eg. stretch tuning). The theory explains why it works, and how to expand it to arbitrary timbres, including those possible only with synthesizers. I'd love to see more musicians experimenting with it. There's a whole lot of unexplored musical novelty out there.
- acjohnson55 12y agoI love Sethares work, but to use it in its full generality, we'd want arbitrary timbres. In practice, most of our timbres are highly harmonic. Speaking of which, another theorist, Dmitry Tymoczko, has some fascinating theories on harmony that you might like in his book A Geometry of Music. A few years ago, when I was reading his and Sethares's work, I really felt like their ideas put together would make a fascinating grand theory of tonal music.
- kazinator 12y ago> Imperfect octaves are pretty unacceptable to any listener This is false, and in fact pianos are tuned in imperfect octaves. The reason is that due to nonlinearity, the harmonics of a vibrating string are not perfect multiples. They are sharp! And that actually contributes to the character (timbre) of the note. When a piano is tuned, typically the middle range is set according to an electronic source (nowadays). The higher keys are tuned against the harmonics of their previously tuned lower octave counterparts. This means that those notes are slightly sharp. Likewise, notes in the lower register are a bit flat.
- gohrt 12y agoDan Piponi has been blogging about this topic recently, which lots of serious math and code: https://plus.google.com/u/0/+DanPiponi/posts https://plus.google.com/u/0/+DanPiponi/posts
- acjohnson55 12y agoYep, although you could probably say that given a timbre, octaves without optimal partial coincidence are pretty unacceptable.
- kazinator 12y agoThis is hard to say; is it simply expectation bias? Because some instruments have elements with wacky harmonics, like bells, metallophones, xylophones, Jamaican steel drums and such. Notes do not have a fundamental which coincides with a harmonic of a note one octave below. That's just how the instrument sounds. If a piano reminds us of a metallophone :) then we conclude that it's awful and out of tune. Still, even that is appropriate to some genre, or for comic effect. A western saloon bar calls for a detuned piano. :)
- sopooneo 12y agoI have never yet found anyone who agrees with me, but I believe the terminology around music theory is horrible. I mean that it is unnecessarily confusing. Most people that use it have no problem, but I believe they developed their overall understanding almost independent of the terminology, so now just use it as descriptive in its context, and do not at all notice how bad it is if you are trying to use the language as your first point in comprehending the underlying notions.
- GuiA 12y agoThe same can be said of almost any field. Algebraic rings have little to do with rings in real life, tensors have little to do with the muscle in my calf, and so on. What do you suggest? We could invent new words - great, instead of an octave we now have a zargablub. Not terribly helpful. Or we could give concepts more explicit names - instead of octave, we now have interval-between-two-pitches-with-logarithm-base-two. But all the experts will soon abbreviate this to something else, and soon enough we'll have the same problem we started with. Or we could try to find a modern word that explains the concept better than the legacy one, but that means that all material from before the change is going to become very hard to understand unless you know all synonyms for a given concept. And since language is always evolving, in 50 years people will complain that your once modern and easy to understand word is now obscure terminology. Really, what do you suggest? Jargon is hard for the newcomers, but there's a reason it exists- it enables experts to communicate clearly and non ambiguously about specific concepts and ideas. It's infinitely better for things to be hard to get acquainted with in the first 6 months, and then you get to used it, than to have a field where no progress is made because no one can communicate. It's kind of like software, actually - these days, it's all about ease of use and being able to pick up an application and use it in 5 seconds flat without having to read a manual. Which is fine if your software is Snapchat or Instagram, but terrible if you're building a synthesizer or video editor or statistics package. In some cases, it is worth having something that's hard to learn but is very powerful once you've gotten past the initial hurdle, because while you will only be a beginner for a short while, once you are past that you will be an expert for the rest of your life. (these ideas are developed in Jef Raskin's The Humane Interface)
- 12y ago
- depoll 12y agoWelcome to the world of Barbershop music (one of my primary hobbies) ;) Unlike a piano, which must be tuned and which has a temperament that is fixed from chord to chord in a piece, the human voice can make minute adjustments to come as close as possible to those nice integer ratios (both in the fundamental and in the upper partials produced by their voices). When we do, we are rewarded with (sometimes screaming loud) overtones caused by the constructive interference between the sounds being produced by each of the four parts. As this article points out, it's mathematically impossible to perfectly tune some of these intervals, but depending on the relationships between the notes being sung, you can tune to one singer or the other. It takes a lot of practice and a good ear, but the resulting effect is pretty darned cool.
- dandelany 12y agoI went looking for examples of what you were talking about and discovered that, amazingly enough, a single human voice can even reliably produce overtones! I'm guessing these are very different, though, than what you're talking about https://www.youtube.com/watch?v=2i61_JNc_Nc&t=1m25s https://www.youtube.com/watch?v=2i61_JNc_Nc&t=1m25s I'd love to hear some examples of a barbershop n-tet doing it too, I'm sure it's even better. But when I search for 'barbershop overtones' it's all music by groups called The Overtones :)
- baddox 12y agoIncidentally, cheesy musical puns are the norm for barbershop and other a capella groups. Aural Fixation, Decibelles, Chiefs of Staff, Vocal Majority, Clef Hangers, and so on.
- baddox 12y agoOvertone singing itself isn't very common in barbershop music, but their harmonies certainly make use of overtones. Here's a performance of a song called Play That Barbershop Chord (a stable in the genre). It's not instructive, but it's got some great harmonies: https://www.youtube.com/watch?v=F5bYnRkwpco https://www.youtube.com/watch?v=F5bYnRkwpco Here's a fairly technical article about three different seventh chords, one (the harmonic seventh) being the so-called barbershop seventh chord. There are embedded YouTube videos with computer-generated audio samples. http://www.garygarrett.me/?p=1575 http://www.garygarrett.me/?p=1575
- calhoun137 12y agoIf you haven't seen Qiaochu's answer about this subject over at math stack exchange, it's easily one of the best answers on any stack exchange site: http://math.stackexchange.com/questions/11669/mathematical-difference-between-white-and-black-notes-in-a-piano http://math.stackexchange.com/questions/11669/mathematical-d...
- joseph8th 12y agoHeh. My dad's a jazz pianist and the quip is ingrained: "You can tune a piano, but you can't tuna fish." Dramatic pause. "Sure you can. You use its scales." Heh. But seriously, folks...
- abecedarius 12y agoSo how well can you approximate a fifth with a different number of notes in your equal-tempered scale? import itertools, math def rationalizations(x): ix = int(x) yield ix, 1 if x != ix: for numer, denom in rationalizations(1.0/(x-ix)): yield denom + ix * numer, numer for frac in itertools.islice(rationalizations(math.log(3, 2)), 10): print '%d/%d' % frac, produces 1/1 2/1 3/2 8/5 19/12 65/41 84/53 485/306 1054/665 24727/15601 I guess 8/5 is for the pentatonic scale? Then after 12 tones the next good approximation has 41 and we've run out of the alphabet.
- rspeer 12y agoThis series is, in fact, really cool. It does in fact point out that the pentatonic scale and the 12-tone scale are things that you can almost make just by gluing together fifths, and then it points you to the 53-note scale, which despite being hard to work with is freaking awesome: https://en.wikipedia.org/wiki/53_equal_temperament https://en.wikipedia.org/wiki/53_equal_temperament (The 41-note scale doesn't accomplish much, it turns out.) The 53-note scale was supposedly discovered by Ching Fang (the same guy who discovered that the moon reflected sunlight) in the first century BC. The equivalent of fifths in the 53-note equal-tempered scale are an unreasonably good approximation to just intonation, kind of like 355/113 is an unreasonably good approximation to pi. It also happens to contain good approximations to all kinds of other just intervals. And because 53 is prime, you don't just have a circle of fifths, you have a circle of any interval you want. So you can use this scale as a reference point to compare different tunings, scales of world music, and scales invented by avant-garde composers. Or you can use it as a cool thing to play with.
- abecedarius 12y agoCool! Yeah, I considered pointing out that 84/53 is an especially good approximation for its complexity (since the next in the sequence uses much bigger integers) -- but how are you going to deal with 53 notes, or even 41? It's neat to hear that others were not stopped by that. (It did occur to me you could almost label them with letters of the alphabet, with one left over: 53=26x2+1. But that'd be silly and invite confusion with the 12-tone note names.)
- tehwalrus 12y agomind = blown.
- throwawayaway 12y agohttp://blogs.scientificamerican.com/roots-of-unity/2014/11/30/the-saddest-thing-i-know-about-the-integers/?print=true http://blogs.scientificamerican.com/roots-of-unity/2014/11/3... here's a link to the print version, the floating 20% off horror for black friday and cyber monday are gone, thank god.
- DEinspanjer 12y agoWow.. the article and the comments here are fascinating. I don't have much to add, but I think what you guys are calling overtones are something some of my friends and I used to do as kids. One person would sing or yell a single loud note and another would sing or yell a sliding scale of notes listening for the overtone where a "spooky third voice" would chime in. We made up stories about it being a ghost summoning ritual and such. :)
- cellover 12y agoPosted today by Paul Barton, a video that lets hear piano sounds never heard before. Like the moon that eclipses the sun, revealing solar flares, this mechanism helps hearing what's hiding behind the main notes hit. Skip to 3'58'' to hear only harmonics sounding after dampening manually a C3. Skip to 7'17'' for a demonstration of the sympathetic sounds. https://www.youtube.com/watch?v=zHWex94-mHg https://www.youtube.com/watch?v=zHWex94-mHg