sox-users@lists.sourceforge.net unofficial mirror
 help / color / Atom feed
From: Jeff Learman <jjlearman@gmail.com>
To: sox-users@lists.sourceforge.net
Subject: SoX bug: smpl chunks deleted
Date: Thu, 7 May 2020 15:16:22 -0400
Message-ID: <CAGyjer44bJV1yNxvV_MWpkHa1vpAHRLte_=kp0fNaJRwjZKrEw@mail.gmail.com> (raw)


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

I noticed that when converting stereo sample files to mono, the 'smpl'
chunks (which encode loop information used by sample players), SoX omits
the 'smpl' chunk in the output file.

For example,

sox input.wav -c 1 output.wav

sums a stereo input.wav to a mono output.wav.  However, the 'smpl' chunk in
input.wav is discarded.

I have a workaround; I wrote code to extract the smpl chunk and append it
to the output.  But it would be nice if 'smpl' chunks were supported by
default, at least for the easy cases.  (I realize it could be difficult or
impossible for many cases.)

What's the best way to file a bug report?

BTW I'm new here.  SoX RoX!

Thanks,
Jeff

[-- Attachment #1.2: Type: text/html, Size: 937 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 index

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-07 19:16 Jeff Learman [this message]
2020-05-08 14:59 ` Måns Rullgård

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='CAGyjer44bJV1yNxvV_MWpkHa1vpAHRLte_=kp0fNaJRwjZKrEw@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

sox-users@lists.sourceforge.net unofficial mirror

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

Example config snippet for mirrors

Newsgroups are available over NNTP:
	nntp://news.public-inbox.org/inbox.comp.audio.sox
	nntp://ou63pmih66umazou.onion/inbox.comp.audio.sox
	nntp://news.gmane.io/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.git