Shailendra,

Glitching images seems like a cool idea and has me curious: what do you use this for? Are you hiding audio messages in images, as in steganography?

Thanks.

On Sat, May 5, 2018 at 7:13 AM, Måns Rullgård <mans@mansr.com> wrote:
Shailendra Paliwal <beingshailendra@gmail.com> writes:

> Hello,
>
> I found sox as a command-line equivalent of Audacity. I was wondering how
> can I glitch images like the way I can using Audacity.
>
> On audacity the usual modus operandi is,
>
>    1. Use Audacity > File > Import > Raw Data, to import a BMP image file.
>    2. Set the encoding to U-Law or A-Law.
>    3. Apply audio effects to the track.
>    4. Export Audio, set Save As Type > Other Uncompressed Files
>    5. Header > RAW (header-less) and Encoding > whichever selected in (2)
>    6. Rename to BMP
>
> I was wondering if the same method can be used with sox. That way I can
> make shell scripts to glitch images or even thousands of frames in a video.

Yes, this can be done.  Try something like this:

$ sox -t ul -c 1 -r 48k input -t ul output effects...

--
Måns Rullgård

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Sox-users mailing list
Sox-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users