I want to verify that if a audio (.wav or any format) file is original or edited. How can it possible in python?

Here, "edited" means modification of audio file using software.

For example, for an investigation purpose I get a audio file for an evidence. I want it to verify that is it original or edited. If not possible then give me hint that what are the possible ways?

Thanks in advance.


closed as too broad by A_A, Marcus Müller, lennon310, MBaz, Stanley Pawlukiewicz Jun 24 at 17:51

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 2
    $\begingroup$ The way this question is phrased makes it a bit too broad. For example, how is "edited" defined? Would a deep fake count as "edited"? Would you want to know where the file was edited? Are we talking about music or speech? Talking a bit more about these things in your question would help in providing a more specific (and shorter) answer. $\endgroup$ – A_A Jun 24 at 5:14
  • $\begingroup$ I'm voting to close this question as off-topic because it is more of a cryptography question than a signal processing one $\endgroup$ – Stanley Pawlukiewicz Jun 24 at 17:51
  • $\begingroup$ It is a signal processing question, but it's too poorly defined. $\endgroup$ – endolith Jun 24 at 21:10

what you are describing is equivalent to a man-in-the-middle network attack.

https://en.m.wikipedia.org/wiki/Man-in-the-middle_attack .

If the original file was watermarked, that would offer the possibility of some authentication.

Unless the individual who edited the file was inept, I don’t believe that you can in general detect the difference.


Not the answer you're looking for? Browse other questions tagged or ask your own question.