iPhone dev | 3 Mar 2010 11:38
Picon

Runtime error about library

Hi Friends,


I am developing one project for mac os  in which i need to concatenating, mixing and trimming the songs so i thought  could use SOX library for this functionality in cocoa for mac application.

So i downloaded Sox 14.3.0 and installed in my machine using ./configure, make, make install into my Mac OS 10.5.8. Then i added libsox.dylib and two another header files into my project and there is no any compiler error.

When i run the application, i am getting following error.

=====

[Session started at 2010-03-03 16:06:43 +0530.]
dyld: Symbol not found: _mad_stream_finish
  Referenced from: /usr/local/lib/libsox.1.dylib
  Expected in: dynamic lookup


The Debugger has exited due to signal 5 (SIGTRAP).The Debugger has exited due to signal 5 (SIGTRAP).

=========

I searched in the google but i could not get any help from them.

Regards,
CocoaDev.
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Sox-users mailing list
Sox-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users
iPhone dev | 3 Mar 2010 13:11
Picon

Re: Runtime error about library

Hi,


I got Sox Wrap software and it contains library.pkg so installed it and it installed lots others library also.

Now i am getting following error,

[Session started at 2010-03-03 17:33:44 +0530.]
dyld: Library not loaded: /usr/local/lib/libmp3lame.0.dylib
  Referenced from: /usr/local/lib/libavformat.dylib
  Reason: no suitable image found.  Did find:
/usr/local/lib/libmp3lame.0.dylib: mach-o, but wrong architecture
/usr/local/lib/libmp3lame.0.dylib: mach-o, but wrong architecture

The Debugger has exited due to signal 5 (SIGTRAP).The Debugger has exited due to signal 5 (SIGTRAP).


So anyone please tell me exact procedure to install sox library into mac os.

Regards,
Haresh.

On Wed, Mar 3, 2010 at 4:08 PM, iPhone dev <iphonemobdev <at> gmail.com> wrote:
Hi Friends,

I am developing one project for mac os  in which i need to concatenating, mixing and trimming the songs so i thought  could use SOX library for this functionality in cocoa for mac application.

So i downloaded Sox 14.3.0 and installed in my machine using ./configure, make, make install into my Mac OS 10.5.8. Then i added libsox.dylib and two another header files into my project and there is no any compiler error.

When i run the application, i am getting following error.

=====

[Session started at 2010-03-03 16:06:43 +0530.]
dyld: Symbol not found: _mad_stream_finish
  Referenced from: /usr/local/lib/libsox.1.dylib
  Expected in: dynamic lookup


The Debugger has exited due to signal 5 (SIGTRAP).The Debugger has exited due to signal 5 (SIGTRAP).

=========

I searched in the google but i could not get any help from them.

Regards,
CocoaDev.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Sox-users mailing list
Sox-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users
James Young | 4 Mar 2010 07:43

Merge, remix works in Windows for a few files, but inserts pops when many...


http://old.nabble.com/file/p27752910/diagram.bmp 

sox -M boring.wav whatever.wav duh.wav bla.wav out.wav delay 2.3 4.1 6.1
trim 0 30 remix 1-4p0

This works fine for maybe 20 files, but when I do like 600+ files, it adds
pops.  I can't seem to figure out how to do it... without adding pops :(

The doc says that p0 may add clipping, but if I don't add it, the automatic
scaling kicks in, and the only mixes audible are the last few. (I mix in
batches, not 600 at one command)

I've gotten also a message: delay FAIL: asymmetrically drained (I think that
was the wording)

I've tried different effects, and ways to do the same thing.  It might be my
scatter brain, though. I keep failing when trying to mix files in different
points in time without adding pops. I've tried different versions of sox,
and the latest RC.  

I must have bad luck.
--

-- 
View this message in context: http://old.nabble.com/Merge%2C-remix-works-in-Windows-for-a-few-files%2C-but-inserts-pops-when-many...-tp27752910p27752910.html
Sent from the SoX mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
iPhone dev | 6 Mar 2010 07:05
Picon

Error about library

Hi,

I don't know that this mailing list is dead or not but i am not getting any answers of my question so i need to resend.

I installed libsox.dylib and trying to use with project but getting following error,

[Session started at 2010-03-06 11:01:30 +0530.]
dyld: Symbol not found: _mad_stream_finish
  Referenced from: /usr/local/lib/libsox.dylib
  Expected in: dynamic lookup

Could anyone please tell me that how do i need to figure out this problem.

Regards,
CocoaDev.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Sox-users mailing list
Sox-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users
TJF | 9 Mar 2010 21:51
Picon

Creating a special 24 Bit format

Hi,

has anyone an idea, how to create such a raw-file with sox:

24 Bit Raw-File which uses the upper 3 bytes of 32-bit signed integer...?

I tried things like this (Win), also 32...:
sox.exe music.wav -e signed -b 24 -t .raw output_88200_24.raw rate 88200

Thanks
Regards
Thomas

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
robs | 9 Mar 2010 22:58
Picon
Favicon

Re: Creating a special 24 Bit format

Not tried it, but this might work:

sox music.wav -e signed -b 24 temp.raw rate 88200
sox -e unsigned -b 24 -r 88200 temp.raw -b 32 output_88200_24.raw

----- Original Message ----
> From: TJF <tjfoerster <at> web.de>
> To: sox-users <at> lists.sourceforge.net
> Sent: Tue, 9 March, 2010 20:51:31
> Subject: [SoX-users] Creating a special 24 Bit format
> 
> Hi,
> 
> has anyone an idea, how to create such a raw-file with sox:
> 
> 24 Bit Raw-File which uses the upper 3 bytes of 32-bit signed integer...?
> 
> I tried things like this (Win), also 32...:
> sox.exe music.wav -e signed -b 24 -t .raw output_88200_24.raw rate 88200
> 
> Thanks
> Regards
> Thomas
> 
> ------------------------------------------------------------------------------
> Download IntelĀ® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Sox-users mailing list
> Sox-users <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sox-users

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
TJF | 9 Mar 2010 23:41
Picon

Re: Creating a special 24 Bit format

Thank you! But both does not work...

robs schrieb:
> Not tried it, but this might work:
>
> sox music.wav -e signed -b 24 temp.raw rate 88200
> sox -e unsigned -b 24 -r 88200 temp.raw -b 32 output_88200_24.raw
>
>
> ----- Original Message ----
>   
>> From: TJF <tjfoerster <at> web.de>
>> To: sox-users <at> lists.sourceforge.net
>> Sent: Tue, 9 March, 2010 20:51:31
>> Subject: [SoX-users] Creating a special 24 Bit format
>>
>> Hi,
>>
>> has anyone an idea, how to create such a raw-file with sox:
>>
>> 24 Bit Raw-File which uses the upper 3 bytes of 32-bit signed integer...?
>>
>> I tried things like this (Win), also 32...:
>> sox.exe music.wav -e signed -b 24 -t .raw output_88200_24.raw rate 88200
>>
>> Thanks
>> Regards
>> Thomas
>>
>> ------------------------------------------------------------------------------
>> Download IntelĀ® Parallel Studio Eval
>> Try the new software tools for yourself. Speed compiling, find bugs
>> proactively, and fine-tune applications for parallel performance.
>> See why Intel Parallel Studio got high marks during beta.
>> http://p.sf.net/sfu/intel-sw-dev
>> _______________________________________________
>> Sox-users mailing list
>> Sox-users <at> lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/sox-users
>>     
>
>
>
>       
>
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Sox-users mailing list
> Sox-users <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sox-users
>
>   

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
Jie Wu | 9 Mar 2010 23:32
Favicon

VOX conversion support in SOX

Hi, All,

 

I was trying to convert a OKI ADPCM audio file (http://www.nch.com.au/acm/sample.vox) using the following command:

sox -t raw -r 8000 -c 1 -e oki-adpcm sample.vox test.wav

It always gives me “sox FAIL formats: bad input format for file `sample.vox': data encoding was not specified” error. When I replace "-e oki-adpcm" with "-e u-law", there is no such error. But the wav file being generated is purely white noise.

 

And that sample vox file can be imported raw in Audacity perfectly fine.

 

Can anyone shed some light here?

 

Thanks

 

Jie Wu

Software Developer

 

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Sox-users mailing list
Sox-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users
Jan Stary | 10 Mar 2010 08:48
Picon

Re: Creating a special 24 Bit format

[please don't top post]

> >> has anyone an idea, how to create such a raw-file with sox:
> >> 24 Bit Raw-File which uses the upper 3 bytes of 32-bit signed integer...?

> > Why?
> >

On Mar 10 08:39:41, TJF wrote:
> Because my Raw-Player needs this in 24 Bit. The other formats (16, 32, 
> 32F,64F) are working with the usual way of sox-resampling.

What are you trying to achieve, really?
Create a certain file and then play it with a certain player?  Why?
What is your source file, if any?

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
Jan Stary | 10 Mar 2010 08:17
Picon

Re: VOX conversion support in SOX

On Mar 09 16:32:10, Jie Wu wrote:
> I was trying to convert a OKI ADPCM audio file
> (http://www.nch.com.au/acm/sample.vox) using the following command:
> sox -t raw -r 8000 -c 1 -e oki-adpcm sample.vox test.wav
> 
> It always gives me "sox FAIL formats: bad input format for file
> `sample.vox': data encoding was not specified" error.

This is how soxi(1) sees the file:

$ soxi sample.vox
soxi WARN raw: `sample.vox': sample rate not specified; trying 8kHz

Input File     : 'sample.vox'
Channels       : 1
Sample Rate    : 8000
Precision      : 12-bit
Duration       : 00:00:04.40 = 35194 samples ~ 329.944 CDDA sectors
File Size      : 17.6k
Bit Rate       : 32.0k
Sample Encoding: 4-bit OKI ADPCM

Apparently, trying 8k is a good idea;
at least play(1) plays the file correctly:

$ play -V sample.vox gain -6
play: SoX v14.3.0
play WARN raw: `sample.vox': sample rate not specified; trying 8kHz

Input File     : 'sample.vox'
Channels       : 1
Sample Rate    : 8000
Precision      : 12-bit
Duration       : 00:00:04.40 = 35194 samples ~ 329.944 CDDA sectors
File Size      : 17.6k
Bit Rate       : 32.0k
Sample Encoding: 4-bit OKI ADPCM
Reverse Nibbles: no
Reverse Bits   : no

Output File    : 'default' (sndio)
Channels       : 1
Sample Rate    : 8000
Precision      : 16-bit
Duration       : 00:00:04.40 = 35194 samples ~ 329.944 CDDA sectors
Sample Encoding: 16-bit Signed Integer PCM
Endian Type    : little
Reverse Nibbles: no
Reverse Bits   : no

play INFO sox: effects chain: input      8000Hz 1 channels
play INFO sox: effects chain: gain       8000Hz 1 channels
play INFO sox: effects chain: dither     8000Hz 1 channels
play INFO sox: effects chain: output     8000Hz 1 channels
In:23.3% 00:00:01.02 [00:00:03.38] Out:8.19k [ =====|===== ]
Clip:0 

I don't understand why you are specifying the encoding, channels, etc.
It's all in the vox header (except the rate is not, but sox guesses
it correctly as 8k). The easiest possible thing just works:

$ sox -V sample.vox sample.wav 
sox: SoX v14.3.0
sox WARN raw: `sample.vox': sample rate not specified; trying 8kHz

Input File     : 'sample.vox'
Channels       : 1
Sample Rate    : 8000
Precision      : 12-bit
Duration       : 00:00:04.40 = 35194 samples ~ 329.944 CDDA sectors
File Size      : 17.6k
Bit Rate       : 32.0k
Sample Encoding: 4-bit OKI ADPCM
Reverse Nibbles: no
Reverse Bits   : no

Output File    : 'sample.wav'
Channels       : 1
Sample Rate    : 8000
Precision      : 12-bit
Duration       : 00:00:04.40 = 35194 samples ~ 329.944 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      8000Hz 1 channels
sox INFO sox: effects chain: output     8000Hz 1 channels
sox WARN adpcms: sample.vox: ADPCM state errors: 8

The resulting sample.wav sounds just fine.
(Don't know what "ADPCM state errors" are, though.)

	Jan

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev

Gmane