From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: tian Newsgroups: gmane.comp.audio.sox.devel Subject: Hi,all, how to realize -m mix two audio by code? Date: Sun, 27 Apr 2014 15:02:58 +0800 Message-ID: <5F13F4E9A4254AE5907EFEEDC8104131@gmail.com> Reply-To: sox-devel@lists.sourceforge.net NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1364732627486266652==" X-Trace: ger.gmane.org 1398582210 9073 80.91.229.3 (27 Apr 2014 07:03:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 27 Apr 2014 07:03:30 +0000 (UTC) To: sox-devel@lists.sourceforge.net Original-X-From: sox-devel-bounces@lists.sourceforge.net Sun Apr 27 09:03:22 2014 Return-path: Envelope-to: gcasd-sox-devel@m.gmane.org Received-SPF: pass (sog-mx-3.v43.ch3.sourceforge.com: domain of gmail.com designates 209.85.192.171 as permitted sender) client-ip=209.85.192.171; envelope-from=tqj.zyy@gmail.com; helo=mail-pd0-f171.google.com; X-Received: by 10.67.2.34 with SMTP id bl2mr18199689pad.58.1398582183061; Sun, 27 Apr 2014 00:03:03 -0700 (PDT) X-Mailer: sparrow 1.6.4 (build 1178) X-Spam-Score: -0.6 (/) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (tqj.zyy[at]gmail.com) -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [209.85.192.171 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 1.0 HTML_MESSAGE BODY: HTML included in message -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-Headers-End: 1WeJ7F-0004Ca-0E X-BeenThere: sox-devel@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: sox-devel-bounces@lists.sourceforge.net Xref: news.gmane.org gmane.comp.audio.sox.devel:364 Archived-At: Received: from lists.sourceforge.net ([216.34.181.88]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WeJ7R-0000cN-7m for gcasd-sox-devel@m.gmane.org; Sun, 27 Apr 2014 09:03:21 +0200 Received: from localhost ([127.0.0.1] helo=sfs-ml-2.v29.ch3.sourceforge.com) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1WeJ7H-0003sb-UK; Sun, 27 Apr 2014 07:03:11 +0000 Received: from sog-mx-3.v43.ch3.sourceforge.com ([172.29.43.193] helo=mx.sourceforge.net) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1WeJ7F-0003sS-QB for sox-devel@lists.sourceforge.net; Sun, 27 Apr 2014 07:03:09 +0000 Received: from mail-pd0-f171.google.com ([209.85.192.171]) by sog-mx-3.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1WeJ7F-0004Ca-0E for sox-devel@lists.sourceforge.net; Sun, 27 Apr 2014 07:03:09 +0000 Received: by mail-pd0-f171.google.com with SMTP id r10so4577057pdi.2 for ; Sun, 27 Apr 2014 00:03:03 -0700 (PDT) Received: from [192.168.1.101] ([183.228.121.13]) by mx.google.com with ESMTPSA id vb7sm26721223pbc.13.2014.04.27.00.03.00 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Sun, 27 Apr 2014 00:03:02 -0700 (PDT) --===============1364732627486266652== Content-Type: multipart/alternative; boundary="535caba2_540a471c_bc2" --535caba2_540a471c_bc2 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline sox -M f2.wav f3.wav f1.wav out.wav can you tell me how to realize this command by c code=3F I look the examp= le4.c. It can Concatenate audio files. But I want to mix two wav files us= e code. because I want to use this sox on android. And now I can add ech= o,echoes, chorus on android with JNI. can you help me =3F Thank you very = much. I am waiting for your reply online. -- =20 tian =E5=B7=B2=E4=BD=BF=E7=94=A8 Sparrow (http://www.sparrowmailapp.com/=3Fsig= ) --535caba2_540a471c_bc2 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline

 sox -M f2.wav f3.wav f1.wav =
out.wav

can you tell me how to realize thi= s command by c code=3F I look the example4.c. It can Concatenate aud= io files. But I want to mix two wav files use code. because I want to &nb= sp;use this sox on android. And now I can add echo,echoes, chorus on andr= oid with JNI. can you help me =3F Thank you very much. I am waiting for y= our reply online.

-- 
tian
<= div>=E5=B7=B2=E4=BD=BF=E7=94=A8 Sparrow

--535caba2_540a471c_bc2-- --===============1364732627486266652== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Start Your Social Network Today - Download eXo Platform Build your Enterprise Intranet with eXo Platform Software Java Based Open Source Intranet - Social, Extensible, Cloud Ready Get Started Now And Turn Your Intranet Into A Collaboration Platform http://p.sf.net/sfu/ExoPlatform --===============1364732627486266652== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ SoX-devel mailing list SoX-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sox-devel --===============1364732627486266652==--