From: Jan Stary <hans@stare.cz>
To: sox-users@lists.sourceforge.net
Subject: specifying format of RAW files
Date: Fri, 10 Nov 2017 14:30:44 +0100 [thread overview]
Message-ID: <20171110133044.GA14739@www.stare.cz> (raw)
When playing RAW audio files, the specified format seems to
only take effect for the first file. Subsequent files fail
to play because of unspecified rate etc.
$ play -c 1 -r 48000 -e float -b 32 pcm1.raw # OK
$ play -c 1 -r 48000 -e float -b 32 pcm2.raw # OK
$ play -c 1 -r 48000 -e float -b 32 pcm*.raw
play FAIL formats: bad input format for file `pcm2.raw':
sampling rate was not specified
Is this intended, or should the specified format be used
for the subsequent files as well?
(That would probably not make sense for self-describing formats:
$ play -c 1 -r 48000 -e float -b 32 pcm1.raw file.wav file.mp3 )
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
next reply other threads:[~2017-11-10 13:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-10 13:30 Jan Stary [this message]
2017-11-10 14:04 ` specifying format of RAW files Måns Rullgård
2017-11-10 14:18 ` 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=20171110133044.GA14739@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).