Jump to content

Calculating FPS by sound


Pendra

Recommended Posts

Working with not native components at 4 o'clock in the morning... Thanx for pointing out.

You can dl the missing file from here:

http://www.variagame.hu/rtl70.bpl

Copy it to your Windows\System32 folder

http://www.variagame.hu/SCrono_v05.exe

I decided to change the name as well, to reflect that it is just an alpha version.

Hopefully nothing else is missing.

Forgot to mention, it is for WinXp :)

Link to post
Share on other sites

Ahh, I think I have to set something to include all the needed files. But anyway, it seems the program is not working right. I tried it with my guns and it produced all kind of mess as results. I think I will go back to experiment with the mic placement and the mic volume.

Link to post
Share on other sites

Ok it seems I have the final solution:

I was still unable to determine the exact moment the BB leaves the bullet, so I made a hack.

I took 2 sheets of A4 paper and folded them in half.

I put them onto the ground

The reson I folded then is that thay can stand on their own, without falling back.

I also layed down 2 book to anchor the papers, because the papers will start to move backward a little when you hit them with BBs. Don't shoot the books!

Put the mic half way between them.

Added some cloths to dampen the sound of the hit on the wall.

 

The whole setup looked like this from the top down

 

.................................MIC

GUN-........|_Book......1m dist........|_Book........II-sound/hit damper

 

I got this type of waveform

--<>-|>---|>--<>--

Notice the 2 peaks. One is the hit on the 1st paper, the 2nd is the hit on the 2nd paper. It is totally irrelevant when the BB actually left the barrel. You see 100% sure when it entered and left the range.

As both markers are the same material, the amplitudo are almost the same. With the damper at the end, the BBs will not ricochet, so you can do it safely in your room. (I got more hits last night with the hit on the wall idea, than in a whole month.)

 

You can DL it from here:

http://www.variagame.hu/SCrono.zip

 

I think the idea will not get any more accurate than this. Hm maybe if you increase the range between the sheets.

And I hope you will not miss files :)

BTW you gotta use 0.81 as distance for the sample files.

Also included my AS calculator, just in case.

Link to post
Share on other sites

hey if you are interested in reducing the error you can make a correction for the speed of sound...you can calculate your local speed of sound by doing the following:

 

speed = sqrt(1.4*287.05*T)

where T= temperature in celcius +273.15

this will give an answer in m/s

 

hope this maybe makes the readings a tad more accurate!

Link to post
Share on other sites

TBH, I can't be bothered to go through the sums again (I'm sure you can do that for yourself :)) but I think I calculated it that if you assume a 2m long "range", and the microphone mid-way along it, then the sound has to travel 1m to the mic. I seem to recall that this works out to about 1fps difference between absolute and corrected velocity.

Hardly worth worrying about.

 

Regarding the deal with shooting through paper, I wonder if it'll reduce the power since the BB has to punch through a sheet of paper which will, slightly, dissipate it's power?

Link to post
Share on other sites

Someone just has to shoot his gun over a chrono with no obstacles, and then place one piece of paper (folded) between the gun and chrono. Only one because the second paper won't affect the result like the first one does.

 

I would imagine that it differs a little bit depending on BB weight and velocity, but it would be accurate enough to measure if the gun is safe to skirmish or not.

 

-Sale

Link to post
Share on other sites

I thought of this and added +2 m/s to the calculated speed. I tried my L85 springer (theoretically 0.5J) with .12 and .2. There was about 0.1J difference with the .2 giving the lower results. I think the power loss from the paper is related mainly to the speed of the BB, and less to the weight. The higher the speed the lower the loss. I will make that modifier variable in the new version. I want to incorporte a method which would calculate the speed online without recording the sound into a wav file. Plus add a ROF calculator. It is simple to do with the current code :).

Link to post
Share on other sites

I haven't tried this yet but you might be able to correct for shooting through a sheet of paper by actually ADDING another one.

 

Fire a shot through THREE bits of paper and calculate the velocity.

 

Now shoot through TWO bits of paper. The difference is the power dissipated by a single sheet of paper.

You can add this much to the 2-sheet results to give a corrected figure.

 

Might work out. :D

Link to post
Share on other sites
I thought of this and added +2 m/s to the calculated speed. I tried my L85 springer (theoretically 0.5J) with .12 and .2. There was about 0.1J difference with the .2 giving the lower results. I think the power loss from the paper is related mainly to the speed of the BB, and less to the weight. The higher the speed the lower the loss. I will make that modifier variable in the new version. I want to incorporte a method which would calculate the speed online without recording the sound into a wav file. Plus add a ROF calculator. It is simple to do with the current code :).

 

Keep in mind that some guns actually give different muzzle energy with different weight BB's. Typically a heavier BB will give slightly more muzzle energy.

 

-Sale

Link to post
Share on other sites

Anybody try 2 mics?

 

Most of the software you are using will record in stereo (l and r) or 2 tracks soooo:

Close mic the muzzle with a condenser mic (directional)

and

Close mic the back of the board (the board will act as a sound insulator)

 

When you look at the wave forms you will see peeks on track one for the round leaving the muzzle and peaks on track two for the round hitting the board. The calibration on the programs themselves should work down to .001 sec. so it should be easy to figure out the speed as long as you measure the distance accurately.

 

BTW I won't be testing this out as I'd be daft to shoot airsoft guns in my music studio, but it should work well :P let me know

Link to post
Share on other sites
  • 4 weeks later...

Sure. Here you go. This is a waveform of 1 meter, Sl9, and spring is just above the forum limits. With a short barrel it should come into the limits nicely. The first red line shows where i started calculating and the last one is where i stoped.

Link to post
Share on other sites
  • 1 month later...

For those who want to give this a go, Visionviper knocked together a little program which saves you having to do the sums for yourself.

 

You still need something like Audacity to actually figure out the BB flight time but this little program should help do the maths for you.

 

Remember to give Visionviper some rep points if you think this is useful. :)

SoundCalc.zip

Link to post
Share on other sites
  • 3 months later...

I reworked the SCrono. It is more simple and more stable. I included pics about my setup. It is very simple but effective. It also works with computer independent sound recording devices, such as MP3 players and CellPhones. However, you may need some computer skill to make decent quality recording with those things and convert them into wavs.

 

Get it from here:

http://www.jovedelmigazolas.hu/xcom/files/SCrono07.zip

 

Oh and here is the ROF Cheking program I made earlier:

http://www.jovedelmigazolas.hu/xcom/files/ROFC2.zip

Link to post
Share on other sites
  • 7 months later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and the use of session cookies.