The harder you hit a guitar string the more sharp is the initial pitch
For nominal hits the sharpness is not an issue
For tuning purposes you are forced to assume that the player is hitting the string with the same intensity as during a normal perfomance
peace y'all
pj
Guitar Tuner - Which harmonic?
DSP, Plugin and Host development discussion.
Moderator: KVR Moderators (Main)
Guitar Tuner - Which harmonic?
2012-05-22T17:40:32+00:00
Let's assume I have an algorithm that can calculate the fundamental frequency of a plucked guitar string. Let's also assume that I know where the harmonics are and their individual levels.
Now as we know the fundamental frequency level could be lower than the level of the harmonics, or in some cases almost non-existent. My algorithm can correctly detect roughly where the fundamental frequency should be.
Here is an example of such a case. The E string on this bass guitar has the following typical measured frequencies and levels (these are course frequency measurements):
Freq(Hz)_____Level(dB)___Note
40.75________-22.5________E1
82.28________-20.6________E2
123.9________-10.9________B2
Interestingly, most guitar tunes I tested incorrectly detects the above note as B2.
As can be seen the 3rd harmonic has a level that is 11dB higher than that of the fundamental. Note that I can calculate a much more accurate frequency for any of the harmonics at a later point in my algorithm. That is not the problem.
The problem is as follows... As I have discovered, the harmonics are usually *not* integer multiples of the fundamental. This is a know phenomenon. In my measurements, harmonics can be off by anything from 5 to 20 cents from the fundamental.
So the question becomes, which one of the three different frequencies above should be used as the "true" pitch of the guitar? One would instinctively think it should be the fundamental frequency, however I'm starting to think it should be whichever is the most dominant harmonic since it will probably mask the other frequencies. Put another way, I'm guessing that we as people will use the B2 above as the true reference of whether the string is in tune or not simply because it is so overwhelming the other notes. Although note that due to how we interpret the harmonic relationships, we would still hear it as an E1 note regardless of how low the E1 level is.
Does anyone know which would be the most "correct" frequency to reference for the true "pitch" as perceived by humans in the above example?
BitFlipper
https://www.kvraudio.com/forum/memberlist.php?mode=viewprofile&u=6646
-
- KVRian
- 911 posts since 1 Dec, 2003 from tejas
Post by pj geerlings »
Return to “DSP and Plugin Development”
Jump to
- The Main Forums
- ↳ KVR Developer Challenge 2026
- ↳ KVR Studio Manager
- ↳ Getting Started (AKA What is the best...?)
- ↳ Instruments
- ↳ Effects
- ↳ Hosts & Applications (Sequencers, DAWs, Audio Editors, etc.)
- ↳ Guitars
- ↳ Mobile Apps and Hardware
- ↳ Soundware
- ↳ Samplers, Sampling & Sample Libraries
- ↳ Hardware (Instruments and Effects)
- ↳ Modular Synthesis
- ↳ Sound Design
- ↳ Production Techniques
- ↳ Music Theory
- ↳ Computer Setup and System Configuration
- ↳ DSP and Plugin Development
- ↳ DIY: Build it and they will come
- ↳ Music Cafe
- ↳ Machine Learning and AI for Music Creation
- ↳ Sell & Buy (+Special Offers, Deals & Promos)
- ↳ KVR Experts
- ↳ Everything Else (Music related)
- ↳ Off Topic
- ↳ Off Topic Classics
- Official Company Forums
- ↳ 2getheraudio
- ↳ accSone
- ↳ Acon Digital
- ↳ AcousticsampleS
- ↳ AcousModules
- ↳ Agitated State
- ↳ AIR Music Technology
- ↳ AMG
- ↳ Ample Sound
- ↳ Antares Audio Technologies
- ↳ Apisonic Labs
- ↳ APU Software
- ↳ apulSoft
- ↳ AriesCode
- ↳ Arts Acoustic
- ↳ Arturia
- ↳ Audjoo
- ↳ AudioSpillage
- ↳ Audiority
- ↳ Best Service
- ↳ Big Tick
- ↳ Bitwig
- ↳ Controller Scripting
- ↳ Blue Cat Audio
- ↳ Cherry Audio
- ↳ CWITEC
- ↳ Embertone
- ↳ energyXT
- ↳ Eventide
- ↳ Expert Sleepers
- ↳ forward audio
- ↳ Future Audio Workshop
- ↳ FXpansion
- ↳ g200kg
- ↳ Harrison Mixbus
- ↳ HG Fortune
- ↳ Homegrown Sounds
- ↳ HoRNet Plugins
- ↳ Ilya Efimov Production
- ↳ Image Line
- ↳ Impact Soundworks
- ↳ Indiginus
- ↳ Insert Piz Here
- ↳ Ju-X
- ↳ Kirk Hunter Studios
- ↳ Kirnu
- ↳ Kong Audio
- ↳ Krotos
- ↳ Kuassa
- ↳ KV331 Audio
- ↳ LennarDigital
- ↳ Les Productions Zvon
- ↳ Liqube Audio
- ↳ Loomer
- ↳ LVC-Audio
- ↳ Maizesoft
- ↳ Manytone Music
- ↳ Media Overkill (MOK)
- ↳ MeldaProduction
- ↳ Mellowmuse
- ↳ MIDIMood
- ↳ moForte
- ↳ Mozaic Beats
- ↳ mucoder
- ↳ MusicDevelopments
- ↳ Tips & Tricks
- ↳ MusicLab
- ↳ MuTools
- ↳ New Sonic Arts
- ↳ NUSofting
- ↳ Oli Larkin Plugins
- ↳ Orange Tree Samples
- ↳ patchpool
- ↳ Photosounder
- ↳ PlugInGuru
- ↳ Polyverse Music
- ↳ Precisionsound
- ↳ Premier Sound Factory
- ↳ Psychic Modulation
- ↳ Realitone
- ↳ Resonance-Sound
- ↳ Reveal Sound
- ↳ Roger Linn Design
- ↳ rs-met
- ↳ S3A: Spatial Audio
- ↳ SaschArt
- ↳ Smart Electronix
- ↳ sonible
- ↳ SonicBirth
- ↳ Sonic Reality / eSoundz.com
- ↳ Soundiron
- ↳ SPC Plugins
- ↳ Sugar Bytes
- ↳ TAL Software
- ↳ Tokyo Dawn Labs
- ↳ Tracktion
- ↳ Tweakbench
- ↳ u-he
- ↳ u-he Linux support
- ↳ United Plugins
- ↳ VAZ Synths
- ↳ Virharmonic
- ↳ xoxos
- ↳ XSRDO - SynthCraft
- ↳ ZynAddSubFX
- Site Stuff
- ↳ Site Stuff
- Archived Forums
- ↳ AlgoMusic
- ↳ easytoolz
- ↳ Elevayta
- ↳ Hollow Sun
- ↳ LinPlug
- ↳ Muse Research and Development
- ↳ Shuriken
- ↳ SoHa Sound Design
- ↳ Soniccouture
- ↳ Topten Software
- ↳ Valhalla DSP
- ↳ CK Modules & VST
- ↳ Sennheiser AMBEO
- ↳ Muon Software
- ↳ Westgatesounds.net
- ↳ Squaredheads
- ↳ Sonigen
- ↳ CFA-Sound
- ↳ Back In Time Records
- ↳ Livelab.dk
- ↳ Skytopia
- ↳ audioD3CK
- ↳ Inspire Audio
- ↳ Krakli
- ↳ Drumdrops
- ↳ Futucraft
- ↳ OverTone DSP
- ↳ RaXnTraX
- ↳ solar3d-software
- ↳ Signaldust
- ↳ Soundemote
- ↳ ReleaseLab (Powered by Artist Expansion)
- ↳ Wolfgang Palm
- ↳ UJAM
- KVR Forum index
- All times are UTC
- Delete cookies
