Answers.Body: <p>First I would add a 5th microphone, so that the maths are simpler.
  (edit: <a href="https://bioacoustics.stackexchange.com/questions/74/what-are-the-minimum-number-of-micro-hydro-phones-needed-to-perform-3d-tracking">what are the minimum number of micro/hydro-phones needed to perform 3d tracking?</a>)</p>
  <p>I would measure (as precise as you can; e.g. with a laser) the separation between each pair of microphones and the distance from multiple reference points.</p>
  <p>Then we need a little bit of maths to solve the multiple measurements together with the dime delays into a source location.</p>
  <p>Traditionally, if the locations are known as x,y,z then maths is straight forward and discussed also in this SE. The interesting aspect is to use measured microphone distances to estimate also microphone locations. I have not done that yet but may try.</p>
  <p>Edit: it all translates to triangular geometry</p>
  <p>Edit2: here comes a basic outline of the procedure</p>
  <p><a href="https://i.sstatic.net/tfEb4.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/tfEb4.png" alt="enter image description here" /></a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-07-15T18:25:03.503Z
Answers.LastActivityDate: 2022-07-17T08:56:27.977Z
Answers.LastEditDate: 2022-07-17T08:56:27.977Z
Answers.UserDisplayName: WMXZ
Answers.Body: <p>Sounds like a neat system, all the best!!</p>
  <p>To localise sounds, you need the time-difference-of-arrivals across channels. If your direct path is the strongest, then normally simple cross-correlations are enough, the peaks can then be used to find the 3d position of the birds. The math required to the positions are in the answers to the question pointed out by @WMXZ.</p>
  <p>I wouldn't really bother with temperature, humidity and other such weather measurements. Yes, sure it will affect localisation through the speed of sound, but I've done this broad comparison of with and without detailed weather data and remember at most 1-5% range difference.</p>
  <p>The attenuation of sound for birdsong type frequencies is almost negligible over short distances (esp. in comparison to attenuation for ultrasound). For a more detailed reference on weather conditions' effects on sound speed and attenuation check out Goerlitz 2018 (<a href="https://onlinelibrary.wiley.com/doi/full/10.1002/ece3.4088" rel="noreferrer">link</a>)</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-07-15T20:04:31.743Z
Answers.LastActivityDate: 2022-07-16T08:22:49.213Z
Answers.LastEditDate: 2022-07-16T08:22:49.213Z
Answers.UserDisplayName: Thejasvi
Answers.Body: <p>To address one of your side questions re: precise localization using a microphone dangling from a tree. You can take efforts to minimize movement of this microphone. If suspended by a rope, you can consider:</p>
  <ul>
  <li>Attach rope onto something more stiff to minimize movement (such as a stick, stiff garden hose)</li>
  <li>Have &gt; 1 attachment point ('anchored' by 3 attachment points)</li>
  <li>Have a small weight attached to the bottom so that it requires more force to move it</li>
  </ul>
  <p>You can also measure the amount of movement using an accelerometer.</p>
  <p>[I also wonder if you can attach a phone to the recorder and use the internal accelerometer to measure the amount of movement of the recorder]</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-07-16T17:09:24.353Z
Answers.Text: Yes, any effort to control measurement or to reconstruct configuration is useful
Answers.UserDisplayName: WMXZ
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-07-16T13:27:49.650Z
Answers.LastActivityDate: 2022-07-16T13:27:49.650Z
Answers.UserDisplayName: Shannon
Body: <p>In winter, I can usually hear one or two birds in an area, and I occasionally see them flitting through the air – but it's usually too dark to see them except in motion, silhouetted against the sky. This winter, I want to see if I can pinpoint some noisy birds without waiting for them to move, and hopefully photograph them.</p>
  <p>I can place four microphones of varying quality in a sort of irregular tetrahedron shape, three in boxes on the ground and one on a deciduous tree. The microphones aren't very directional, but I can calibrate their frequency response.</p>
  <p><a href="https://i.sstatic.net/hdKTR.png" rel="noreferrer"><img src="https://i.sstatic.net/hdKTR.png" alt="A beautiful, fully photorealistic depiction of the microphones: three on the ground, and one in a tree." /></a></p>
  <p>Assuming I've got nearly-synchronised feeds from these microphones, how could I use this data to identify the source location of the sound? My basic idea would be to use the timing and loudness data to construct two sets of four spheres, then see where they all approximately intersect. The wind in winter can affect sound propagation enough for me to hear it, which I expect would throw this off. There would also be echoes off the ground, and nearby buildings, which I don't know how to compensate for. I've heard of tricks related to frequency-dependent attenuation, but judging by how hard I find it to locate birdsong with my two ears and brain, I don't think this works well with chirping sounds.</p>
  <p>I can add a couple more mics (repurposed headphone speakers, so lower-quality), a digital thermometer, and possibly a crude (handmade, indirectly-calibrated) anemometer to the setup, if it'd help.</p>
  
Tags: <localisation><experiment-design><birdsong><air><amateur>
Title: Locating birds by their calls with improvised equipment. Can algorithms rescue this setup?
ThreadText: # Locating birds by their calls with improvised equipment. Can algorithms rescue this setup?
  
  (Asked by: username_0 on 2022-07-15)
  
  In winter, I can usually hear one or two birds in an area, and I occasionally see them flitting through the air – but it's usually too dark to see them except in motion, silhouetted against the sky. This winter, I want to see if I can pinpoint some noisy birds without waiting for them to move, and hopefully photograph them.
  
  I can place four microphones of varying quality in a sort of irregular tetrahedron shape, three in boxes on the ground and one on a deciduous tree. The microphones aren't very directional, but I can calibrate their frequency response.
  
  [![A beautiful, fully photorealistic depiction of the microphones: three on the ground, and one in a tree.](https://i.sstatic.net/hdKTR.png)](https://i.sstatic.net/hdKTR.png)
  
  Assuming I've got nearly-synchronised feeds from these microphones, how could I use this data to identify the source location of the sound? My basic idea would be to use the timing and loudness data to construct two sets of four spheres, then see where they all approximately intersect. The wind in winter can affect sound propagation enough for me to hear it, which I expect would throw this off. There would also be echoes off the ground, and nearby buildings, which I don't know how to compensate for. I've heard of tricks related to frequency-dependent attenuation, but judging by how hard I find it to locate birdsong with my two ears and brain, I don't think this works well with chirping sounds.
  
  I can add a couple more mics (repurposed headphone speakers, so lower-quality), a digital thermometer, and possibly a crude (handmade, indirectly-calibrated) anemometer to the setup, if it'd help.
  
  **Tags:** localisation, experiment-design, birdsong, air, amateur
  
  
  ---
  
  ## 3 answers
  
  ### Answer by username_1 on 2022-07-15. Score: 7
  
  First I would add a 5th microphone, so that the maths are simpler.
  (edit: [what are the minimum number of micro/hydro-phones needed to perform 3d tracking?](https://bioacoustics.stackexchange.com/questions/74/what-are-the-minimum-number-of-micro-hydro-phones-needed-to-perform-3d-tracking))
  
  I would measure (as precise as you can; e.g. with a laser) the separation between each pair of microphones and the distance from multiple reference points.
  
  Then we need a little bit of maths to solve the multiple measurements together with the dime delays into a source location.
  
  Traditionally, if the locations are known as x,y,z then maths is straight forward and discussed also in this SE. The interesting aspect is to use measured microphone distances to estimate also microphone locations. I have not done that yet but may try.
  
  Edit: it all translates to triangular geometry
  
  Edit2: here comes a basic outline of the procedure
  
  [![enter image description here](https://i.sstatic.net/tfEb4.png)](https://i.sstatic.net/tfEb4.png)
  
  
  ---
  
  ### Answer by username_2 on 2022-07-15. Score: 6
  
  Sounds like a neat system, all the best!!
  
  To localise sounds, you need the time-difference-of-arrivals across channels. If your direct path is the strongest, then normally simple cross-correlations are enough, the peaks can then be used to find the 3d position of the birds. The math required to the positions are in the answers to the question pointed out by @username_1.
  
  I wouldn't really bother with temperature, humidity and other such weather measurements. Yes, sure it will affect localisation through the speed of sound, but I've done this broad comparison of with and without detailed weather data and remember at most 1-5% range difference.
  
  The attenuation of sound for birdsong type frequencies is almost negligible over short distances (esp. in comparison to attenuation for ultrasound). For a more detailed reference on weather conditions' effects on sound speed and attenuation check out Goerlitz 2018 ([link](https://onlinelibrary.wiley.com/doi/full/10.1002/ece3.4088))
  
  
  ---
  
  ### Answer by username_3 on 2022-07-16. Score: 4
  
  To address one of your side questions re: precise localization using a microphone dangling from a tree. You can take efforts to minimize movement of this microphone. If suspended by a rope, you can consider:
  
  * Attach rope onto something more stiff to minimize movement (such as a stick, stiff garden hose)
  * Have > 1 attachment point ('anchored' by 3 attachment points)
  * Have a small weight attached to the bottom so that it requires more force to move it
  
  You can also measure the amount of movement using an accelerometer.
  
  [I also wonder if you can attach a phone to the recorder and use the internal accelerometer to measure the amount of movement of the recorder]
  
  > **Comments:**
  > **username_1**: Yes, any effort to control measurement or to reconstruct configuration is useful  
  
  ---
  
  