sox-users@lists.sourceforge.net unofficial mirror
 help / color / mirror / code / Atom feed
From: Jan Stary <hans@stare.cz>
To: sox-users@lists.sourceforge.net
Subject: Re: Reversing earlier conversion
Date: Wed, 30 Aug 2017 13:38:36 +0200	[thread overview]
Message-ID: <20170830113835.GA65612@www.stare.cz> (raw)
In-Reply-To: <CAKFSE1mGGT5FE0Ax0OAjQaLqDHuUH3tchhPud4tdhLLF7Qt2Gg@mail.gmail.com>

On Aug 29 18:09:56, elefantungen@gmail.com wrote:
> Hello, i found an old script that converted some files that i think was in
> wav,
> I'd like to convert them back.

Why?

It may not be entirely possible, in the sense of
getting back the exact copy of what you had before.
(On the other hand, just slapping a WAV header to them is trivial.)

> The files now has the ending pcm64a if that helps.

That's not any of the formats mentioned in soxformat(7),
but the person who named them so probably meant to indicate
the format with that suffix. Probably PCM, maybe 64kbps,
using the a-law encoding? (this is entirely speculation of course.)

> this is the script:
> sox "$src" -t raw -r 8000 -c1 -A "$dst" resample -ql
> I think this was for sox: Version 12.18.1

That is definitely not the entire script.
Post the whole thing if you want people to know
what your script actually did.

If the script worked, the $src must have been some
self-describing format; the output is a one-channel, 8kHz
stream of "-A" samples - the "-A" option is no longer present in SoX,
but I believe it meant A-law in the 12.x.y days

> what would be the "reverse" version of this in a current version of sox?

Without knowing what the original format was, and what exactly
the script did to it, what does this question even mean?

	Jan


------------------------------------------------------------------------------
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

      reply	other threads:[~2017-08-30 11:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-29 16:09 Reversing earlier conversion Sebastian Thörn
2017-08-30 11:38 ` Jan Stary [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.sourceforge.net/lists/listinfo/sox-users

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170830113835.GA65612@www.stare.cz \
    --to=sox-users@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/sox.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).