From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS6130 216.105.38.0/24 X-Spam-Status: No, score=-3.4 required=3.0 tests=AWL,BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS,T_DKIM_INVALID shortcircuit=no autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.sourceforge.net (lists.sourceforge.net [216.105.38.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id E74A3200B9 for ; Sun, 6 May 2018 12:18:50 +0000 (UTC) Received: from [127.0.0.1] (helo=sfs-ml-2.v29.lw.sourceforge.com) by sfs-ml-2.v29.lw.sourceforge.com with esmtp (Exim 4.90_1) (envelope-from ) id 1fFIcl-00080e-B5; Sun, 06 May 2018 12:18:43 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-2.v29.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1fFIcj-00080Y-PY for sox-users@lists.sourceforge.net; Sun, 06 May 2018 12:18:41 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Type:Cc:To:Subject:Message-ID:Date:From: References:In-Reply-To:MIME-Version:Sender:Reply-To:Content-Transfer-Encoding :Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=usuftd846tEEU7uZM7fcBWPmsuqedJmbkgP9ckHY79o=; b=Mj7XOpz9ZSdemLppOS3BvAex04 EORv3xG42+cVqVeo/AG+4Fg1/LneHoEMms/SSf90c0Z7aAM45TgCURstUVq4LHGfIW9x0dcTAN9Qa GMDREkaGOathcsJFjTjkMLyHK7IKoWkSj30CP+8iZcHjJM/m8E19a2EAGzsM75ZPy6bU=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Type:Cc:To:Subject:Message-ID:Date:From:References:In-Reply-To: MIME-Version:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=usuftd846tEEU7uZM7fcBWPmsuqedJmbkgP9ckHY79o=; b=aUqDHcp25d7zPbVdomSpUCCqPf vsQvBofkvgDLM6jE+m70lUpUX3cP1jagnc+WXVD6fh3g60k8xKHMdMixyjJain9o1l4WNeSjCFRQ+ QN4L6hcdAzih/wyrucXFjxHrV7o9h9WU6u/yfU+m5XnxQe/HKo/vVe5h+lJtsNKrF+uk=; Received: from mail-io0-f176.google.com ([209.85.223.176]) by sfi-mx-4.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.90_1) id 1fFIcg-00BgIF-B5 for sox-users@lists.sourceforge.net; Sun, 06 May 2018 12:18:41 +0000 Received: by mail-io0-f176.google.com with SMTP id a10-v6so30531424ioc.9 for ; Sun, 06 May 2018 05:18:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=usuftd846tEEU7uZM7fcBWPmsuqedJmbkgP9ckHY79o=; b=rwT+hng6/V4ZRlbDjQzL76GM/62bV81UpiDOZJt/dl8bChM6CDrX0AUnqnZqeFPz9b Vj+FBweOEuKthdJnTa/zFfT5SeG81RYE3K6TaScAGcE9YlFgYpm3DUS9dU2BGI0iD4uE SNcR+AxPMM6jgFDTDoOOJUwXKaOgRs/k8I516D08InDPZB1yEV46i4KFA77tyr+j8rR4 yMNPE87tySv2fn4G7KL0qvKJfS54zYc3Yd1ZfGHE8NlrTekbUJ6L49fhMDrOp89ERdbe 0NfvAJW7P/SET/9UFuIfeHTNup3+wG4ZKd4zWPAlelCJHTLsl97GDjIvkv1+GfytpUXi YEDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=usuftd846tEEU7uZM7fcBWPmsuqedJmbkgP9ckHY79o=; b=LE6OO/0vsIsTXcUDMAIcOVZAk6npoysGYvYse9lvxMK3HuhEUx1UF0Qe3+VaN5hlOH nnjV923DnCtM4jhvjBYdAQojX1lZKIdlBNKNktHlTg8dIUHchte/aosX/1pOW286VVVb 8nKVpcdOjmKXqmPYohPbZbiMDrtNbBn7FPsvgoD3VG388gPanCbKJeWNyyppA4iMPRO0 udptInmiWa/7wRIQFvmVPV7wJkg49WngPLukZS5WmbNAfc+trijsrASkUZ9Two3V7Eo8 aiIHhv2qbjg6Gi04Whz8kEuzy7G2bqTsszZAD8QExO5+9dqiWO/0Wor46K/h2dddriD2 hh/w== X-Gm-Message-State: ALQs6tDKthnbMv6eFmXwFFaHwqvJWHUMFCO0+F+OvwkpZeLG6CiBmbxA B1ajN+AJtZqqt0pvhMnpsXR5Q6T0ddKwoxx9Hrk= X-Google-Smtp-Source: AB8JxZooz19W4P0VkzNWCJYFSN3Ie1aEk5GL0OAxmHw1H6ZzBcAzDZoTN2ez7y3iK3LESO74jFS+6UEE4FscE/oyS9c= X-Received: by 2002:a6b:ed0:: with SMTP id 199-v6mr35069612ioo.170.1525609112457; Sun, 06 May 2018 05:18:32 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a02:4fcf:0:0:0:0:0 with HTTP; Sun, 6 May 2018 05:18:12 -0700 (PDT) In-Reply-To: References: From: Shailendra Paliwal Date: Sun, 6 May 2018 17:48:12 +0530 Message-ID: To: James Trammell X-Headers-End: 1fFIcg-00BgIF-B5 Subject: Re: Can I use sox to glitch images? X-BeenThere: sox-users@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: sox-users@lists.sourceforge.net Cc: sox-users@lists.sourceforge.net Content-Type: multipart/mixed; boundary="===============8198627527359079572==" Errors-To: sox-users-bounces@lists.sourceforge.net --===============8198627527359079572== Content-Type: multipart/alternative; boundary="00000000000036e03a056b888d6b" --00000000000036e03a056b888d6b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, May 6, 2018 at 4:03 PM, James Trammell wrote: > 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 steganograph= y? > Hello James, I don't have a use for it and so far it is only for recreation. Some of the artists I follow use this technique sometimes to play with images. Some of the music I like reminds me of the way Audacity bends images(I made short clips with Ryoji Ikeda's soundtracks, [1] and [2 ]) . I want to explore analog video synthesizers but don't have the money to invest in a setup right now so I thought I can explore digital ways for the idea. Although steganography like that is also an inviting idea. I think an esoteric mix of cryptography + machine learning + digital signal processing tools would make for some really interesting work. Best, Shailendra > Thanks. > > On Sat, May 5, 2018 at 7:13 AM, M=C3=A5ns Rullg=C3=A5rd = wrote: > >> Shailendra Paliwal 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 ca= n >> > 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=C3=A5ns Rullg=C3=A5rd >> >> ------------------------------------------------------------ >> ------------------ >> 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 >> > > --00000000000036e03a056b888d6b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Sun, May 6, 2018 at 4:03 PM, James Trammell <james.trammell@= gmail.com> wrote:
Shailendra,

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

I don't have a use for it and so far it is only = for recreation. Some of the artists I follow use this technique sometimes t= o play with images. Some of the music I like reminds me of the way Audacity= bends images(I made short clips with Ryoji Ikeda's soundtracks, [1] a= nd [2]) . I want to explore analog video synthesizers but don't have t= he money to invest in a setup right now so I thought I can explore digital = ways for the idea.

Although steganography like that is a= lso an inviting idea. I think an esoteric mix of cryptography + machine lea= rning + digital signal processing tools would make for some really interest= ing work.

Best,
Shailendra

Thanks.

On Sat, May 5, 2018 at 7:13 AM, M=C3=A5ns Rullg= =C3=A5rd <mans@mansr.com> wrote:
Shailendra Paliwal <beingshailendra@gma= il.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,
>
>=C2=A0 =C2=A0 1. Use Audacity > File > Import > Raw Dat= a, to import a BMP image file.
>=C2=A0 =C2=A0 2. Set the encoding to U-Law or A-Law.
>=C2=A0 =C2=A0 3. Apply audio effects to the track.
>=C2=A0 =C2=A0 4. Export Audio, set Save As Type > Other Uncompressed= Files
>=C2=A0 =C2=A0 5. Header > RAW (header-less) and Encoding > whiche= ver selected in (2)
>=C2=A0 =C2=A0 6. Rename to BMP
>
> I was wondering if the same method can be used with sox. That way I ca= n
> make shell scripts to glitch images or even thousands of frames in a v= ideo.

Yes, this can be done.=C2=A0 Try something like this:

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

--
M=C3=A5ns Rullg=C3=A5rd

-----------------------------------------------------------------= -------------
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-us= ers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listi= nfo/sox-users


--00000000000036e03a056b888d6b-- --===============8198627527359079572== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot --===============8198627527359079572== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Sox-users mailing list Sox-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sox-users --===============8198627527359079572==--