<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16788" name=GENERATOR></HEAD>
<BODY>
<DIV>
<DIV><FONT face=Arial><FONT size=2>&nbsp;<SPAN class=842412217-04022009>What I 
did was the following:</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN 
class=842412217-04022009></SPAN></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN class=842412217-04022009>First, I sent 
the playback command:</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN 
class=842412217-04022009></SPAN></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN class=842412217-04022009>call-command: 
execute<BR>execute-app-name: playback<BR>execute-app-arg: 
&lt;filename&gt;</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN 
class=842412217-04022009></SPAN></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN class=842412217-04022009>Then I send 
uuid_record (Sorry, it was not Record&nbsp;command):</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN 
class=842412217-04022009></SPAN></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN class=842412217-04022009>api 
uuid_record&nbsp;&lt;uuid&gt;&nbsp;start&nbsp;&lt;filename&gt; 
120</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN 
class=842412217-04022009></SPAN></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN class=842412217-04022009>I also tried 
replacing the playback command with:</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN class=842412217-04022009>api 
uuid_displace&nbsp;&lt;uuid&gt;&nbsp;start&nbsp;&lt;filename&gt; 0 
mux</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN 
class=842412217-04022009></SPAN></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN class=842412217-04022009>But the end 
results are the same. The recorded user's voice is about 0.5 second behind the 
expected result.</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN 
class=842412217-04022009></SPAN></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN 
class=842412217-04022009>Thanks,</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN 
class=842412217-04022009>Daniel</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>-----Original Message-----<BR>From: <A 
title=blocked::mailto:freeswitch-users-bounces@lists.freeswitch.org 
href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</A> 
[mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian 
West<BR>Sent: February 3, 2009 6:36 PM<BR>To: <A 
title=blocked::mailto:freeswitch-users@lists.freeswitch.org 
href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</A><BR>Subject: 
Re: [Freeswitch-users] Recording background music and voice is outof 
sync</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Can you show us an example of how you're doing 
this?&nbsp; Playback and Record aren't async so you'll need to show us how 
you're doing this.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Also don't hijack threads you hit replay on the one 
"Re: [Freeswitch- users] FreeSwitch setup as a "Dumb" SBC" as the subject, 
deleted the subject and started a new body.&nbsp; That hijacks the thread and 
that can cause your problem to go ignored in some cases if people aren't 
interested in the thread topic depending on how their reader threads the 
emails.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Please click new message and type freeswitch- <A 
title=blocked::mailto:users@lists.freeswitch.org 
href="mailto:users@lists.freeswitch.org">users@lists.freeswitch.org</A> in and 
then input your subject and body to start a new thread.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thanks,<BR>Brian 
West<BR>FreeSWITCH.org</FONT></DIV>
<DIV>&nbsp;</DIV><FONT face=Arial size=2>
<DIV><BR>On Feb 3, 2009, at 8:21 PM, Daniel Liang wrote:</DIV>
<DIV>&nbsp;</DIV>
<DIV>&gt; Hi,<BR>&gt;<BR>&gt; I was trying to record a background music with a 
user's voice at the <BR>&gt; same time. I did a playback and started recording. 
But the recorded <BR>&gt; user's voice and the background music is about 0.5 
second out of sync. <BR>&gt; I also tried to use uuid_displace instead of 
playback, but I got the <BR>&gt; same result.</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>_______________________________________________<BR>Freeswitch-users 
mailing list<BR><A title=blocked::mailto:Freeswitch-users@lists.freeswitch.org 
href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</A><BR><A 
title=blocked::http://lists.freeswitch.org/mailman/listinfo/freeswitch-users 
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A><BR>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<BR><A 
title=blocked::http://www.freeswitch.org/ 
href="http://www.freeswitch.org/">http://www.freeswitch.org</A><BR></FONT></DIV></DIV></BODY></HTML>