A simple image to sound conversion python script.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kira1752 6102a4917b Update 'LICENSE' пре 5 година
LICENSE Update 'LICENSE' пре 5 година
README.md Updating usage help in readme file and tidy up some character пре 5 година
simtsou.py Update rotate help option command line option for better explanation of why this feature exist on first place пре 5 година

README.md

Simtsou

A simple image to sound conversion python script. For now, this script only support output to .wav audio format only (which is lossless audio format). More lossless audio format will coming soon in future version. Its recommended to use lossless picture format for better quality output :)

Usage help: usage: simtsou.py [-h] [-r] [-i] [-o OUTPUT] [-b BOTTOM] [-t TOP] [-p PIXELS] [-s SAMPLING] INPUT_FILE

positional arguments:
    INPUT_FILE                              Name of the image to be converted.

optional arguments:
    -h, --help                              show this help message and exit.

    -r, --rotate                            Rotate image 90 degrees for more sexy spectograph looks and sound.

    -i, --invert                            Invert image colors.

    -o OUTPUT, --output OUTPUT              Name of the output wav file. Default value: out.wav.

    -b BOTTOM, --bottom BOTTOM              Bottom frequency range. Default value: 200.

    -t TOP, --top TOP                       Top frequency range. Default value: 20000.

    -p PIXELS, --pixels PIXELS              Pixels per second. Default value: 30.

    -s SAMPLING, --sampling SAMPLING        Sample rate. Default value: 44100.