About the data :
we have 2 video files which are same and audio of these files is also same but they differ in quality.
that is one is in 128kbps and 320kbps respectively.
we have used ffmpeg to extract the audio from video, and generated the hash values for both the audio file using the code : ffmpeg -loglevel error -i 320kbps.wav -map 0 -f hash -
the output was : SHA256=4c77a4a73f9fa99ee219f0019e99a367c4ab72242623f10d1dc35d12f3be726c
similarly we did it for another audio file to which we have to compare ,
C:\FFMPEG>ffmpeg -loglevel error -i 128kbps.wav -map 0 -f hash -
SHA256=f8ca7622da40473d375765e1d4337bdf035441bbd01187b69e4d059514b2d69a
Now we know that these audio files and hash values are different but we want to know how much different/similar they are actually , for eg: like some distance in  a-b is say 3
can someone help with this?
You cannot use a SHA256 hash for this. This is intentional. It would weaken the security of the hash if you could. what you suggest is akin to differential cryptoanalysis. SHA256 is a modern cryptographic hash, and designed to be safe against such attacks.
how do we check similarity between hash values of two audio files in python?