Tag Archives: frequency spectrum

How to tap test a guitar – part 2

In a previous page – How to tap test a guitar Part 1 – I talked about the first steps  in producing a tonal signature by tap testing, and how to use Audacity software to record and analyse the tap.

In How to tap test a guitar Part 2 I want to complete the description of how I analyse the spectral signatures I end up with, using Excel to produce charts that allow direct comparison between taps. Just looking at Audacity Fast Fourier Transform charts like the one below is all very well, but they’re so detailed and spread across the whole audible sound spectrum that it’s hard to make sense of them, even though it’s obvious there’s pattern and structure there as you’d expect from something musical.

Guitar makers are mainly focused on the 80 to 1,000Hz range because that carries information we can actually use to take control of the sound. Players wanting to compare guitars, though, may be interested in the whole range from 80 to around 3,000Hz because that’s the whole response of the instrument we can hear.

Just a reminder: remember we’re measuring response in deciBels (dB) where a difference of around 3dB is a DOUBLING of sound level. 10dB is a difference of 10 TIMES, and 20dB is a difference of 100 TIMES.

Just to quickly run over what I’ve covered already:

  • use a small padded hammer, or if you want to go all organic, your knuckle to tap the guitar top, with the instrument held in the usual position, pointing at the computer microphone (the built-in microphone on my MacBook seems okay, and I’ve compared it with a reasonable quality Apogee USB microphone)
  • tap as consistently as you can, and in the same spot on or close to the bridge (unless you’re interested in how the response varies across the top)
  • record the tap series – around 20 of them – using Audacity (try to keep the recorded pulses from “clipping” – that is, hitting or overlapping the upper and lower track borders)
  • select the tap series, go to the ANALYSE menu and select PLOT SPECTRUM
  • marvel at the wonders of modern technology (not so long ago that analysis would have taken hours) and scratch your head while thinking “What does that mean??!”

You will have ended up with something like this from one of my guitars:

Image

One nice thing is that this window allows you to scroll the cursor along the tonal signature and it will tell you not only what frequency you’re on, but also the exact frequency of the nearest peak. Each of these peaks relates to one aspect of the guitar’s structure, which is why we guitar-makers like it. For example, the first large peak at just under 100Hz is the Coupled Helmholtz response that comes from a combination of the top, back, and air body “breathing”. The frequency of it is determined by the size of the soundbox, the vibration of the top and back, and the size of the soundhole. So you can see what I mean, here’s a tap from a soprano ukulele:

Image

Because the ukulele has a much smaller body, the Coupled Helmholtz peak is higher at 129Hz. (Does the smaller soundhole of the uke also help shift the peak upwards? Weirdly, no – it’s pulling the other way. Ah, physics…don’t you love it?)

It would be perfectly reasonable to stop at this point and admire all the different tap signatures you collect one by one just using the Audacity window, but I think you’ll quickly see the limitations of that. You can save the tap tracks on Audacity if you want, and come back to analyse the recording as often as you like. Or, you can take screen shots and keep the signatures as JPEG files. What you can’t easily do is overlap different taps so you can compare directly, as you might for example if you want to win an argument that says Matons are better than Martins, for example (a silly example, because you can’t prove any such thing – but you get my drift I hope).

So the next step is to export all this information in a form that will allow you to plot it as a graph using Excel. At this point I’m going to assume you know how to use Excel charts reasonably well, but I will perhaps give more detailed instructions later on if anybody wants – you can contact me through the Contact me page on this site.

The format I use for exporting is .txt because it’s easy to import into Excel, which will be the step after this.

So, as you already guessed while I’ve been droning on, now hit the Export… button. Save the data file somewhere handy, making sure it’s in .txt form.

Create a new Excel workbook. I usually start out with two tabs, one labelled DATA and the other GRAPH. In the DATA worksheet, select Data menu from the toolbar, then click on Get External Data/Import Text File… . Follow the string of Excel-ish dialogue boxes through to its inevitable conclusion, and you should find a very large set of data magically appearing in the worksheet.

Here’s where I assume you know how to create a new chart and plot the data. I normally plot the horizontal Frequency axis from 0 to 500 or 1,000Hz to suit my purposes, and use a linear rather than logarithmic scale. If you want to see all the data range (up to around 3,000Hz usually) you might want to use a logarithmic scale instead.

And on that probably very annoying note this page reaches its end, gets into its jimjams, and stumbles off to bed with a hot water bottle, because here in Canberra tonight it’s FREEZING!

As part of my series on building a bamboo guitar, I’ll go into the tap tone analysis of the instrument in detail.