* [ sox-Bugs-3609370 ] Incorrect endian used when converting to caf on OSX
@ 2013-03-28 16:44 SourceForge.net
0 siblings, 0 replies; 2+ messages in thread
From: SourceForge.net @ 2013-03-28 16:44 UTC (permalink / raw)
To: SourceForge.net
Bugs item #3609370, was opened at 2013-03-28 09:44
Message generated for change (Tracker Item Submitted) made by leehickey
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=110706&aid=3609370&group_id=10706
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: LeeHickey (leehickey)
Assigned to: Nobody/Anonymous (nobody)
Summary: Incorrect endian used when converting to caf on OSX
Initial Comment:
On the latest OSX build, converting to caf seems to always output a big-endian irrespective of the --endian setting. If I then look at the outputted caf in Quicktime, or in my own sound loading code, the file is actually big endian.
sox test.wav --endian little test.caf -V -V
sox: SoX v14.3.1
time: Apr 10 2010 11:31:36
uname: Darwin lee2.local 11.4.2 Darwin Kernel Version 11.4.2: Thu Aug 23 16:25:48 PDT 2012; root:xnu-1699.32.7~1/RELEASE_X86_64 x86_64
gcc: 4.0.1 (Apple Inc. build 5493)
arch: 1248 48 44 L
sox INFO formats: detected file format type `caf'
sox DBUG sndfile: `test.wav': Length : 110642
sox DBUG sndfile: `test.wav': caff
sox DBUG sndfile: `test.wav': Version : 1
sox DBUG sndfile: `test.wav': Flags : 0
sox DBUG sndfile: `test.wav': desc : 32
sox DBUG sndfile: `test.wav': Sample rate : 44100.000
sox DBUG sndfile: `test.wav': Format id : lpcm
sox DBUG sndfile: `test.wav': Format flags : 0
sox DBUG sndfile: `test.wav': Bytes / packet : 2
sox DBUG sndfile: `test.wav': Frames / packet : 1
sox DBUG sndfile: `test.wav': Channels / frame : 1
sox DBUG sndfile: `test.wav': Bits / channel : 16
sox DBUG sndfile: `test.wav': free : 4016
sox DBUG sndfile: `test.wav': data : 106546
sox DBUG sndfile: `test.wav': edit : 0
sox DBUG sndfile: `test.wav': End
Input File : 'test.wav' (caf)
Channels : 1
Sample Rate : 44100
Precision : 16-bit
Duration : 00:00:01.21 = 53273 samples = 90.6003 CDDA sectors
File Size : 111k
Bit Rate : 733k
Sample Encoding: 16-bit Signed Integer PCM
Endian Type : little
Reverse Nibbles: no
Reverse Bits : no
sox INFO sox: Overwriting `test.caf'
sox DBUG sndfile: `test.caf': Length : 0
Output File : 'test.caf'
Channels : 1
Sample Rate : 44100
Precision : 16-bit
Duration : 00:00:01.21 = 53273 samples = 90.6003 CDDA sectors
Sample Encoding: 16-bit Signed Integer PCM
Endian Type : little
Reverse Nibbles: no
Reverse Bits : no
Comment : 'Processed by SoX'
sox INFO sox: effects chain: input 44100Hz 1 channels 16 bits (multi)
sox INFO sox: effects chain: output 44100Hz 1 channels 16 bits (multi)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=110706&aid=3609370&group_id=10706
------------------------------------------------------------------------------
Own the Future-Intel® Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game
on Steam. $5K grand prize plus 10 genre and skill prizes.
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
^ permalink raw reply [flat|nested] 2+ messages in thread
* [ sox-Bugs-3609370 ] Incorrect endian used when converting to caf on OSX
@ 2013-04-10 16:49 SourceForge.net
0 siblings, 0 replies; 2+ messages in thread
From: SourceForge.net @ 2013-04-10 16:49 UTC (permalink / raw)
To: SourceForge.net
Bugs item #3609370, was opened at 2013-03-28 09:44
Message generated for change (Comment added) made by uklauer
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=110706&aid=3609370&group_id=10706
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
>Group: verified
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: LeeHickey (leehickey)
Assigned to: Nobody/Anonymous (nobody)
Summary: Incorrect endian used when converting to caf on OSX
Initial Comment:
On the latest OSX build, converting to caf seems to always output a big-endian irrespective of the --endian setting. If I then look at the outputted caf in Quicktime, or in my own sound loading code, the file is actually big endian.
sox test.wav --endian little test.caf -V -V
sox: SoX v14.3.1
time: Apr 10 2010 11:31:36
uname: Darwin lee2.local 11.4.2 Darwin Kernel Version 11.4.2: Thu Aug 23 16:25:48 PDT 2012; root:xnu-1699.32.7~1/RELEASE_X86_64 x86_64
gcc: 4.0.1 (Apple Inc. build 5493)
arch: 1248 48 44 L
sox INFO formats: detected file format type `caf'
sox DBUG sndfile: `test.wav': Length : 110642
sox DBUG sndfile: `test.wav': caff
sox DBUG sndfile: `test.wav': Version : 1
sox DBUG sndfile: `test.wav': Flags : 0
sox DBUG sndfile: `test.wav': desc : 32
sox DBUG sndfile: `test.wav': Sample rate : 44100.000
sox DBUG sndfile: `test.wav': Format id : lpcm
sox DBUG sndfile: `test.wav': Format flags : 0
sox DBUG sndfile: `test.wav': Bytes / packet : 2
sox DBUG sndfile: `test.wav': Frames / packet : 1
sox DBUG sndfile: `test.wav': Channels / frame : 1
sox DBUG sndfile: `test.wav': Bits / channel : 16
sox DBUG sndfile: `test.wav': free : 4016
sox DBUG sndfile: `test.wav': data : 106546
sox DBUG sndfile: `test.wav': edit : 0
sox DBUG sndfile: `test.wav': End
Input File : 'test.wav' (caf)
Channels : 1
Sample Rate : 44100
Precision : 16-bit
Duration : 00:00:01.21 = 53273 samples = 90.6003 CDDA sectors
File Size : 111k
Bit Rate : 733k
Sample Encoding: 16-bit Signed Integer PCM
Endian Type : little
Reverse Nibbles: no
Reverse Bits : no
sox INFO sox: Overwriting `test.caf'
sox DBUG sndfile: `test.caf': Length : 0
Output File : 'test.caf'
Channels : 1
Sample Rate : 44100
Precision : 16-bit
Duration : 00:00:01.21 = 53273 samples = 90.6003 CDDA sectors
Sample Encoding: 16-bit Signed Integer PCM
Endian Type : little
Reverse Nibbles: no
Reverse Bits : no
Comment : 'Processed by SoX'
sox INFO sox: effects chain: input 44100Hz 1 channels 16 bits (multi)
sox INFO sox: effects chain: output 44100Hz 1 channels 16 bits (multi)
----------------------------------------------------------------------
>Comment By: Ulrich Klauer (uklauer)
Date: 2013-04-10 09:49
Message:
Yes, the sndfile format handler currently ignores any endian setting
completely.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=110706&aid=3609370&group_id=10706
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-04-10 16:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-28 16:44 [ sox-Bugs-3609370 ] Incorrect endian used when converting to caf on OSX SourceForge.net
-- strict thread matches above, loose matches on Subject: below --
2013-04-10 16:49 SourceForge.net
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).