- Home /
Is There A way For unity to Determine If Audio Was Recorded Backwards
Is it possible in unity to determine if the audio of a .wav file was recorded backwards in C# I know I can play an audio clip backwards but I'm wondering if there is a way to determine if the audio was recorded backwards to begin with so I could execute the reverse play of that audio if it was determined to be backwards.
I mean I can preset some bools to fake the "Knowing" part but it would be much better if I could play an audio clip and somehow determine if it was or was not originally recorded backwards to hide a hidden message and then execute stuff based on the "Real" clip information.
I'm not sure if that is even possible in unity??
Anybody remember "Twin Peaks"...? The Red Room was an entire sequence several $$anonymous$$utes long that actors learned to walk and speak "backwards", which was then reversed prior to broadcast: https://youtu.be/E_q7rZJlj$$anonymous$$Y
But how would you know?
Answer by Bunny83 · Dec 21, 2016 at 05:13 PM
No, just no. That's even almost impossible outside of Unity. It completely depends on what that audio actually contains. You know, 10 seconds silence is also audio, is it reverse silence or not? A sine-wave sounds and looks exactly the same when reversed. It's only some fine subjective details which our human brain could detect as "wrong".
I said almost in the beginning since there are a few edge cases where it's kind of possible but you have to know something about the audio. For example if it's spoken text then an voice recognition algorithm could try to convert the audio into text. You can try it either way and see what gives the better output.
Though such recognition algorithms are extremely complex / complicated. For generic sounds, how would you decide if it's right or wrong? The sound of a car that comes closer is getting louder and louder while the sound of a beaten drum has a sharp loud peak which then quickly fades away. If you have no idea what the audio contains there's absolutely no way to determine if it's played backwards.
O$$anonymous$$ Thanks @Bunny83, I was not really sure about that. I guess I can just sort of wing it by making a human guess and just have the audio play backwards to see if there is a hidden message recorded in reverse.... I just figured it would be WAY cool if there was somehow a way to deter$$anonymous$$e that by looking at the R$$anonymous$$S or spectrum data... I wonder if there is a way to deter$$anonymous$$e if the recording was "gibberish" as that might give the machine some sort of clue?
Your answer
Follow this Question
Related Questions
Keep playing audio on android even if screen dim or sleep 0 Answers
I need the sound of clothes to play when the camera rotates. 2 Answers
Audio listener to mono then to left or right speaker? 2 Answers
How can I play audio clips depending on the players movement 0 Answers
How to load audio from server url 1 Answer