[mary-users] Sound for use with Asterisk

Ingmar Steiner ingmar.steiner at inria.fr
Wed Feb 1 14:07:29 CET 2012


Dear Hoai-Anh Ngo-Vi,

your workaround probably provides more sophisticated resampling options 
via sox, but perhaps you might find the AudioConverterUtils.downSampling 
method in marytts.util.data.audio useful.

Best wishes,

-Ingmar

On 01.02.2012 12:13, Hoai-Anh Ngo-Vi wrote:
> Dear list,
>
> has some one out there already implemented a java client receiving
> audio  as byte array back from mary which is suitable for use with
> Asterisk. Asterisk works fine with audio with sample of 8000Hz and
> Windows PCM wav (16bit) format. If someone interrests in reading more
> please visit http://www.voip-info.org/wiki/view/Asterisk+sound+files.
>
> At the moment I have to work around in 2 steps:
> - Get the audio. Store as file.
> - Convert with SoX.
>
> Thank you for your help.
>

-- 
Ingmar Steiner
Postdoctoral Researcher

LORIA Speech Group, Nancy, France
National Institute for Research in
Computer Science and Control (INRIA)


More information about the Mary-users mailing list