sox-users@lists.sourceforge.net unofficial mirror
 help / color / Atom feed
* Reversing earlier conversion
@ 2017-08-29 16:09 Sebastian Thörn
  2017-08-30 11:38 ` Jan Stary
  0 siblings, 1 reply; 2+ messages in thread
From: Sebastian Thörn @ 2017-08-29 16:09 UTC (permalink / raw)
  To: sox-users

[-- Attachment #1.1: Type: text/plain, Size: 366 bytes --]

Hello, i found an old script that converted some files that i think was in
wav,
I'd like to convert them back.
The files now has the ending pcm64a if that helps.

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

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

Br
Sebastian

[-- Attachment #1.2: Type: text/html, Size: 544 bytes --]

<div dir="ltr"><div>Hello, i found an old script that converted some files that i think was in wav,</div><div>I&#39;d like to convert them back.</div><div>The files now has the ending pcm64a if that helps.</div><div><br></div><div>this is the script:</div>sox &quot;$src&quot; -t raw -r 8000 -c1 -A &quot;$dst&quot; resample -ql<div>I think this was for sox: Version 12.18.1</div><div><br></div><div>what would be the &quot;reverse&quot; version of this in a current version of sox?</div><div><br></div><div>Br</div><div>Sebastian</div></div>

[-- Attachment #2: Type: text/plain, Size: 202 bytes --]

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

[-- Attachment #3: Type: text/plain, Size: 158 bytes --]

_______________________________________________
Sox-users mailing list
Sox-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Reversing earlier conversion
  2017-08-29 16:09 Reversing earlier conversion Sebastian Thörn
@ 2017-08-30 11:38 ` Jan Stary
  0 siblings, 0 replies; 2+ messages in thread
From: Jan Stary @ 2017-08-30 11:38 UTC (permalink / raw)
  To: sox-users

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-29 16:09 Reversing earlier conversion Sebastian Thörn
2017-08-30 11:38 ` Jan Stary

sox-users@lists.sourceforge.net unofficial mirror

Archives are clonable: git clone --mirror https://public-inbox.org/sox-users

Newsgroups are available over NNTP:
	nntp://news.public-inbox.org/inbox.comp.audio.sox
	nntp://ou63pmih66umazou.onion/inbox.comp.audio.sox
	nntp://news.gmane.org/gmane.comp.audio.sox

 note: .onion URLs require Tor: https://www.torproject.org/

AGPL code for this site: git clone https://public-inbox.org/ public-inbox