Answers.Body: <p>Assuming that the expression &quot;quantifying high/medium SNR signals&quot; of &quot;two kind of specific bird sounds&quot; implies that the signals have unique characteristics that allow discrimination between the sound types and between the signals of interest and the rest of the world, the most promising method are matched filters <a href="https://en.wikipedia.org/wiki/Matched_filter" rel="nofollow noreferrer">See here</a>.</p>
  <p>Practically, you correlate (filter) your data with a snippet of the time-reversed time series of the sound of interest. The resulting vector will peak when there is a good match between data and signal of interest. The processing gain is proportional to the time-bandwidth product of the signal, which means, it does not work so good for constant tonals (little bandwidth) or impulses (little time duration).</p>
  <p>If the data are too long for efficient correlation, then there is the &quot;spectrogram correlation&quot;, which takes a fraction of the spectrogram as replica to processes the data in the spectral domain. Keyword for searching the literature is &quot;spectrogram correlation&quot;. It is used frequently in automated underwater sound detection (dolphin whistles and baleen whale calls). AFAIK, Raven should have the spectrogram correlation implemented.</p>
  <p>In recent years, spectrogram-based detections are frequently the base of Convolutional Neural Networks, so it is worth looking into it.</p>
  <p>Re ohun or other software packages, however, I'm of little help, and someone else must step in.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-03-07T17:06:07.820Z
Answers.Text: Thank you for this response, and apologies for my delay as I put this part of this project down while analyzing other data. Since my sounds are quite short (a loud but quick snapping sound), I'm not sure matched filters will be the method unless I'm mistaken. But spectrogram-based detections I think might work and I am looking into CNNs. I welcome any other thoughts and thank you for your help. Currently looking at Open Soundscape and Specky and trying to see what the pros and cons are
Answers.UserDisplayName: ksh530
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-12-05T07:27:42.903Z
Answers.LastActivityDate: 2022-12-05T07:27:42.903Z
Answers.UserDisplayName: WMXZ
Body: <p>Related to my recent <a href="https://bioacoustics.stackexchange.com/q/1252/73">post</a>, I am working on finding a way to 1) diagnose the presence of two kinds of specific bird sounds throughout my hundreds of hours of audio data, and perhaps to 2) analyze the success of my detection routine. I am aware of R package ohun as a great option for both of these, but due to problems and the lack of information about it online, I am considering using a different process for sound detection.</p>
  <p>I have access Raven 1.6 Pro but have not yet used it for sound detection - wondering if it is a good option and if there is a recommended approach? The sounds I’m trying to detect have a relatively high signal-to-noise ratio and are quite easily visualized in my spectrograms. For each of the sites at which I recorded audio of the birds (so for each of my sound files), I will have a specific threshold at which these sounds are made by the relevant focal birds and will need to be &quot;included&quot;, while other sounds of this type that are the same sound, but quieter, will need to be discounted. Again, ohun provides great ways to do this, but I might need a backup plan. Feel free to ask questions since I am not sure what information about my data is relevant to my sound analysis decisions.</p>
  <p>I would love to hear from folks who 1) have suggestions for how I might quantify high/medium SNR sounds from many hours of data or those who 2) have used ohun successfully and would be willing to chat about troubleshooting.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-11-30T03:12:09.190Z
Comments.Text: Just to mention some other options: Arbimon (run by Rainforest Connection) is a free, no-code platform with pattern matching & random forest algorithms. I have had decent success using this. Kaleidoscope (run by Wildlife Acoustics) is another common bioacoustics software and has a cluster function for ID'ing sounds. But this is a bit more expensive (couple hundred dollars). I've tried it out but didn't have quite as much success for my particular use case. I have not tried Raven for detection, but I know others have used the band-limited entropy detector.
Comments.UserDisplayName: Carly Batist
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-11-30T21:31:33.743Z
Comments.Text: Thank you for the ideas, I will look into these!
Comments.UserDisplayName: ksh530
Tags: <analysis><automated-detection><raven><ohun>
Title: Advice on the best methods for quantifying high-medium SNR bird sounds
ThreadText: # Advice on the best methods for quantifying high-medium SNR bird sounds
  
  (Asked by: username_0 on 2022-11-29)
  
  Related to my recent [post](https://bioacoustics.stackexchange.com/q/1252/73), I am working on finding a way to 1) diagnose the presence of two kinds of specific bird sounds throughout my hundreds of hours of audio data, and perhaps to 2) analyze the success of my detection routine. I am aware of R package ohun as a great option for both of these, but due to problems and the lack of information about it online, I am considering using a different process for sound detection.
  
  I have access Raven 1.6 Pro but have not yet used it for sound detection - wondering if it is a good option and if there is a recommended approach? The sounds I’m trying to detect have a relatively high signal-to-noise ratio and are quite easily visualized in my spectrograms. For each of the sites at which I recorded audio of the birds (so for each of my sound files), I will have a specific threshold at which these sounds are made by the relevant focal birds and will need to be "included", while other sounds of this type that are the same sound, but quieter, will need to be discounted. Again, ohun provides great ways to do this, but I might need a backup plan. Feel free to ask questions since I am not sure what information about my data is relevant to my sound analysis decisions.
  
  I would love to hear from folks who 1) have suggestions for how I might quantify high/medium SNR sounds from many hours of data or those who 2) have used ohun successfully and would be willing to chat about troubleshooting.
  
  **Tags:** analysis, automated-detection, raven, ohun
  
  > **Comments:**
  > **username_1**: Just to mention some other options: Arbimon (run by Rainforest Connection) is a free, no-code platform with pattern matching & random forest algorithms. I have had decent success using this. Kaleidoscope (run by Wildlife Acoustics) is another common bioacoustics software and has a cluster function for ID'ing sounds. But this is a bit more expensive (couple hundred dollars). I've tried it out but didn't have quite as much success for my particular use case. I have not tried Raven for detection, but I know others have used the band-limited entropy detector.  
  > **username_0**: Thank you for the ideas, I will look into these!  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2022-12-05. Score: 2
  
  Assuming that the expression "quantifying high/medium SNR signals" of "two kind of specific bird sounds" implies that the signals have unique characteristics that allow discrimination between the sound types and between the signals of interest and the rest of the world, the most promising method are matched filters [See here](https://en.wikipedia.org/wiki/Matched_filter).
  
  Practically, you correlate (filter) your data with a snippet of the time-reversed time series of the sound of interest. The resulting vector will peak when there is a good match between data and signal of interest. The processing gain is proportional to the time-bandwidth product of the signal, which means, it does not work so good for constant tonals (little bandwidth) or impulses (little time duration).
  
  If the data are too long for efficient correlation, then there is the "spectrogram correlation", which takes a fraction of the spectrogram as replica to processes the data in the spectral domain. Keyword for searching the literature is "spectrogram correlation". It is used frequently in automated underwater sound detection (dolphin whistles and baleen whale calls). AFAIK, Raven should have the spectrogram correlation implemented.
  
  In recent years, spectrogram-based detections are frequently the base of Convolutional Neural Networks, so it is worth looking into it.
  
  Re ohun or other software packages, however, I'm of little help, and someone else must step in.
  
  > **Comments:**
  > **username_0**: Thank you for this response, and apologies for my delay as I put this part of this project down while analyzing other data. Since my sounds are quite short (a loud but quick snapping sound), I'm not sure matched filters will be the method unless I'm mistaken. But spectrogram-based detections I think might work and I am looking into CNNs. I welcome any other thoughts and thank you for your help. Currently looking at Open Soundscape and Specky and trying to see what the pros and cons are  
  
  ---
  
  