I have an audio file that I read with [tabread~]). The audio starts with some silence and I am trying to find the first non silent sample index.

I have tried to use [bonk~], [fiddle~] or [sigmund~] but the results were approximate and not constants.

Does anyone have a solution for this? Thanks.


enter image description here

  • Note that silence isn't necessarily zero - just very very low.
    – Linuxios
    Commented Jul 22, 2016 at 16:24
  • Absolutely. I have been suggested a simple solution. I just read the array until I find a value above or below a very low value. Simple ;^) So far it is working.
    – André
    Commented Jul 22, 2016 at 17:19
  • You can answer the question yourself if you have an answer.
    – n00dles
    Commented Aug 3, 2016 at 4:01
  • 1
    – André
    Commented Sep 10, 2016 at 21:46


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.