This repository a collection of files:
- An application that converts anything to a wave file
- An application that converts anything to a BMP image
- A script to call this application every time a file was changed
All this applications together are used to play textures. Normally I also use GIMP and VLC / aplay.
cd src
make
cp src/towav ~/bin/.
cp script/update.sh ~/bin/.
Performance overview:
- Open an image with GIMP and edit it.
- Export the image as BMP in GIMP using
Ctrl + E
- Use the update.sh script to monitor changes in Texture.bmp
- Update.sh will use towav to convert Textures.bmp to Textures.bmp.wav
- Use VLC in loop mode to keep Textures.bmp.wav playing forever. Yes, it can glitch...
Some instructions to perform:
- Open a first terminal and run
gimp Textures.bmp
- Open a second terminal and run
./update.sh Textures.bmp
- Open a third terminal and run
vlc --loop Textures.bmp.wav
orwhile [ true ] ; do aplay -q Textures.bmp.wav ; done
Sound example created with Wallace Roza texture image
Old example runing without the automatic script
Linux dmesg (kernel log) to imagem and to sound
Have fun!