When using the --noise function it makes the decoder not work properly.
python3 ToneCrypt.py --mode decrypt --input Tests/Audio/1000words.wav --output tests --key testkey -V Decoding WAV file Tests/Audio/1000words.wav... Noise detected and reduced with median filter. First 20 detected frequencies: [np.float64(1033.59375), np.float64(4995.703125) , np.float64(172.265625), np.float64(172.265625), np.float64(1033.59375), np.float64(4995.703125), np.float64(1033.59375), np.float64(1033.59375), np.float64(1033.59375), np.float64(4995.703125), np.float64(1033.59375), np.float64(1033.59375), np.float64(1033.59375), np.float64(4995.703125), np.float64(1033.59375), np.float64(1033.59375), np.float64(344.53125), np.float64(4995.703125), np.float64(1033.59375), np.float64(1033.59375)] First 64 bits: 0011000000110000001100000011000000110000000000000000000100000011 First 16 bytes: [48, 48, 48, 48, 48, 0, 1, 3, 10, 48, 0, 0, 0, 112, 99, 112] Error in Reed-Solomon decoding: Too many (or few) errors found by Chien Search for the errata locator polynomial! Raw recovered bitstream saved to Tests/Audio/1000words_recovered_bits.bin Partial recovery: output may be incomplete or corrupted. Recovered data does not appear to be a valid binary string. Manual inspection m ay be required. Input to binary_to_folder is not valid bytes. Aborting file restoration.
When using the --noise function it makes the decoder not work properly.
python3 ToneCrypt.py --mode decrypt --input Tests/Audio/1000words.wav --output tests --key testkey -V Decoding WAV file Tests/Audio/1000words.wav... Noise detected and reduced with median filter. First 20 detected frequencies: [np.float64(1033.59375), np.float64(4995.703125) , np.float64(172.265625), np.float64(172.265625), np.float64(1033.59375), np.float64(4995.703125), np.float64(1033.59375), np.float64(1033.59375), np.float64(1033.59375), np.float64(4995.703125), np.float64(1033.59375), np.float64(1033.59375), np.float64(1033.59375), np.float64(4995.703125), np.float64(1033.59375), np.float64(1033.59375), np.float64(344.53125), np.float64(4995.703125), np.float64(1033.59375), np.float64(1033.59375)] First 64 bits: 0011000000110000001100000011000000110000000000000000000100000011 First 16 bytes: [48, 48, 48, 48, 48, 0, 1, 3, 10, 48, 0, 0, 0, 112, 99, 112] Error in Reed-Solomon decoding: Too many (or few) errors found by Chien Search for the errata locator polynomial! Raw recovered bitstream saved to Tests/Audio/1000words_recovered_bits.bin Partial recovery: output may be incomplete or corrupted. Recovered data does not appear to be a valid binary string. Manual inspection m ay be required. Input to binary_to_folder is not valid bytes. Aborting file restoration.