whistle makers: new flutomat implementation

The Ultimate On-Line Whistle Community. If you find one more ultimater, let us know.
User avatar
ctilbury
Posts: 349
Joined: Mon Jun 28, 2004 12:56 am
Please enter the next number in sequence: 1
Contact:

whistle makers: new flutomat implementation

Post by ctilbury »

All,

I am implementing my own version of the Pete Kosel's flutomat web page. It is a calculator that is used to find the hole placement in a whistle or flute. It works well as it is, but I want to add a couple of features to make it easier to use. Here is the short list of new features:

1. Use fractions or decimal numbers when calculating in inches.
2. Calculate using metric numbers. (as it does now)
3. Calculate and display the distance between holes.
4. Calculate and display the cutoff frequency and rate it for "goodness".
5. Increment or decrement the hole sizes by 1/64" or by 0.05mm, depending on which measure system is selected.
6. A "printer friendly" popup button.
7. Support an arbitrary number of holes.

Other (future) enhancements:
1. Calculate by hole placement as well as hole size.
2. Support for tapered bores.

I am planning to host this on my own site and also making the javascript available for download. I would like to know if anyone has any suggestions for other features. Does this sound like something that anyone would want to use? Do I need a good flaming? :)
Happy Whistling!
-=ChuckT=-
www.whistlemaker.com
User avatar
Thomas-Hastay
Posts: 839
Joined: Tue Jun 26, 2001 6:00 pm
antispam: No
Please enter the next number in sequence: 8
Location: Between my Ears or in "Nord" East MN
Contact:

Re: whistle makers: new flutomat implementation

Post by Thomas-Hastay »

Hi Chuck

Sounds like a lot of work! I commend your efforts! The Flutomat calculator is wonderful, but it does need some augmentation. I, for one, will be greatful for your efforts.

The averaging of conical bores is not too difficult, but each of the playing holes in a conical bore need to input the differing ID measurements into each individual playing hole formula. I also suggest more detail on the calcuation of whistle labium embouchures. Many people are confused with conversion of the flutomat embouchure measurements. The trapezoidal window must be calculated for cubic volume, "averaged" and then "plugged into" the embouchure size. Maybe you could have a subroutine to deal with this?

A feature for adding an harmonic chamber under/below the windway would be nice too. Most whistles don't require them, but adding high frequency harmonics is desirable.

You mentioned conical playing holes? Maybe a feature for calculating "average" diameters from truncated conical dimensions?

Each register creates shifting nodes and antinodes. Toneholes must be placed/centered between these antinodes. Maybe a secondary program to show how and where these nodes are shifting so placement of tonehole centers will not degrade the upper registers?

A section on "optional" voicings would be wonderful too. The Flutomat is used by makers of other woodwinds as well (A Flutomat program for Native American flutes is already available). This program can be modified to calculate Clarinets, Bagpipe Chanters and many Renaissance woodwinds.

What are your thoughts?
Thomas Hastay
"The difference between Genius and stupidity, is that Genius has its limits" (Albert Einstein)
thomashastay@yahoo.com
henryz
Posts: 166
Joined: Sat Mar 08, 2008 5:24 pm
antispam: No
Location: Clinton Co. Indiana

Re: whistle makers: new flutomat implementation

Post by henryz »

Sound like a very ambitious and very worthwhile project. Support for tapered bores would, indeed, be a bonus!
User avatar
Daniel_Bingamon
Posts: 2227
Joined: Wed Jun 27, 2001 6:00 pm
antispam: No
Location: Kings Mills, OH
Contact:

Re: whistle makers: new flutomat implementation

Post by Daniel_Bingamon »

Good to see others making proper use of the cutoff frequency.
Email - YouTube - Ebay - Website $28 Low-D
User avatar
ctilbury
Posts: 349
Joined: Mon Jun 28, 2004 12:56 am
Please enter the next number in sequence: 1
Contact:

Re: whistle makers: new flutomat implementation

Post by ctilbury »

Thomas-Hastay wrote:Hi Chuck
The averaging of conical bores is not too difficult, but each of the playing holes in a conical bore need to input the differing ID measurements into each individual playing hole formula. I also suggest more detail on the calcuation of whistle labium embouchures. Many people are confused with conversion of the flutomat embouchure measurements. The trapezoidal window must be calculated for cubic volume, "averaged" and then "plugged into" the embouchure size. Maybe you could have a subroutine to deal with this?
Thomas Hastay
FWIW, I have been using a calculator written in C++ for a while. It had some of the features that I mentioned above. I never released it because I don't do C++ that well and it only worked under a UNIX-like operating system.

I have tried to create a version for conical bores. The way I tried to do it was to take the I.D. of the bore at the hole (all of them are different) and do the normal calculations that one would do for each hole. It did not seem to work at all. It seems like the corrections are not correct for the end or for the other holes.

Here is my formula for getting the ID on the taper when the offset from the small end is known:
val = (len / taper_len) * (taper_max - taper_min) + taper_min;
where:
val = the output
len = the location of the point to get the ID at, measured from the small end
taper_len = the total length of the taper
taper_max = the maximum diameter of the taper
taper_min = the minimum diameter of the taper

I have a simple C program to illustrate the idea. If you have an algorithm that will work for this, I would be happy to implement it. Also, I would like some help with the math of calculating a whistle. I cannot seem to figure out how to solve for hole sizes when the placement is known. The only way to do it (that I know of) is to
change the hole sizes iteratively until the locations are within a certain tolerance.
Happy Whistling!
-=ChuckT=-
www.whistlemaker.com
User avatar
Thomas-Hastay
Posts: 839
Joined: Tue Jun 26, 2001 6:00 pm
antispam: No
Please enter the next number in sequence: 8
Location: Between my Ears or in "Nord" East MN
Contact:

Re: whistle makers: new flutomat implementation

Post by Thomas-Hastay »

Hey Chuck. Sorry, I'm not a programmer. I do all my calculations "the hard way", with a fancy scientific calculator and time-tested
formulae. I find that the mathematics are much more accurate than "empirical/trial and error" testing.

Are you familiar with the booklets of Lew Paxton Price? He has written several flute making booklets with simplified mathematic calculations for the amateur designer. These have become "standards" for amateur woodwind makers. Formulae for conical Playing holes and avereraging conical bores are in these inexpensive booklets, as well as many other helpful formulae. I highly recommend them. Here is a source...

http://www.shakuhachi.com/TOC-CM.html

Bart Hopkin's booklets on acoustics are also a sure bet. (check your local library for these too.) I'll cobb together some common formulae and post them too. Thomas Hastay.
"The difference between Genius and stupidity, is that Genius has its limits" (Albert Einstein)
thomashastay@yahoo.com
User avatar
ctilbury
Posts: 349
Joined: Mon Jun 28, 2004 12:56 am
Please enter the next number in sequence: 1
Contact:

Re: whistle makers: new flutomat implementation

Post by ctilbury »

I have Hopkins and Price's books. I had trouble converting Price's work to an actual program to use. The math was easy enough, but I could not get it "dialed in" for accuracy. Hopkins does the Benade thing, same as flutomat. This seems to be the best way. Also, it is not encumbered by copyrights, as Price's work is. The problem is that Benade's formulas are iterative. In other words, you repeat the calculation using a previous result. That makes it hard (for me at least) to adapt them to a tapered bore.

If anyone out there has a math background and some time, I would like to talk to you about this.

EDIT: nice link to Shakuhachi stuff!
Happy Whistling!
-=ChuckT=-
www.whistlemaker.com
User avatar
Mitch
Posts: 1826
Joined: Tue Dec 20, 2005 6:58 pm
antispam: No
Please enter the next number in sequence: 8
Location: Wombatistan
Contact:

Re: whistle makers: new flutomat implementation

Post by Mitch »

HI Chuck,

I think this is a brilliant idea! I will look forward to seeing what you come up with. Specially any improvement on conical bore calculation.

The old flutomat helped me a great deal and I would like to see some extensions to help people get started on their self-made super whistles!

For new makers I would like to also help with a little insight these tools can bring - play around with the bore settings and get a feel for how stuff changes a lot with very small adjustments. To help you with the quantum-jump in that: your math might be exact and considered, but understanding is the only bridge between what you know and what you can make real. The math and tools allow you to know ... your own hand is what does the execution - attend to that or all that goes before is academic. And for those who prefer to use the hands of others for their results (the law of civilization!) .. be understanding, moderate and keep an eye on feasability (also the law of civilization - the blessing of hands ;) ).

I suppose what I am saying is that if you can put your heart and soul into your creation along with your mind, you will succeed. If, at the end, you fail - this directs you to your next lesson. Making a good whistle is the most brilliant way I have ever found for improving my life and bringing more "thy will be done on earth as it is in heaven". For the truly religeous this will make obvious sense, for the existentialist please consider that you are the pinacle of evolution and your hands hold the wisdom of 10 million years .. Decartes said " I think therefore I am": think with all you have and you might get close - mind, body and soul. Then the music starts :) ,, I would wish all can have good music in their lives. The key is "value-add" - i.e. what comes into your life returns to the world better, enhanced by the value of your presence here! This is the benchmark of life .. and whistle making ;)
All the best!

mitch
http://www.ozwhistles.com
User avatar
DrPhill
Posts: 1610
Joined: Wed Nov 19, 2008 11:58 am
antispam: No
Please enter the next number in sequence: 10
Location: None

Re: whistle makers: new flutomat implementation

Post by DrPhill »

ctilbury wrote:If anyone out there has a math background and some time, I would like to talk to you about this.
Is it the math or the programming? I was a professional programmer, so if you give me a definition I can most likely code it for you (though my preferred language is Java). I can talk some math though I fade out somewhere around degree level.

Just a thought.
Phill

One does not equal two. Not even for very large values of one.
highwood
Posts: 562
Joined: Thu Feb 07, 2008 3:30 pm
antispam: No
Please enter the next number in sequence: 12
Location: Ohio

Re: whistle makers: new flutomat implementation

Post by highwood »

I can only speak to the Kosel spreadsheet and anything based on it such as Daniel Bingamon improved version as that is what I have used and modified. I believe that Flutomat is based on the same equations/methods.
The Kosel spreadsheet uses first order approximations of formulas first published some 80 years ago that do not require an iterative process, if set up in a suitable fashion.
The trick is you do not need to know anything about the position of holes below the one being calculated, just the frequency of the note below it, which you know.

Corrections to the position of the hole from closed holes above it can be added to the result and since only closed holes above the note effect it if implemented correctly this does not have to involve iteration or create circular refs in a spreadsheet.

The formula (and presumably its first order approximation) works for open or closed, cylindrical or conical instruments so it should not be too hard to have a program work for all, though some the 'correction formulas' are specific for conical or cylindrical.
“When a Cat adopts you there is nothing to be done about it except put up with it until the wind changes.” T.S. Elliot
User avatar
ctilbury
Posts: 349
Joined: Mon Jun 28, 2004 12:56 am
Please enter the next number in sequence: 1
Contact:

Re: whistle makers: new flutomat implementation

Post by ctilbury »

A non-functional preview is located at whistlemaker.com/calc/calc.html

I am also updating my web site and it will include this page. For now, it is just some basic internal structure changes that you cannot really see. And, if I forgot to mention, it does not work yet. Post me a PM if you want the (non-working) java script. When I get it working, I will make it available as a ZIP file.
Happy Whistling!
-=ChuckT=-
www.whistlemaker.com
highwood
Posts: 562
Joined: Thu Feb 07, 2008 3:30 pm
antispam: No
Please enter the next number in sequence: 12
Location: Ohio

Re: whistle makers: new flutomat implementation

Post by highwood »

No need to pm you for a copy or for you to zip the js file, if its a javascript and online it is out there for all to see (if they know how to look which if they know how to mess with it they should)
“When a Cat adopts you there is nothing to be done about it except put up with it until the wind changes.” T.S. Elliot
User avatar
ctilbury
Posts: 349
Joined: Mon Jun 28, 2004 12:56 am
Please enter the next number in sequence: 1
Contact:

Re: whistle makers: new flutomat implementation

Post by ctilbury »

highwood wrote:No need to pm you for a copy or for you to zip the js file, if its a javascript and online it is out there for all to see (if they know how to look which if they know how to mess with it they should)
Normally, it would be, but I have placed it in a separate file to make it easier to fool around with using a remote debugger. It is not viewable with a "view source" option.
Happy Whistling!
-=ChuckT=-
www.whistlemaker.com
highwood
Posts: 562
Joined: Thu Feb 07, 2008 3:30 pm
antispam: No
Please enter the next number in sequence: 12
Location: Ohio

Re: whistle makers: new flutomat implementation

Post by highwood »

but is easily viewable never the less using firefox or safari developer tools
“When a Cat adopts you there is nothing to be done about it except put up with it until the wind changes.” T.S. Elliot
User avatar
ctilbury
Posts: 349
Joined: Mon Jun 28, 2004 12:56 am
Please enter the next number in sequence: 1
Contact:

Re: whistle makers: new flutomat implementation

Post by ctilbury »

So it is. I stand corrected! :tomato: :)
Happy Whistling!
-=ChuckT=-
www.whistlemaker.com
Post Reply