newest posts
|
Welcome to Catholic Answers Forums, the largest Catholic Community on the Web.
Here you can join over 300,000 members from around the world discussing all things Catholic. Membership is open to all, Catholic and non-Catholic alike, who seek the Truth with Charity.
To gain full access, you must register for a FREE account. Registered members are able to:
- Submit questions about the faith to experts from Catholic Answers
- Participate in all forum discussions
- Communicate privately with Catholics from around the world
- Plus join a prayer group, read with the Book Club, and much more.
Registration is fast, simple and absolutely free. So join our community today!
Have a question about registration or your account log-in? Just contact our Support Hotline.
|
 |

Jul 18, '12, 8:16 am
|
|
New Member
|
|
Join Date: July 12, 2011
Posts: 11
Religion: Catholic
|
|
Any computer programmers???
Is there anyone here who could help me do a simple project?
I used to do programming as a hobby in my teen years, but eventually dropped it due to lack of time. Recently I thought up an interesting programming project that might help me in some of my work, but I don't have the skills anymore to put it together. Someone who routinely does this kind of work should have little difficulty, though.
It has to do with basic acoustics and graphing comb filter effects.
|

Jul 18, '12, 9:28 am
|
|
New Member
|
|
Join Date: June 22, 2010
Posts: 6
Religion: Roman Catholic
|
|
Re: Any computer programmers???
I may be able to help. What specifically do you want. (What does it do, how does it get the data, what languages could be used etc.)
God bless you,
Andrew
|

Jul 18, '12, 9:31 am
|
 |
Regular Member
|
|
Join Date: June 19, 2012
Posts: 1,225
Religion: Roman Catholic
|
|
Re: Any computer programmers???
I'm also a programmer. I'll reiterate the questions of the previous poster. You'll need to explain in some detail what is needed since I have very little knowledge of acoustics   .
-Byrnwiga
|

Jul 18, '12, 10:58 am
|
|
New Member
|
|
Join Date: July 12, 2011
Posts: 11
Religion: Catholic
|
|
Re: Any computer programmers???
Thanks for your responses. Here's the idea.
A single window (I'm in Windows 7, btw) with two areas: top and bottom. The top represents a 2-dimensional Cartesian plane from a side view. The lower edge of it representing the floor. The dimensions of it represent, say, a 14 ft wide by 12 ft high space (or be adjustable). Within this plane there would be two moveable points. One represents a sound source, the other a listener (or microphone). Here is where the acoustics come in.
There are two sounds we want to take into account. The direct sound, which goes straight from the source to the mic, and the nearest reflected sound (the one I am concerned with in this program) which bounces off the floor and hits the mic at a later time. Since this indirect sound takes longer to travel the distance to the mic than the direct sound, it creates a comb filter effect. That is, the frequency response of the sound at the mic is changed due to the combination of the direct and delayed sound.
The bottom area of the program is just the graph of this effect, which changes as the points in the upper area are moved. That's it.
For the most part, the math involved would require figuring:
1. The strength of the direct sound (diminished by the distance between the source and the mic according to the inverse square law).
2. The point of reflection off the floor (depending upon the coordinates of the 2 points).
3. The amount of delay of the reflection.
4. The strength of the reflection (diminished by the greater distance).
5. The comb filter calculation (probably an adaptation of this) for the graph at the bottom.
I've never seen a handy tool for calculating this in this way. I'm not sure what programming language would be best.
|

Jul 18, '12, 11:04 am
|
 |
Regular Member
|
|
Join Date: June 19, 2012
Posts: 1,225
Religion: Roman Catholic
|
|
Re: Any computer programmers???
The first thing that comes to mind is the need for an object-oriented language; that seems essential. For example, you'll need objects for a sound source and the microphone. Could you draw a mockup of the window?
-Byrnwiga
|

Jul 18, '12, 3:58 pm
|
|
New Member
|
|
Join Date: June 22, 2010
Posts: 6
Religion: Roman Catholic
|
|
Re: Any computer programmers???
Well, an object oriented language is never essential, it is just easier for lots of people to program that way. My thoughts are that the floor will have to be assumed to be flat otherwise this will get really complicated. It should be fairly trivial to make a text based program where you enter the x, y, and z coordinates of the sound source and the microphone, and the other variables and do all the calculations from that, but it sounds like you want to have a graph and moveable 3D objects which I have never worked with before. However, I'd be willing to try to make it.
God bless you,
Andrew
|

Jul 18, '12, 4:51 pm
|
 |
Regular Member
|
|
Join Date: June 19, 2012
Posts: 1,225
Religion: Roman Catholic
|
|
Re: Any computer programmers???
Well, it's true that the program could be done in something like an assembly language, but for all intents and purposes (and our sanity) an OO language is the way to go.
Do you have any test data that can be used? (i.e. based on a certain size of room with certain coordinates and so forth).
In terms of the floor plan, are you thinking of a 2D representation with the coordinates entered into text fields? or is it an interactive object of sorts (i.e. click and drag)?
-Byrnwiga
|

Jul 18, '12, 7:29 pm
|
|
New Member
|
|
Join Date: July 12, 2011
Posts: 11
Religion: Catholic
|
|
Re: Any computer programmers???
I came across the simple language Processing. It resembles C/C++/Java, which I did for many years, and easily does graphics, so I think I have a handle on it. Just programmed the basics of moving the points around and calculating the reflection.
Yes, the floor is assumed to be flat. If I tried to take into account all that ideally should and could be taken into account, it would get much too complicated. This is mostly just to give a clue.
Thanks.
|

Jul 28, '12, 4:34 pm
|
|
New Member
|
|
Join Date: June 22, 2010
Posts: 6
Religion: Roman Catholic
|
|
Re: Any computer programmers???
Sorry I haven't gotten back to you yet. I'll probably try using java, since I have some experience in that and it will run on your computer without problems. Would you mind posting you existing code. I don't know much about accoustics so it would make it much easier for me. From what you said it sounds like the graph at the bottom is all you need? I've never done a graph like this before but my guess is it is done by drawing lines between points on the function.
God bless you,
Andrew
|
| Thread Tools |
Search Thread |
|
|
|
| Display |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
advertise with us
|