search for: sox

Displaying 20 results from an estimated 592 matches for "sox".

Did you mean: so
2011 Sep 13
3
sox: Failed reading obd-demo.mp3: Do not understand format type: mp3
Hi, Can someone please comment about the below issue [root at host0040 kaushal]# file obd-demo.mp3 obd-demo.mp3: MPEG ADTS, layer III, v1, 256 kBits, 44.1 kHz, Monaural [root at host0040 kaushal]# sox obd-demo.mp3 -e stat sox: Failed reading obd-demo.mp3: Do not understand format type: mp3 [root at host0040 kaushal]# sox -V obd-demo.mp3 -r 8000 -c 1 -t ul -w vm-intro.ulaw sox: Failed reading obd-demo.mp3: Do not understand format type: mp3 [root at host0040 kaushal]# sox -v 0.125 -V <obd-de...
2009 Dec 18
5
Switching Left Right Channel
...te: > >> Is it possible to switch the Left / Right channel when encoding in FLAC? >> (I have some flac files with incorrect left/right channel assignment that I would like to re-encode with flac) >> _____________________________ > > I'm not sure flac can do that but sox and audacity both easily can SoX looks promising (and looks like a program that I may have other uses for) Looks like "swap" is the command I need, but if I enter "sox file1.flac file2.flac swap" I get an error: sox FAIL formats: no handler for detected file type `flac' (I...
2008 Jun 30
4
Voicemail- Recorded Mesage Low Volume
> Hi Daniel, > > I'm intrigued by this and wanted to try it out - but I'm wondering how > you get Asterisk to call sox at all during Voicemail()? Our server > doesn't even have sox installed, so I'm not sure how to go about > tricking Asterisk into running a different one. To do anything useful you would have to get sox installed on your server. But to get asterisk to run a different/fake sox, jus...
2011 Sep 13
1
sox: Failed reading obd-demo.mp3: Do not understand format type: mp3
Hi, Can someone please comment about the below issue [root at host0040 kaushal]# file obd-demo.mp3 obd-demo.mp3: MPEG ADTS, layer III, v1, 256 kBits, 44.1 kHz, Monaural [root at host0040 kaushal]# sox obd-demo.mp3 -e stat sox: Failed reading obd-demo.mp3: Do not understand format type: mp3 [root at host0040 kaushal]# sox -V obd-demo.mp3 -r 8000 -c 1 -t ul -w vm-intro.ulaw sox: Failed reading obd-demo.mp3: Do not understand format type: mp3 [root at host0040 kaushal]# sox -v 0.125 -V <obd-de...
2003 Aug 25
6
Syncronize Monitored Calls
I thought I would post this in case it might be of any use to anyone. Not anything special but it does work. Keep in mind you need sox and wmix. Here is some relevant exerpts of my extensions.conf using John Todds macro. [globals] CALLFILENAME=foo FOO=foo CALLERIDNUM=foo [default] exten => 287,1,Macro(dial,SIP/agent20002|20) exten => 287,2,Voicemail(u287) exten => h,1,Macro(hangup) [macro-dial] exten => s,1...
2001 May 21
1
SoX support
For those of you who want to be able to decode Ogg Vorbis files into other formats, SoX (the swiss army knife of audio programs) now has Ogg Vorbis support in CVS. It can read Ogg Vorbis files and export the audio in any format SoX supports. You can also write Ogg Vorbis with it, but, because of limitations in the design of SoX, only output at 128kbps is supported. Note: Instructio...
2012 Jan 04
4
Speech recognition in asterisk using google voice API
Hello, I have written an agi script that uses google voice API for voice recognition. The script records from the current channel untill the pound key (#) is pressed or the timeout (15 seconds) is reached. The recording is send over to google speech recognition service and the returned text string is assigned to a channel variable. More info and dialplan examples can be found in the README file:
2006 Mar 01
9
MOH native files
Where can I find alaw, ulaw, gsm, g729 formats for native music on hold? I have some mp3 files and I have tried to transcode them to above, but it seams that SOX can't do that. Please, tell me where to download some MOH files (in above formats) or how to transcode mp3? Thank you for your time! -- Tomislav Parcina tparcina#lama.hr
2005 Sep 18
5
Monitor and sox mix quality
Hello All, I am using monitor with soxmix, however the quality seems somewhat low after sox converts to mp3. Does anyone know a way to get a higher quality file? Some of my lines are coming in on isdn. Regards, Greg
2011 Mar 24
5
Sox and bad quality when converting to 8 kHz
Hi list, I have an 44100 Hz file with human voice, stereo with 16Bit. When convertig this to 8 kHz, mono I loose a lot of quality and have some ground noise. I tried several sox options but without success. Can somebody help.... best regards Thomas
2004 Jan 11
2
macro error "exited non-zero"
On this macro I keep getting exited non-zero on s,3, but s,3 is doing what it is suppose to do but the macro stops. Is there a way to make a macro ignore errors and continue to s,4? I have the lattes ver of sox 12.17.4. Also if I just run this line from the command line I don't get an error. [root@redhat monitor]# sox in.wav in-rev.wav reverse [root@redhat monitor]# [macro-record-cleanup] exten => s,1,GotoIf($[${CALLFILENAME} = ${FOO}]?11:2) exten => s,2,SetVar(MONITORDIR=/var/spool/asterisk...
2009 Oct 10
3
Method to use SOX inside a Dialplan
...I think this can be done inside a dialplan, but I can't find an example of how to do this. Basically,after he records the primary message, a menu would play asking if he wants to append to this message. If yes, then he would record a temp file with the additional message and when done, I want SOX to add the temp message to the primary message making it one larger message. Would you mind showing me an example of how to run SOX inside the dialplan? Thanks, Bart -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/at...
2009 Dec 18
2
Switching Left Right Channel
...e to switch the Left / Right channel when encoding in FLAC? >>>> (I have some flac files with incorrect left/right channel assignment that I would like to re-encode with flac) >>>> _____________________________ >>> >>> I'm not sure flac can do that but sox and audacity both easily can >> >> SoX looks promising (and looks like a program that I may have other uses for) >> Looks like "swap" is the command I need, but if I enter "sox file1.flac file2.flac swap" I >> get an error: sox FAIL formats: no handler f...
2008 Feb 17
1
app_voicemail - Failed to open file ../tmp/xxxxx.WAV
...l/hdn/101/tmp/KtqxHG.WAV: No such file or directory The directory exists and is owned by asterisk.asterisk. The context and extension are valid, and as I said all other aspects of voicemail are working. I even get a msg####.WAV file attached to my notification message, but it is zero bytes. Sox is installed (if that matters). This was all working for me earlier. Not sure when it broke as this is a test setup and much fiddling has been done. I upgraded from an earlier 1.4 version at some point. Any help is appreciated. ~John
2006 Nov 07
1
Upgrading sox
Hi, I'm currently running an * version 1.2.13 and sox version 12.17.5. I want to upgrade sox to the newest release ( 12.18.2 ); need mp3 support. But how do I make the upgrade. Do I need to recompile asterisk afterwards? If I make a " sox -h" after a reboot I can see the new version is running but is that enough? ________________________...
2015 Sep 12
2
flac/sox/etc with mp3 support?
I need to convert a bunch of .flac files to .mp3 files, but the sox and flac command tools thats in the base repo won't do that. EPEL doesn't seem to have much either. I went looking at ATRPMS but am getting database errors from their home page :( I know rpmforge used to have this stuff, but its virtually unmaintained today so I've written i...
2006 Mar 21
6
Native MOH - Convert mp3 to ulaw
I'd like to use native moh instead of with mpg123... for some reason the processes never bloody die. For native moh to not spawn an external player, I'd need to convert the default supplied moh sound files in /var/lib/asterisk/mohmp3 to ulaw and g729 format. Anyone know of a free, easy way to convert them? Thanks, Doug.
2012 Feb 14
3
Regain play analysis patches
...y. That's 12 files right now. Thats probably a bit much. > The files could be generated on the fly, but that would either require > another program or script (eg Perl), Anything but Perl. I can write Perl but I can't read it :-). > or a dependence on an external toolkit such as sox. I'd be ok with requiring sox to run the test suite. > The tests increase the runtime of test_metaflac.sh from 11s to 15s > on my machine. Thats fine too. Erik -- ---------------------------------------------------------------------- Erik de Castro Lopo http://www.mega-nerd.com/
2010 Aug 28
4
Asterisk does not translate from wav to alaw
Hello list, I have a file to be played in wav-format. I thought Asterisk would automatically take the wav-file and translate it to the codec used, but I see this : [Aug 28 11:16:29] WARNING[2705]: file.c:664 ast_openstream_full: File /var/lib/asterisk/sounds/vprompts/*zip-code.wav* does not exist in any format [Aug 28 11:16:29] WARNING[2705]: file.c:991 ast_streamfile: Unable to open
2009 Apr 14
5
.GSM -> .WAV (or ,MP3) Conversion
Hey there, I'm trying to convert some call recordings from asterisk we have in .gsm format to something I can pipe through ffmpeg - wav would be good, mp3 would be amazing! I've been trying playing with sox but I don't seem to be getting too far with 1239101491.30.gsm -ql -r 64000 -t wav 1239101491.30.conv.wav resample as ffmpeg borks at it: tim at freee-meee:~/dmc/call recordings$ ffmpeg -i 1239101491.30.conv.wav 1239101491.30.conv.mp3 FFmpeg version r11872+debian_3:0.svn20080206-12ubuntu3.1,...