Le 23/06/2011 14:42, David Baelde a écrit : > Hi Martin, > > On Thu, Jun 23, 2011 at 10:19 AM, Martin Hamant<[email protected]> wrote: > >> $ liquidsoap -v --debug 'out(single("say:coucou"))' >> Invalid value at line 1, char 12-23: >> Could not get a valid media file of kind {audio=2;video=0;midi=0} >> from "say:coucou". > Two possible problems: you liquidtts script isn't functional, or it is > producing a mono file (instead of the expected stereo). If you have > reconfigured and re-installed, the script should be good. And if > you're up to date the mono bug should be fixed. :( seems it still produce a mono file. ( I have updated liquidsoap this morning ) -rwxr-xr-x 1 root root 322 2011-06-23 10:15 liquidtts*
> You can still have a look at it > (/usr/local/lib/liquidsoap/svn/liquidtts or /usr/lib/...) and run it > directly using "liquidtts hello /tmp/a.wav" it should produce a valid > stereo WAV file in /tmp/a.wav (inspect with liquidsoap, file or > mplayer). > martin@martin-VirtualBox:/usr/local/lib/liquidsoap/svn$ ./liquidtts hello /tmp/a.wav martin@martin-VirtualBox:/usr/local/lib/liquidsoap/svn$ file /tmp/a.wav /tmp/a.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, mono 44100 Hz So this is mono, but anyway why text2wave would create a stereo file ? >> make ( side question, are you aware of all the warnings at compile time ?) The following is what I have collected from "make" stderr jack_wrapper.c: In function ‘JACK_callback’: jack_wrapper.c:428:9: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 7 has type ‘size_t’ jack_stubs.c: In function ‘remove_process_callback’: jack_stubs.c:397:44: warning: assignment makes pointer from integer without a cast jack_stubs.c: In function ‘poll_for_callback’: jack_stubs.c:445:1: warning: no return statement in function returning non-void jack_stubs.c: In function ‘ocaml_jack_client_new’: jack_stubs.c:454:3: warning: ‘jack_client_new’ is deprecated (declared at /usr/include/jack/jack.h:122) jack_stubs.c:460:44: warning: assignment makes pointer from integer without a cast jack_stubs.c:464:47: warning: assignment makes pointer from integer without a cast mad_stubs.c: In function ‘ocaml_mad_openfile’: mad_stubs.c:175:8: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result mad_stubs.c:181:10: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result mad_stubs.c:187:10: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result soundtouch_stubs.cc:93:1: warning: deprecated conversion from string constant to ‘char*’ soundtouch_stubs.cc:244:1: warning: deprecated conversion from string constant to ‘char*’ 102 reduce/reduce conflicts. ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev _______________________________________________ Savonet-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/savonet-users
