sox-users@lists.sourceforge.net unofficial mirror
 help / color / mirror / code / Atom feed
From: Danijel DOMAZET <p-danijel.domazet@devialet.com>
To: sox-users@lists.sourceforge.net
Subject: manualy setting output as for .s32 extension
Date: Fri, 21 Aug 2020 14:33:24 +0200	[thread overview]
Message-ID: <CAB+hYN2qH1-A78C9Cg8TuJaUpMEv2Pzf5C3PWnu58jF0__YnWQ@mail.gmail.com> (raw)


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

Hi SoX users,

This command works for me:
1) sox --channels 1 --rate 48000 in_signal.wav in_signal.s32

Now, I'd like to change the output filename extension. In that case SoX
can't deduce the format from the extension, so I have to tell it the
details. I tried the following line:
2) sox --bits 32 --channels 1 --encoding signed-integer --rate 48000
in_signal.wav --type raw in_signal.q31

However, I am not getting the same output as using the first command.

What's done wrong in the second command?

Cheers,
Danijel Domazet

-- 
- Confidential -

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

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



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

             reply	other threads:[~2020-08-21 13:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-21 12:33 Danijel DOMAZET [this message]
2020-08-21 13:37 ` manualy setting output as for .s32 extension Måns Rullgård
2020-08-21 14:15 ` Jan Stary

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=CAB+hYN2qH1-A78C9Cg8TuJaUpMEv2Pzf5C3PWnu58jF0__YnWQ@mail.gmail.com \
    --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).