Topic: Piano tuning and timbre, Pianoteq model and pianos generally: curious

Noticed that timbre would get weird with many tuning options.  Discovered the toggle where you set whether the strings get stretched or piano rebuilt with new strings.   Statements says rebuilt version preserves timbre better.   Seems like timbre still changes with the rebuild option.  Makes sense that timbre could be affected by tuning no matter what since all the strings are part of a resonant system.   Anyone have any more info on how tunings affect timbre in pianos?  Is the Pianoteq model seeming to match reality in terms of tuning affects on timbre?

Example application where understanding this better would help:

I'm developing a dynamic tuning cover where I have whole number ratios but I have more than 12 so I can substitute different ratios for different chords to avoid the usual issues with fixed simple-ratio tunings.  Actually takes a lot of ratios to cover all the possible chords in the 12-tone space, like maybe 160-200 ratios.  You'd have to be a super genius octopus to actually perform this picking just the right ratios for each chord.  It's more of a post processing determination after a performance, or something with specific chords determined like mapping chords with correct ratios to a pad controller or generated music.

Was thinking the number of pianos to cover this would be determined by dividing by 12 but starting to think it might take more pianos if I need to ensure the timbres are acceptable.  Example would be having only a few of the ratios on each piano and the other notes tuned to ratios that will sound good with those so the resonance/timbre sounds good on each piano when I play those notes.

This timbre question is a curve ball for this effort, both a challenge and a new opportunity.

Re: Piano tuning and timbre, Pianoteq model and pianos generally: curious

To clarify in advance, by timbre I mean how a note sounds in unison.   Of course "timbre" of intervals will necessarily change with different tunings but the degree to which notes in unison sounded a little off surprised me.

Re: Piano tuning and timbre, Pianoteq model and pianos generally: curious

Joseph Merrill wrote:

To clarify in advance, by timbre I mean how a note sounds in unison.   Of course "timbre" of intervals will necessarily change with different tunings but the degree to which notes in unison sounded a little off surprised me.

Ah, I'd first give this a try... if you right-click the "Unison" slider, you'll get to access "Unison balance".. Try large up/down comparisons with that.. I often get a unison more how I want it with that, using subtle changes, but haven't really pushed it hard one way or the other for extreme tunings now I reflect on it. Good luck - hope that's the specific one you're looking for with that.

Joseph Merrill wrote:

Is the Pianoteq model seeming to match reality in terms of tuning affects on timbre?

Yes it accounts for all kinds of physics, like tensions and inharmonicity of individual strings in real time (btw - you'll already be likely ahead of that thinking - but I try posting for any readers who do/don't have exposure yet). Each time we tighten stings (esp. with large changes), you'll be able to hear how the piano body/harp/strings as they are kind of anchored, will change the timbrel quality of the whole. Only the Modartt folks will know exactly what physics is handled by what exact alteration under the hood - but we definitely can hear the whole piano altering in all kinds of ways.. like a guitar, if you tune the bass down, and the trebles up, the tension alters the neck, and it's obvious in our hands and to our ears.. but a piano has more moving (and solid) parts which have break-points with extreme pressures and so on.. always fascinates me wondering 'which tool to mitigate this?' But - in the end, you find what you want from it all, no matter what you alter - time being a natural component part of that discovery.

The piano can become sweeter with some tunings and suitable music for some - and can become bitter if desired also. Much of it subjective, whereas like moving the 'Condition' slider to the right, the extreme tunings can induce some objectively 'difficult' problems in terms of keeping things 'sweet' - but all experiment and fun to find the thing we're seeking from it all.

You definitely found out, if just changing from Equal or Flat temperament to something like Just intonation, clicking the "full rebuild" button might be very subtle (in terms of non-linear string behaviors, inharmonicity/resonances) - but esp. when using some more extreme scale alteration, clicking full rebuild can deliver more realism on the surface of it.. sometimes with extreme tunings, 'stretch only' (which computes 'if' you tuned things without changing the body/harp etc. lengths too) would not be possible in real life without snapping the frame perhaps - but sometimes that 'wild singing' sound is a creative anomaly to inspire too.

...
Another feature request comes to mind.. Some 'singing' mitigation (beyond realism), by allowing the "bloom" section 'negative numbers'?
...

Wow your dynamic tuning project sounds interesting - love to follow along - just wondering myself, for that, it could mean wanting to line up resonances with the actual instrument outputting the track/instance? .. but, I guess there's a limit to reality.. like, you'll definitely find, if you tune a long way from home (with a enormously stretched range or something) a 'real piano' actually or more than likely, would not sound good or 'polite' doing that, unless it's maybe fully rebuilt with new lengths for everything outside and in.. but - what fun to make a mix of that kind, lots of differences melded there. Wishing you well with it!

Pianoteq Studio Bundle (Pro plus all instruments)  - Kawai MP11 digital piano - Yamaha HS8 monitors

Re: Piano tuning and timbre, Pianoteq model and pianos generally: curious

Reading up on piano tuning, looking into 'octave stretching' which involves tuning pianos by ear such that complicated piano partials line up better, and over a small piano having octaves get off by +/-35 cents.  Kind of amazing pianos even work out at all!  Sounds like if I were to predict in advance which ratios would make a good piano sound I'd have to have a pretty good model of piano partials and in practice this has been done by ear: probably going to be hard to do that.

The original project conception was for each possible chord, find ratios that are within rounding distance of the semitones in the chord, and further constrained so the intervals formed between the ratios match within rounding distance of the intervals sizes you'd expect in that chord.   So if the chord is Maj 7 built on note three it would be [3,7,10,2] so I'd consider ratios corresponding to pitches near those pitches as pure semitones.  Have to convert the ratios to pitches by taking Log2 and multiplying by 12.  For example ratio 3/2 ends up being pitch 7.02.  I'm looking only at ratios between 1 and 2, which is one octave built on 1/1 ratio.  Intervals are calculated by dividing lower ratio into the higher ratio.  You want relatively simple ratios is the model I'm using.  The note ratios themselves don't have to be simple per se, only the ratios between the notes.  As chords get bigger, the number of interval relationships grows faster and faster and it gets harder and harder to fit more ratios together without issues, like intervals that should be consonant going sour.  For each chord I'm trying all feasible combinations of ratios up to a certain complexity and finding the combos with the least total ratio complexity and with further constraints on any fifth intervals that form.  An alternate model would be to model timbres with harmonics and measure the dissonance in terms of louder partials forming too close together but that is something I have not put together at this time.

The idea that once I have a total set of ratios sufficient to cover a set of chords I still need to figure out how to distribute the results to individual pianos such that the resulting timbre works is a new problem to consider.  I was thinking I could pile ratios into pianos rather arbitrarily.  I could re-use my idea of finding simple sets of ratios to fill each piece of the cover so I can use those sets to make pianos but not sure that actually fits the model of a piano that I'm reading about where the total system issues result in imperfect partials and need for stuff like stretched tuning by ear.

Re: Piano tuning and timbre, Pianoteq model and pianos generally: curious

A few other quick notes on considering ratios:

--You want to only deal with the same item once so you want a set of ratios in reduced form, gcd(n,d) = 1, greatest common divisor being 1 for all ratios, and only those within one octave.

--You want to consider that a pitch above the 1/1 versus a pitch an octave below will end up with different complexity so it seems logical when thinking chromatically to take the minimum, average, or maximum of these two possibilities to represent the whole class.

--When a rational number is in reduced form (gcd(n,d)=1), the complexity is n*d, which is a proxy for dissonance.

--Q, the space of all rational numbers is infinite but you need a finite candidate space and as small as feasible so you start at the bottom with ratios built on the smallest whole numbers and work your way sufficiently up to ensure enough possibility space.

--There are a few hundred possible pitch class sets that can be used to form all possible chords using transposition and re-ordering.  You can think about chords literally, taking into account register and order, or chromatically, ignoring register and order.  Chromatically is the way to go unless you have a reason to have to consider register and ordering.

Re: Piano tuning and timbre, Pianoteq model and pianos generally: curious

Thank you Joseph! Seriously complex and interesting ideas.

Joseph Merrill wrote:

to predict in advance which ratios would make a good piano sound I'd have to have a pretty good model of piano partials and in practice this has been done by ear: probably going to be hard to do that

Yes, indeed, not my speciality by any means beyond some personal artistic sense - but Philippe and many of the long-time contributors to this bit of magic have long backgrounds including coming from piano technician backgrounds and so on, with a lot of focus on classical solo pianos in their time.

Joseph Merrill wrote:

The idea that once I have a total set of ratios sufficient to cover a set of chords I still need to figure out how to distribute the results to individual pianos such that the resulting timbre works is a new problem to consider

Suggestion might be that it could? be beneficial to edit things using "Flat" tuning (honestly may only apply if you don't require particular tunings beyond it, and if you need a possibly more stable starting point across all pianos) - just because Equal (and many others) are mostly more defined by theory plus taste (like the piano tech's touch).. whereas Flat is more like standard MIDI and possibly more similar and equally spaced no matter which piano is used as your start point, less stretched etc. and may be more inherently editable with strictly mathematical processing, at least on the front side? But ymmv for your processes.

I guess this is the crux, reading about your interesting project ideas, is that even if you find a great set of ratios for any given chord for example, that applying those to each different piano (with different string lengths involved giving variances in inherent inharmonicities etc.) may give interesting aesthetic diffs. along with a lot of real world 'fuzz' to round out. But for sure, just mentioning 'Flat' tuning in case it inspires some progress on your ideas

Going over it again and trying to imagine it.. Fabulous ideas - best wishes for your works! It's been a ride watching how digital precision has loosed a lot of theoreticals into practice in recent decades and for sure keep at it. That kind of thing is right in the coal face of how reality operates in many ways - and in my various ways of working on things using Pianoteq, there is no way possible to get certain things done with other products.

Lately some no-longer horrible digital 'retuning' algos have begun to emerge (out of obvious places like the venerable Melodyn space, via their spectral tools and others with patents on some things worthy licensing, the likes of Zplane, tools like some of the Zynaptic range for retuning and applying other keys to full mixes, not sure of spelling off-hand of these btw.. but this space grows - and maybe that world of audio pitch bending and spectral editing might hold some notions worth pursuing for you.). I'd love to see Pianoteq spectral side of things being able to be worked on in some ways, like being able to mix the spectra (like in the other recent thread about using layers for resonances).. just so many things are now so possible, it's painful at times seeing the tools increase beyond my ability to learn everything about them all before the next season heha

BTW no idea why, just typing in case this gives another spark of inspiration - to other readers maybe.. There are a lot of historical reasons people love various tunings for particular repertoires and no offence meant to anyone who loves those (I do too). Hoping always that everyone, no matter what music they love or find at the source of their own creative processes can enjoy having a peak into these kinds of interesting ways to think about this ancient area which, in reality has still no exact correct or perfect rules (so many moving parts, eras, genres, instruments - and now, even more open slather in the digital times - all fascinating to think about). Makes me think of Pythagorean and other concepts - almost always, there's some catch, within the maths, which cause a squeeze of some kind.. and of course, some tunings or temperaments we can hear by loading them up in Pianoteq allude to the way composers were able to advantageously appropriate that kind of very real 'glitch' in the past, like stronger minor chords vs. more welcoming 'home' and major chords.. and then thar be wolf harmonies!! I have a theory that "by ear" has always been the last parse deciding factor after applying the theory

Joseph Merrill wrote:

looking into 'octave stretching' which involves tuning pianos by ear such that complicated piano partials line up better, and over a small piano having octaves get off by +/-35 cents.  Kind of amazing pianos even work out at all!  Sounds like if I were to predict in advance which ratios would make a good piano sound I'd have to have a pretty good model of piano partials and in practice this has been done by ear: probably going to be hard to do that.

Nearly forgot to come back to that - it's interesting stuff.. the way the ear/brain works, is that higher pitches in series 'can' sound lower (as in, like the same lower octave notes but flatter).. so artistically or mathematically this can be helped a little by stretching things (or why not both?! Oh, bass too can sound sharp? OK, why not everything all at once? OK! and then you see your possibly floating medium becomes again, possibly more a subjective plot point rather than a 'real number' or actual frequency? I guess middle C? or A's 440? Haven't thought it through - but such fun!). No two pairs of ears being exactly the same and everyone's brains being different in the ways they 'hear' audio, or think about it, or the levels of exposure to it on similar or variants of equipment types etc... I guess when digital was coming, the modal philosophy prevailed regarding things like Flat MIDI 'will probably give all users more interfacing options' going forward. But, indeed, I like a little stretch in some tunings - but Pianoteq's 'Equal' works well thanks to Philippe - I used to stretch other instruments more at times but not so much with Pianoteq, and maybe that's because it has a lot more real resonant 'detail'?? But, I'm shooting the breeze with this particular thing - never really had a strong theoretical preference, nor approach to stretching - but a fascination nonetheless. All the best with the big theory - and of course keep posting, or keep the forum up to date - I know I'm intrigued! Thank you Joseph!

Pianoteq Studio Bundle (Pro plus all instruments)  - Kawai MP11 digital piano - Yamaha HS8 monitors

Re: Piano tuning and timbre, Pianoteq model and pianos generally: curious

Well, let’s say pianos are very difficult thing to make but Pianoteq makes good things very easy. I also always like it when there is some curiosity on the real vs physical model synthesis aspect. Personally, I’m not fully aware of all the nuances involved in any case, as I’m far from being a piano technician, nor am I really that math-prone guy, to say the least. But, based on my musical experience, I thought I could share my understanding of the matter and confidently say something useful as well, because I’ve just read so much interesting stuff in this thread, that I’m definitely motivated to give another way of thinking about what do we do with sound, where do we wish to go with that particular scale or not.

I will also try to say something useful independently for anyone who might be reading, but, I must tell you in advance that it will be a bit technical and a very long (maybe boring) post, and it has to be so in a sense due to the fact that one important argument which Joseph brought in here (if not the most relevant) is scale design! Lol. And I’m curious to know more about his idea as, from what I’ve understood with my limited reasoning, his idea of design sounds a bit cloudy to me (not that I always know what I'm exactly doing whenever I try new scales...just saying)

Hence, I will write my post with just background information covering mainly three areas: 1) some useful linked study material of pertinence, 2) not-so-sophisticated observations on "systems" in general and in relation to the "how many pianos do we need" question, so to say, and 3) "deep" analysis of the Maj 7 chord example from Joseph [3,7,10,2], plus a couple of suggestions on alternative tools for scale design best working with Pianoteq (as far as I know)

I think that, as a general rule, if the instrument hosts a string-system by which, along with each own string-design (and the whole of the other means of transmission as well), spectra with prevalent “pure harmonics” are rendered (like, say, a violin, that is, also some instrument where there are less metallic components as possible, etc), then, the tuning system which would better fit the “timbre”, provided that the musician aims at getting a classical “clean” timbre (and not exciting the string at nodes towards the bridge like in contemporary music, for example), the tuning system — I was saying — will be one of those that humanity has always considered the most valuable in terms of “good consonance vs bad dissonance” interval distribution.

These tuning systems, which must result in a balance between “harmony” and “equability”, and also present favourable cardinality per scale, have been revealed indipendently (so to say), as Milena Bozhikova has noted in his book “Music between Ontology and Ideology”, both by mathematical-logical thinking and musical practice, in the course of the centuries. Mike Battaglia, who I think is also the curator of the Xenharmonic Wiki (and an excellent piano player as well as a long-time Pianoteq user whose knowledge on this topic is incredibly wide), employed the Riemann zeta function in order to find those “n-equal division of the octave” (EDOs) that must be the best (if not the only) candidates.

Thing is that in order to conceive such an octave-system which is based on logarithms, you are forced by nature to put some priority onto only one of the most consonant interval that you have in mind, and not the other, whereby, if you take the classical major 4:5:6 triad as the most consonant example provided by nature, like Indians do — and of which, as we all know, the characteristic intervals are the “perfect fifth” (3/2) and the “pure major third” (5/4) — and you wish to dispose of that perfect triad no matter what (like, it has to be available in a more diffuse chromatic setup, and not just a diatonic scale), then, you must decide which must be the only consonant interval at needing more representation.

And so, the octave-logarithmic tuning systems which end up giving the utmost priviledge to the “perfect” fifth, apart from giving it to the perfect octave (to which they only really do in fact), they basically fall into the Zeta EDO list (more strict EDOs in this list go like 2, 5, 7, 12, 19, 31, 53, 270, etc). But, then, further distinctions are to be made, since that 31-tone system, for example, gives priviledge to “pure” thirds, rather than “perfect” fifths, as meantone systems tend to do, representing partial n. 5 more than partial n. 3 (and so goes that story and many other ones leading to all sorts of speculations about the golden section since the root of 5 is at play) and some of those EDOs might also hint at “exotic” things like 7-limit harmony, 11-limit, 13-limit or more consonances beyond such prime-limits (and yes, all are consonances by definition, otherwise surrogates of the same intervals wouldn’t systematically appear in the Zeta list)

And then to cut things short, because the 12-tone system is also a meantone system, namely, the first one that comes with the least de-tuned fifths in that category, and which then sorts intervals in the chromatic scale in such a way that “consonant” major triads somewhat resembling to 4:5:6 are always available everywhere, it has to be the most played or the most playable. And so it is obvious that almost the entire global world has ended up with adopting that type of compromised solution for matching the tuning with the timbre of classical instruments, that even the Indians did not resist, but imported the western harmonium and contaminated their singers, who now are trained with that system for the most part.

On the contrary, apart from the timbre of the instrument towards which the tuning will be destined, if you want your system to be made of, like, “bad consonance vs good dissonance”, while also still not touching the octave purity, but put as much as “dissonant intervals” in its span as possible — not to hurt anyone’s ears, but just have fun — then, a good way to start (in my opinion) is to look at EDOs which split the “fifth”, or the “fourth”, into two “fifths” and/or two “fourths”, in a “major or minor” style…example that comes to my mind now being 23-EDO…but there are infinite other alternatives (and if you are looking for more clarifications in this sector as well, explore free pdf book “Alternative Tunings: Theory, Notation and practice” from Kite Giedraitis)

To Joseph: I repeat myself, I’m not that math-prone guy, and so I can’t give you nice mathematical formulas tout-court but, eventually, as far as I can see in this respect, I say that one direct consequence of those EDOs which allow you to achieve what I’ve just said is, to my ears, a more evident scale distribution of so-called “interseptimal intervals”, to the detriment of the “non-interseptimal intervals” (such as 3/2)

And the inherent “inharmonicity” of acoustic pianos (which is “une grosse affaire” with Pianoteq as well) will, like, “poke” that person with (maybe) a more curious ear in such a way, that if that person was met with the possibility of putting hands onto a grand piano and apply some tuning without any exterior constriction (say, no one is obliged to make that piano “suitable” the moment there is no need to play sonata per pianoforte and all that wonderful stuff), then, that person would most probably prefer to leave the tuning lever after finding a nice rough “supermajor third”, after putting more tension and going “beyond” the pythagorean third of 81/64, rather loosen the string in the flat direction.

Just saying, this is not proven, I’m only guessing here. The demand of finding a region of “metastable” intervals and/or intervals convergent with acoustic phi and those siblings, well, maybe it is incremented by the feedback provided to the ear by the inharmonicity of the string-system in general, and more maybe by the complexity of pianos. I don’t know if this can be called entropy.

This whole western degenerated idea now also very well applies onto the question of “how to deal with whatever it is that is emerging in your face (or rather going althrough your body) when it comes to the tuning affecting the timbre and viceversa”, that this idea has been recenty baptized as “anti-just intonation”, “merciful intonation”, “noble intonation” etc. It is so funny. To be honest I think there is something not always noble, like when you patent “your” tuning system. How can you even think for one second that it is a good idea if you really know what you are doing? It’s not, like, selling an instrument coming with some fancy setting. Is it music in itself? I don’t think so, but in my mind, I would never do it. It is just too much, makes no sense, totally illegal. But whatever…“the west is the best”, Jim said. And to think that all this is not considering any “octave-strech” as of yet. But, don’t worry. I won’t discuss that.

Back to Joseph’s request, what certainly will turn more useful than my comment and offer a mathematical understanding of the possible relationships between "tuning" and "timbre" to the reader is, without any doubt, the research made by William Sethares. He published peer-reviewed I think, either free articles or books under Springer-Verlag editor, specifically for this matter, "Tuning, Timbre, Spectrum, Scale" (2005, 2nd edition). For an interesting alternative application of the theory he covers, just watch the 5-minutes video named "Inharmonic strings and the hyperpiano" on YouTube. Also his website is what I exstimate as a website with a sober interface and is presenting, with enough details, the contents of his research (you know, just in case you can't afford the book...)

Now, is this "hyperpiano" timbre the complete opposite of the timbre you want to achieve? In Pianoteq, a similar sound like that of the hyperpiano, or vaguely bell-like, as you've probably guessed, could result by abusing the "String tension" mode, or by setting the "string length" parameter at minimum, whereas "Full rebuild" should maintain the original timbre of the instrument. This means that, if you, instead, actually need the timbre to sound like something "stable" and as close as possible to the tuning you want to match, while still sounding like a traditional piano, you are put in front of a paradox.

The paradox is that you need to reduce "inharmonicity" down to zero. Which, is literally impossible on real systems, mainly because of string stiffness, and above all on physical pianos, as it would require infinitely long strings (and a huge soundboard). There are, very rarely, constructors which try to get remotely close to something like that, like Luigi Borgato & his Grand Prix 333.

I must be honest and repeat that I guess, that the factors which must be taken into consideration in order to really take care of the intonation inasmuch as possible on a real grand piano, they are largely hidden to me. But in Italy, when we talk about the intonation ("intonazione") strictly regarding acoustic pianos, we refer to a completely different and intermediary phase of setting the instrument — perhaps, the most tough phase, mostly based on, how can I say, hammer care. This comes just before, that maybe even asserting that it regards "unison" is a bit of an overstatement, because it is a phase in which the tuning lever is simply not an option. It is about sound.

The third and last phase — when you tune, temper, stretch, etc — that is not "intonazione", but "accordatura", which merely is, as a piano tuning master said, "only the icing on the cake". I heard from this same master that Borgato model, apart from mounting four strings for high-unisons compensation (not to talk about the soundboard), deals with intonation in all kinds of way, by also mounting hammer heads which have a pyramid-like rather than "oval/rounded" shape. Or that the legendary pianist Michelangeli made his trusted Fabbrini (personal piano builder and tuner technician) apply hazardous settings of "intonazione", since the hammers were to rest dangerously close (like less than 1 mm) to the strings after being struck (for reasons which I won't discuss, sorry, miss the lexicon)

Qexl, to whom I'm grateful for the much passionate and prompt responses, gave plenty of indications and made good points, most of which I agree on. I own Pianoteq Pro Studio but unfortunately I'm far from knowing the in-and-outs of it. I also don't think these very particular aspects of the hammer side for example, that I've just hinted at (and which indeed affect the timbre), are implemented for regular users as of yet. But things alike must be somewhere in Moddart equations.

Hard for me to say what you need to change to get to the timbre you desire. My suggestion is (if you own the Studio version) to access the "Note Edit" window, by double-clicking on "Spectrum profile" (under "Hammer hardness", in the middle section "Voicing", main panel). Then, check out the per-note values of those parameters which you think they might be responsible of badly affecting both the tuning and the timbre as you intended to be (whatever you mean, you know). In the Studio version, a big list of parameters will appear as you expand on the left. Just to name a few of interest here: "Detune", "Unison Width", "Unison Balance", "Stretch Points"...but also "Spectrum Profile" (per-note), "String Length", "Sympathetic Resonance", of course, etc.

I have the feeling that Pianoteq's "Stretch points" parameters will drive you crazy. Many many interesting options in there for evaluating the tuning/timbre relationship. I repeat, I do not have much experience on the practical side of acoustic piano tuning, but if you want to go into theory, inharmonicity and all that stuff, I can tell you first that...well...I thought that the "Circular Harmonic System" (C.Ha.S.) by Alfredo Capurso, a proposal of — I'm simplyfing — slightly tempering the octaves too, was, I mean, reasonable enough to be at least taken into consideration. If I remember, he also claimed that the strings-system seems, like, to fit more naturally (like the instrument requires less overall tension or something), but you know how it goes with this stuff, no one really cares so much...just play...sounds good.

And then, I don't know how, but I ended up on this "Psycho-Acoustic Temperament Hierarchy (PATH)" page by Ben Woolley, I think his name is, and if you go and read about his system [url: spatiotemporal.io/clavitone.html], well, now that is quite something also so extreme that must be taken into consideration. As a side note, this guy is one of the very, very few people who acknowledges that the "53-comma" (the difference between 53 iterations of 3/2, "perfect fifths", and 31 iterations of 2/1, "perfect octaves") had already been calculated, with really good precision, by a Chinese man, like, two thousands years ago, AND calls that interval in his honor, the Fang's comma.

Whereas, among westerners and their territory, where everything has to be centered on the logarithmic division of the octave, the same interval still bears the name of prominent logarithmic users of the Illuministic era, and so it is either known as the artificial comma of Mercator (from Nicholaus "Mercator" Kauffmann) or, among the Turkish people, as the Holderian (sometimes, Holdrian) comma, from William Holder. However, this 53-notion goes on-and-off all throughout the history, problem being providing the most exact *mathematical* calculation, in order to obtain as much as consonant intervals within one octave as possible. And so, during more or less the same Illuministic era, also Pier Francesco Valentini knew about that, Jean Gallé knew about that, Isaac Newton knew about that, etc.

But I will talk a little about designing scales (of maybe interest from yours) in the next part. As a general rule in Pianoteq, start with a preset which sounds the most decent already, and only after that, tweak with those per-note parameters (if your version allows you to do so) with both "Full rebuild" mode engaged and your custom tuning, until you are satisfied with the result. Forget about math-precision, you will always need your ear for sound-check on piano physical modeling. Same principle goes for real piano.

Re: Piano tuning and timbre, Pianoteq model and pianos generally: curious

All theory and no practice makes Jack a dull boy. I can appreciate the value of having the theoretical discussion for its intellectual reward alone, but I'd be interested in hearing some examples that demonstrate the listening experience might arguably be improved. Given the large body of evidence that the human brain thrives on the various "imperfections" in music and gets bored when they are eliminated, I have doubts about the ultimate value of this exercise in real-world application. If you're just "climbing the mountain because it's there", that's fine, but please bring back photographic evidence of the achievement (or failure) along with the story of the effort. ;^)

Re: Piano tuning and timbre, Pianoteq model and pianos generally: curious

brundlefly wrote:

All theory and no practice makes Jack a dull boy. I can appreciate the value of having the theoretical discussion for its intellectual reward alone, but I'd be interested in hearing some examples that demonstrate the listening experience might arguably be improved. Given the large body of evidence that the human brain thrives on the various "imperfections" in music and gets bored when they are eliminated, I have doubts about the ultimate value of this exercise in real-world application. If you're just "climbing the mountain because it's there", that's fine, but please bring back photographic evidence of the achievement (or failure) along with the story of the effort. ;^)

I'm not sure how this applies to this thread, more like how it feels to squint at a long thread and convince yourself you read it.

Re: Piano tuning and timbre, Pianoteq model and pianos generally: curious

My latest attempt to understand how to the Pianoteq tuning-timbre relationships can be tamed:

The Indian Shruti scale sounds pretty sour on Pianoteq.  That does not necessarily imply anything wrong with Pianoteq because pianos are pretty resonant and you have all these harshly beating 81/80 ratios which is about 1/5 of one semitone, and you have a bunch of extra strings, more chances for conflicts.

The Pianoteq Shruti tuning is interesting one to do some experimentation with because if you just adjust the Shruti's to be the exact same ratio as their nearest neighbors, moving the lower Shrutis up each time, you end up with more than 12 strings but several of them being duplicated, and the ratios that remain are ones that show up in other tunings that don't sound so bad.  However, when I play two adjacent notes with the same ratio now on the modified Shruti, one of the notes sounds normal and the other note sounds loud and clangy even though its the same pitch.  This could be explained by string stretching or something, but then what does "rebuild" mode mean then?  I though rebuild mode would pick strings based on the ratios so this does not happen.

p.s. Thanks Qexl and martinoduma for your interest and very interesting and thought provoking responses!  I will respond to some of the ideas a little later.  I'm putting some initial focus on diagnosing how Pianoteq tuning-timbre is working, seeing if I can carve a path up the mountain so I can try out the dynamic tuning idea on Pianoteq.   I could just abandon Pianoteq and use a synth that won't completely change timbre with custom tunings but this was originally conceived as a Pianoteq project and I'd rather see if I can understand the Pianoteq/piano quirks enough to figure out how to make it work on Pianoteq.

Re: Piano tuning and timbre, Pianoteq model and pianos generally: curious

martinoduma,

It seems like the information at https://en.xen.wiki/w/The_Riemann_zeta_...and_tuning implies some methods to hunt for EDOs that approximate specific ratios and therefore you could either use the EDOs directly as approximations for those ratios or embed a set of those pure ratios into a piano as active keys and the other EDOs assigned as invisible timbre support keys.   The page also gives some info informing possible stretches that could work best.  The info talked about modifying functions by removing the first item pertaining to octaves, which then favors the fifth as the most relevant giving you a new solution more focused on fifths conformance.   Seems like any neighborhood around the head of the summation is a finite space of simpler ratios that can be re-weighted to hunt for EDOs related to sets of ratios.  Other approach would be to find EDOs by focusing on each ratio respectively and then taking intersections to find ones that work for sets of ratios.  This seems like a great use for EDOs because if the EDOs can support the sound of small ratio spaces and it would come with a gameplan for the EDOs, which can be pretty mysterious if you just try to take on an EDO head on.  Or it might be better to do something very similar but just focus on the relatively few ratios and find EDOs just for those sets, like a tiny version of the infinite summation.  Approximating a small set of ratios with approximation values from a subset of an EDO might be the best answer for piano-like instruments because the EDOs are part of something symmetric, which avoids having so many ways for partials to collide.

Re: Piano tuning and timbre, Pianoteq model and pianos generally: curious

martinoduma wrote:

Well, let’s say pianos are very difficult thing to make but Pianoteq makes good things very easy. I also always like it when there is some curiosity on the real vs physical model synthesis aspect. Personally, I’m not fully aware of all the nuances involved in any case, as I’m far from being a piano technician, nor am I really that math-prone guy, to say the least. But, based on my musical experience, I thought I could share my understanding of the matter and confidently say something useful as well, because I’ve just read so much interesting stuff in this thread, that I’m definitely motivated to give another way of thinking about what do we do with sound, where do we wish to go with that particular scale or not.

I will also try to say something useful independently for anyone who might be reading, but, I must tell you in advance that it will be a bit technical and a very long (maybe boring) post, and it has to be so in a sense due to the fact that one important argument which Joseph brought in here (if not the most relevant) is scale design! Lol. And I’m curious to know more about his idea as, from what I’ve understood with my limited reasoning, his idea of design sounds a bit cloudy to me (not that I always know what I'm exactly doing whenever I try new scales...just saying)

Hence, I will write my post with just background information covering mainly three areas: 1) some useful linked study material of pertinence, 2) not-so-sophisticated observations on "systems" in general and in relation to the "how many pianos do we need" question, so to say, and 3) "deep" analysis of the Maj 7 chord example from Joseph [3,7,10,2], plus a couple of suggestions on alternative tools for scale design best working with Pianoteq (as far as I know)

I think that, as a general rule, if the instrument hosts a string-system by which, along with each own string-design (and the whole of the other means of transmission as well), spectra with prevalent “pure harmonics” are rendered (like, say, a violin, that is, also some instrument where there are less metallic components as possible, etc), then, the tuning system which would better fit the “timbre”, provided that the musician aims at getting a classical “clean” timbre (and not exciting the string at nodes towards the bridge like in contemporary music, for example), the tuning system — I was saying — will be one of those that humanity has always considered the most valuable in terms of “good consonance vs bad dissonance” interval distribution.

These tuning systems, which must result in a balance between “harmony” and “equability”, and also present favourable cardinality per scale, have been revealed indipendently (so to say), as Milena Bozhikova has noted in his book “Music between Ontology and Ideology”, both by mathematical-logical thinking and musical practice, in the course of the centuries. Mike Battaglia, who I think is also the curator of the Xenharmonic Wiki (and an excellent piano player as well as a long-time Pianoteq user whose knowledge on this topic is incredibly wide), employed the Riemann zeta function in order to find those “n-equal division of the octave” (EDOs) that must be the best (if not the only) candidates.

Thing is that in order to conceive such an octave-system which is based on logarithms, you are forced by nature to put some priority onto only one of the most consonant interval that you have in mind, and not the other, whereby, if you take the classical major 4:5:6 triad as the most consonant example provided by nature, like Indians do — and of which, as we all know, the characteristic intervals are the “perfect fifth” (3/2) and the “pure major third” (5/4) — and you wish to dispose of that perfect triad no matter what (like, it has to be available in a more diffuse chromatic setup, and not just a diatonic scale), then, you must decide which must be the only consonant interval at needing more representation.

And so, the octave-logarithmic tuning systems which end up giving the utmost priviledge to the “perfect” fifth, apart from giving it to the perfect octave (to which they only really do in fact), they basically fall into the Zeta EDO list (more strict EDOs in this list go like 2, 5, 7, 12, 19, 31, 53, 270, etc). But, then, further distinctions are to be made, since that 31-tone system, for example, gives priviledge to “pure” thirds, rather than “perfect” fifths, as meantone systems tend to do, representing partial n. 5 more than partial n. 3 (and so goes that story and many other ones leading to all sorts of speculations about the golden section since the root of 5 is at play) and some of those EDOs might also hint at “exotic” things like 7-limit harmony, 11-limit, 13-limit or more consonances beyond such prime-limits (and yes, all are consonances by definition, otherwise surrogates of the same intervals wouldn’t systematically appear in the Zeta list)

And then to cut things short, because the 12-tone system is also a meantone system, namely, the first one that comes with the least de-tuned fifths in that category, and which then sorts intervals in the chromatic scale in such a way that “consonant” major triads somewhat resembling to 4:5:6 are always available everywhere, it has to be the most played or the most playable. And so it is obvious that almost the entire global world has ended up with adopting that type of compromised solution for matching the tuning with the timbre of classical instruments, that even the Indians did not resist, but imported the western harmonium and contaminated their singers, who now are trained with that system for the most part.

On the contrary, apart from the timbre of the instrument towards which the tuning will be destined, if you want your system to be made of, like, “bad consonance vs good dissonance”, while also still not touching the octave purity, but put as much as “dissonant intervals” in its span as possible — not to hurt anyone’s ears, but just have fun — then, a good way to start (in my opinion) is to look at EDOs which split the “fifth”, or the “fourth”, into two “fifths” and/or two “fourths”, in a “major or minor” style…example that comes to my mind now being 23-EDO…but there are infinite other alternatives (and if you are looking for more clarifications in this sector as well, explore free pdf book “Alternative Tunings: Theory, Notation and practice” from Kite Giedraitis)

To Joseph: I repeat myself, I’m not that math-prone guy, and so I can’t give you nice mathematical formulas tout-court but, eventually, as far as I can see in this respect, I say that one direct consequence of those EDOs which allow you to achieve what I’ve just said is, to my ears, a more evident scale distribution of so-called “interseptimal intervals”, to the detriment of the “non-interseptimal intervals” (such as 3/2)

And the inherent “inharmonicity” of acoustic pianos (which is “une grosse affaire” with Pianoteq as well) will, like, “poke” that person with (maybe) a more curious ear in such a way, that if that person was met with the possibility of putting hands onto a grand piano and apply some tuning without any exterior constriction (say, no one is obliged to make that piano “suitable” the moment there is no need to play sonata per pianoforte and all that wonderful stuff), then, that person would most probably prefer to leave the tuning lever after finding a nice rough “supermajor third”, after putting more tension and going “beyond” the pythagorean third of 81/64, rather loosen the string in the flat direction.

Just saying, this is not proven, I’m only guessing here. The demand of finding a region of “metastable” intervals and/or intervals convergent with acoustic phi and those siblings, well, maybe it is incremented by the feedback provided to the ear by the inharmonicity of the string-system in general, and more maybe by the complexity of pianos. I don’t know if this can be called entropy.

This whole western degenerated idea now also very well applies onto the question of “how to deal with whatever it is that is emerging in your face (or rather going althrough your body) when it comes to the tuning affecting the timbre and viceversa”, that this idea has been recenty baptized as “anti-just intonation”, “merciful intonation”, “noble intonation” etc. It is so funny. To be honest I think there is something not always noble, like when you patent “your” tuning system. How can you even think for one second that it is a good idea if you really know what you are doing? It’s not, like, selling an instrument coming with some fancy setting. Is it music in itself? I don’t think so, but in my mind, I would never do it. It is just too much, makes no sense, totally illegal. But whatever…“the west is the best”, Jim said. And to think that all this is not considering any “octave-strech” as of yet. But, don’t worry. I won’t discuss that.

Back to Joseph’s request, what certainly will turn more useful than my comment and offer a mathematical understanding of the possible relationships between "tuning" and "timbre" to the reader is, without any doubt, the research made by William Sethares. He published peer-reviewed I think, either free articles or books under Springer-Verlag editor, specifically for this matter, "Tuning, Timbre, Spectrum, Scale" (2005, 2nd edition). For an interesting alternative application of the theory he covers, just watch the 5-minutes video named "Inharmonic strings and the hyperpiano" on YouTube. Also his website is what I exstimate as a website with a sober interface and is presenting, with enough details, the contents of his research (you know, just in case you can't afford the book...)

Now, is this "hyperpiano" timbre the complete opposite of the timbre you want to achieve? In Pianoteq, a similar sound like that of the hyperpiano, or vaguely bell-like, as you've probably guessed, could result by abusing the "String tension" mode, or by setting the "string length" parameter at minimum, whereas "Full rebuild" should maintain the original timbre of the instrument. This means that, if you, instead, actually need the timbre to sound like something "stable" and as close as possible to the tuning you want to match, while still sounding like a traditional piano, you are put in front of a paradox.

The paradox is that you need to reduce "inharmonicity" down to zero. Which, is literally impossible on real systems, mainly because of string stiffness, and above all on physical pianos, as it would require infinitely long strings (and a huge soundboard). There are, very rarely, constructors which try to get remotely close to something like that, like Luigi Borgato & his Grand Prix 333.

I must be honest and repeat that I guess, that the factors which must be taken into consideration in order to really take care of the intonation inasmuch as possible on a real grand piano, they are largely hidden to me. But in Italy, when we talk about the intonation ("intonazione") strictly regarding acoustic pianos, we refer to a completely different and intermediary phase of setting the instrument — perhaps, the most tough phase, mostly based on, how can I say, hammer care. This comes just before, that maybe even asserting that it regards "unison" is a bit of an overstatement, because it is a phase in which the tuning lever is simply not an option. It is about sound.

The third and last phase — when you tune, temper, stretch, etc — that is not "intonazione", but "accordatura", which merely is, as a piano tuning master said, "only the icing on the cake". I heard from this same master that Borgato model, apart from mounting four strings for high-unisons compensation (not to talk about the soundboard), deals with intonation in all kinds of way, by also mounting hammer heads which have a pyramid-like rather than "oval/rounded" shape. Or that the legendary pianist Michelangeli made his trusted Fabbrini (personal piano builder and tuner technician) apply hazardous settings of "intonazione", since the hammers were to rest dangerously close (like less than 1 mm) to the strings after being struck (for reasons which I won't discuss, sorry, miss the lexicon)

Qexl, to whom I'm grateful for the much passionate and prompt responses, gave plenty of indications and made good points, most of which I agree on. I own Pianoteq Pro Studio but unfortunately I'm far from knowing the in-and-outs of it. I also don't think these very particular aspects of the hammer side for example, that I've just hinted at (and which indeed affect the timbre), are implemented for regular users as of yet. But things alike must be somewhere in Moddart equations.

Hard for me to say what you need to change to get to the timbre you desire. My suggestion is (if you own the Studio version) to access the "Note Edit" window, by double-clicking on "Spectrum profile" (under "Hammer hardness", in the middle section "Voicing", main panel). Then, check out the per-note values of those parameters which you think they might be responsible of badly affecting both the tuning and the timbre as you intended to be (whatever you mean, you know). In the Studio version, a big list of parameters will appear as you expand on the left. Just to name a few of interest here: "Detune", "Unison Width", "Unison Balance", "Stretch Points"...but also "Spectrum Profile" (per-note), "String Length", "Sympathetic Resonance", of course, etc.

I have the feeling that Pianoteq's "Stretch points" parameters will drive you crazy. Many many interesting options in there for evaluating the tuning/timbre relationship. I repeat, I do not have much experience on the practical side of acoustic piano tuning, but if you want to go into theory, inharmonicity and all that stuff, I can tell you first that...well...I thought that the "Circular Harmonic System" (C.Ha.S.) by Alfredo Capurso, a proposal of — I'm simplyfing — slightly tempering the octaves too, was, I mean, reasonable enough to be at least taken into consideration. If I remember, he also claimed that the strings-system seems, like, to fit more naturally (like the instrument requires less overall tension or something), but you know how it goes with this stuff, no one really cares so much...just play...sounds good.

And then, I don't know how, but I ended up on this "Psycho-Acoustic Temperament Hierarchy (PATH)" page by Ben Woolley, I think his name is, and if you go and read about his system [url: spatiotemporal.io/clavitone.html], well, now that is quite something also so extreme that must be taken into consideration. As a side note, this guy is one of the very, very few people who acknowledges that the "53-comma" (the difference between 53 iterations of 3/2, "perfect fifths", and 31 iterations of 2/1, "perfect octaves") had already been calculated, with really good precision, by a Chinese man, like, two thousands years ago, AND calls that interval in his honor, the Fang's comma.

Whereas, among westerners and their territory, where everything has to be centered on the logarithmic division of the octave, the same interval still bears the name of prominent logarithmic users of the Illuministic era, and so it is either known as the artificial comma of Mercator (from Nicholaus "Mercator" Kauffmann) or, among the Turkish people, as the Holderian (sometimes, Holdrian) comma, from William Holder. However, this 53-notion goes on-and-off all throughout the history, problem being providing the most exact *mathematical* calculation, in order to obtain as much as consonant intervals within one octave as possible. And so, during more or less the same Illuministic era, also Pier Francesco Valentini knew about that, Jean Gallé knew about that, Isaac Newton knew about that, etc.

But I will talk a little about designing scales (of maybe interest from yours) in the next part. As a general rule in Pianoteq, start with a preset which sounds the most decent already, and only after that, tweak with those per-note parameters (if your version allows you to do so) with both "Full rebuild" mode engaged and your custom tuning, until you are satisfied with the result. Forget about math-precision, you will always need your ear for sound-check on piano physical modeling. Same principle goes for real piano.

Sorry for necro post but this response was like the best thing on the internet, just wanted to give a throw back shout out!!!

Re: Piano tuning and timbre, Pianoteq model and pianos generally: curious

Latest updates:

1. I think I found a breakthrough (for me) by focusing on simplicity when it comes to creating piano tunings to cover all these possible chords.  Rather than fill in entire scales, I'm finding I'm getting haunting, open, resonant timbre by using fewer notes on a piano tuning, and picking note ratios for a tuning based on their simplicity of their relationships (intervals).  As stated previously, what makes the chord or scale or even piano timbre sound the way it does has a lot to do with the intervals formed between each note in a chord or set of strings.  Complicated ratios for the notes when selected carefully can still have simple relationships (intervals).  For example, 81/80 and 27/16 are fairly complicated compared to their relationship (i.e. interval, i.e. ratio) 81/80:27/16 = 3/5.

For examples to try out, check out the timbre if you create 4-note tunings with these ratios chosen for having the same primes in their numerators and denominators, respectively:

Example Piano 1:     Pure Major Chord Tuning with simple 7th relationships
                                  2/1   5/4   3/2   15/8

Example Piano 2      Pure Minor Chord Tuning with simple 7th relationships
                                  2/1   6/5   3/2    9/5

Example Piano 3      Pure Minor Chord Tuning with slightly less simple top note relationships
                                 2/1    6/5   3/2    27/16

The idea here is we could use three pianos to play these chords, or smaller subsets of these chords.  You could make a piano with all of these ratios and then you could play these chords as well as other chords on the same piano, but then the timbre will sound different, more complex, less open, less resonant, possibly dissonant.  Note that Example Piano 3 is a slightly more complicated flavor of Example Piano 2, different colors of Minor Chord.  The timbre for a single note in unison using Example Piano 3 sounds more melancholic to my ears.  Seems like a great hack for tuning timbre for a feeling!

To create these tunings, I used the Pianoteq advanced tuning window. I selected Create Equal Temperament just to create a number of strings, in this case 4-EDO (four strings).  Then for each piano, I retuned the strings to the ratios above and I set string tension to Full Rebuild. I'm finding 1.0 octave stretch (no octave stretch) works well in these small, simple ratio tunings.

It would be reasonable to take what I've written here to suggest the best way to cover a chord (set of ratios) is to create simplest possible tuning that covers the chord, which would simply be the set of ratios in the chord without adding any.  However, regarding timbre, the idea would actually be to imbed each note of the chord in the tuning that supports the timbre the best or at least well enough, such that you may or may not end up with one piano tuning per note depending on the situation.  The Example Piano 1 and 2 chord examples I use here are some of the most simple and resonant possible 4-chords, so one tuning covering the whole chord works well here, but other situations may call for more than one tuning to ensure each note is embedded in a context leading to acceptable timbre.  You could even intentionally embed a specific note in a different tuning to get a different feeling out of that note.
 
2. Still interested in more general applications discussed in the thread, especially using the concept of matching equally divided octaves (EDO) to approximate primes, which translates to better approximations of rational numbers.  Where I expect to go with that next is looking at the errors associated with specific primes and/or ratios rather than getting sucked immediately into the Mathematician's siren's pool of full Riemann Zeta, which is using information about all primes but with rapidly diminishing weights for larger primes.

Regarding timbre, what I found by simply checking out the built-in scales for 19-EDO and 22-EDO, which are both pretty good at approximating some of the musically relevant primes, is they sound not-half-bad considering how many notes are squeezed in the piano space.  19 and 22 are a lot of notes potentially clanging together and yet Pianoteq timbre with those scales still sound not-half-bad.  That evidence suggests the idea of using EDOs can make a lot of sense, especially if you want to derive a single scale that humans can use to play together.  I would say the timbre takes a hit relative to something similar to 12-EDO in my observation and I think there will be a practical limit to how fine EDO can go without spoiling a piano timbre. 

One might consider carefully removing notes from an EDO to create a sparser EDO tuning and cover the whole EDO with multiple pianos covering different notes to derive an overall implementation of the EDO with better timbre.

3. For my purposes I'm trying to derive coverings of specific chords comprised of specific ratios or approximating the ratios with EDOs, selected for sounding good in isolation but not necessarily intended to sound at the same time with other chords (sets of ratios); the result is extra extra complicated compared to the idea of a static scale and likely impractical for a human band improvising, but could be managed in the computer music space, or with a large non-improvising orchestra or big band.

4. A preference for fewer strings per tuning implies more pianos to cover all the chords (sets of ratios) I've derived to cover scales in the 12-EDO space.

5. I'm still sticking with covering 12-EDO so this all has something familiar to link back to. You can think of this as an attempt at a dynamic rational number scale based on a sprawling, non-compromising cover of 12-EDO.  Given a composition in 12-EDO (i.e. typical western music), you could compute a re-performance using a myriad of rational notes representing moments of harmony in a pure manner.

6. The issues that developed with timbre when using certain tunings also suggest that ambient ringing of prior notes is going to be a potential technical challenge with sprawling covers like this, lots of ratios ringing together where there is slow decay, or lots of reverberation preserving previous note information in the air.

-----

I could say a lot about all of this, and everything else in this thread, but I'm trying not to sprawl all over the place in one go.

Last edited by Joseph Merrill (26-10-2024 20:27)