rodrigocfd / string-tension-calc

Guitar string tension calculator with graphical plotting.
https://rodrigocfd.github.io/string-tension-calc/
MIT License
25 stars 13 forks source link

Please add acoustic guitar sets #11

Closed why-trv closed 5 months ago

why-trv commented 5 months ago

First of all, this is just great - by far the best string tension calculator I've seen, thank you so much!

Can you please add acoustic sets?

rodrigocfd commented 5 months ago

Can you please add acoustic sets?

I'd love to, but the elastic coefficients of the strings are different, and the ratio between string length and gauge is also probably different. So the polynomial expressions I use would lead to wrong results.

why-trv commented 5 months ago

I'd love to, but the elastic coefficients of the strings are different, and the ratio between string length and gauge is also probably different. So the polynomial expressions I use would lead to wrong results.

Got it, thanks for your response. Having only read through the readme and not the actual code, I thought it was based on D'Addario's unit weights. Do you mind if I ask what is the benefit of your approach compared to just using the UWs and the tension formula?

rodrigocfd commented 5 months ago

I do use the tension formula, but the unit weights are calculated with a polynomial equation, so I don't have to manually write each number. Plus this allows me to extrapolate to 8+ strings and gauges D'Addario doesn't offer.

why-trv commented 5 months ago

Cool! I guess if you derived the polynomial coefficients from the unit weights, the same could be done for bronze strings and their unit weights, couldn't it?

By the way, I believe they provide the values for gauges as low as 7. Maybe that wasn't the case earlier (?) (https://www.daddario.com/globalassets/pdfs/accessories/tension_chart_13934.pdf)

rodrigocfd commented 5 months ago

I guess if you derived the polynomial coefficients from the unit weights, the same could be done for bronze strings and their unit weights, couldn't it?

Yes, but I has no use to me. Feel free to fork this project and make an acoustic guitar version of it.

By the way, I believe they provide the values for gauges as low as 7. Maybe that wasn't the case earlier (?)

Maybe. I started this project with jQuery around 2016, so I don't really remember.

blfuentes commented 5 months ago

Cool! I guess if you derived the polynomial coefficients from the unit weights, the same could be done for bronze strings and their unit weights, couldn't it?

By the way, I believe they provide the values for gauges as low as 7. Maybe that wasn't the case earlier (?) (https://www.daddario.com/globalassets/pdfs/accessories/tension_chart_13934.pdf) I have a similar webtool using materials' density to calculate the tension, but I do think there are more things involved. I've implemented two different methods and the values I get are not 100% accurate. https://github.com/blfuentes/guitarstring-tension-calculator/blob/master/src/Calculator.DLL/GuitarString.cs

image image

rodrigocfd commented 5 months ago

I have a similar webtool using materials' density to calculate the tension, but I do think there are more things involved. I've implemented two different methods and the values I get are not 100% accurate.

In my method, I used a polynomial curve which is an approximation to the actual unit weights. It's very close, but it's not exact... so that small difference could be on my side. I don't know about your method, but to be 100% sure, just use the exact value of the UW provided by D'Addario chart in the formula.