You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Python3.12's wave module now supports higher sample widths.
Locally, I managed to modify WavSteg.py so it can handle a 24 bit sample width44100Hz.wav file, with an lsb-count of 1.
Both hiding and recovering worked well.
My knowledge of python is limited and my tests were few, so I'd rather not submit the ugly fix I made as a pull request.
Here is a summary anyway: WavSteg.py: Both in hide_data() and recover_data()
If a sample_width of 3 is detected, change it to 4
I'll need to look over the scope of the change in wave and can take a pass at this the next chance I get.
The override of sample width from 3 to 4 seems a bit strange, but perhaps the code called is just interpreting the samples as (zero-padded) 32-bit values and then truncating back when saving.
Python3.12's wave module now supports higher sample widths.
Locally, I managed to modify WavSteg.py so it can handle a
24 bit sample width
44100Hz
.wav
file, with anlsb-count
of1
.Both hiding and recovering worked well.
My knowledge of python is limited and my tests were few, so I'd rather not submit the ugly fix I made as a pull request.
Here is a summary anyway:
WavSteg.py
: Both inhide_data()
andrecover_data()
If a sample_width of
3
is detected, change it to4
The
if
protecting the maximum sample_width must be changed as wellThe text was updated successfully, but these errors were encountered: