java - Byte Array to Double Array -
i have array of bytes representing data .wav file. want convert array of doubles, can operations such fft on determine whether 1 file contained in other.
right now, cast bytes doubles, gives me decent results, not precise like. know improper conversion, , feel causing me miss data, because of difference in bytes , doubles represent.
how can convert byte array double array before doing fft correlation?
if each byte represents signed 8-bit sample value, data has been lost when sample recorded, , there nothing improper or imprecise casting double
(which can accurately represent values byte
can) - there isn't else can do.
Comments
Post a Comment