From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: "Dr. Mark Bugeja MD" Newsgroups: gmane.comp.audio.sox Subject: Re: merging mono files Date: Fri, 9 Dec 2016 14:59:10 +0100 Message-ID: <97a98c92-917c-cbb9-fa11-55b5a79eb174@gmail.com> References: <20161208071200.GB96771@www.stare.cz> <8f200ac6-5aeb-0746-359b-784481bdc1aa@gmail.com> <20161208114514.5tvuf644rr4yqtlq@fastmail.com> <421f2cd6-bda3-bd1b-cbe9-428d943c6cf1@gmail.com> <5849BB51.9030200@gmail.com> <16188a83-dfaf-a400-7333-43cb29a8982a@gmail.com> <0a0b8a7433b23f52d85880e703bd0fec@wingsandbeaks.org.uk> <20161209132147.GC62092@www.stare.cz> Reply-To: sox-users@lists.sourceforge.net NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1743363621724527924==" X-Trace: blaine.gmane.org 1481291984 23304 195.159.176.226 (9 Dec 2016 13:59:44 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 9 Dec 2016 13:59:44 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 To: sox-users@lists.sourceforge.net Original-X-From: sox-users-bounces@lists.sourceforge.net Fri Dec 09 14:59:35 2016 Return-path: Envelope-to: gcas-sox-users@gmane.org Received-SPF: pass (sog-mx-4.v43.ch3.sourceforge.com: domain of gmail.com designates 74.125.82.43 as permitted sender) client-ip=74.125.82.43; envelope-from=marcusfb@gmail.com; helo=mail-wm0-f43.google.com; X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to; bh=7EvRZi4/g2d5FjiCimsf9UssoJd8sFmLWlWcSKl6h/A=; b=BTvjUELNPVeSCF5JVeqZypdoLUx2D4ToSNeSLNDhpoV0r5PJBoYaeIEj5drY4G1WXh oAlItKg0sP2MyqZP8zis2wG3aPy+d25AyBqxmWOotaANSWgfXY13/hGs+rysTUgHZECb gSsuBhQyxRTwhupaUoZqEy1IsDTFsMYyq4KfMor8fad+k+OWULSDF+SoWZv4kETKZxxl ZVkjFS0FcMbZGK4S6lyoLNlqpKGoEPn6ShnBPPyW6/Nqvb7DWE9ccuw5Am7yhlbulZ0m 5w8sSv60NWbN2X1k4qWTcOlY2EGl2vrChKtqWfd6nCyjFTVjjJGPUIJW70eIUkb3fWTa 39YQ== X-Gm-Message-State: AKaTC01HJf6htTz1eOKjT1uFHL1XUx4O48oLF4THwJ6Ki0WHTPjZifVY+AbjQ0V1LXAWaw== X-Received: by 10.28.165.2 with SMTP id o2mr7508937wme.38.1481291962584; Fri, 09 Dec 2016 05:59:22 -0800 (PST) In-Reply-To: <20161209132147.GC62092@www.stare.cz> X-Antivirus: avast! (VPS 161208-3, 08/12/2016), Outbound message X-Antivirus-Status: Clean X-Headers-End: 1cFLhx-0000L2-15 X-BeenThere: sox-users@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-users-bounces@lists.sourceforge.net Xref: news.gmane.org gmane.comp.audio.sox:6385 Archived-At: Received: from lists.sourceforge.net ([216.34.181.88]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cFLi0-0004HU-GL for gcas-sox-users@gmane.org; Fri, 09 Dec 2016 14:59:33 +0100 Received: from localhost ([127.0.0.1] helo=sfs-ml-1.v29.ch3.sourceforge.com) by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1cFLi0-00076z-0O; Fri, 09 Dec 2016 13:59:32 +0000 Received: from sog-mx-4.v43.ch3.sourceforge.com ([172.29.43.194] helo=mx.sourceforge.net) by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1cFLhy-00076p-Cq for sox-users@lists.sourceforge.net; Fri, 09 Dec 2016 13:59:30 +0000 Received: from mail-wm0-f43.google.com ([74.125.82.43]) by sog-mx-4.v43.ch3.sourceforge.com with esmtps (TLSv1:AES128-SHA:128) (Exim 4.76) id 1cFLhx-0000L2-15 for sox-users@lists.sourceforge.net; Fri, 09 Dec 2016 13:59:30 +0000 Received: by mail-wm0-f43.google.com with SMTP id g23so27834737wme.1 for ; Fri, 09 Dec 2016 05:59:28 -0800 (PST) Received: from [127.0.0.1] ([195.158.99.83]) by smtp.gmail.com with ESMTPSA id ab10sm42396357wjc.45.2016.12.09.05.59.21 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 09 Dec 2016 05:59:22 -0800 (PST) This is a multi-part message in MIME format. --===============1743363621724527924== Content-Type: multipart/alternative; boundary="------------FAF1A2CA8209B3E23502C2F4" This is a multi-part message in MIME format. --------------FAF1A2CA8209B3E23502C2F4 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit I stated trumpet to give an example. I am processing pipe organs. Pipe organs have different stops representing different sounds some emulating and therefore named after the instruments they represent. Each stop activates that sound for a rage of keys, usually around 61 keys. Each key pressed will open an airflow vent that channels wind into a pipe and sound is produced. Successive keys will generate sound from one (sometimes as many as 20+ pipes) of an array of pipes positioned across from left to right so one note sounds from a pipe to the left and the next, a pipe on the right, the next from the left and so on. Since these pipes in real life are next to each other and occupy a fairly wide space the stereo recording are used to give that sensation of the pipes' spacial distribution when played digitally. So it's not a matter of a simple left and right. Loops are needed to perpetuate the sound for the duration of time a key is pressed even though a recorded sample may be of just 6 seconds' duration. The software loops the sound until the key is release. I have mentioned this before. This video may give a bit more insight in what is to be achieved: https://youtu.be/dsoWg38TjpU Mark On 09/12/2016 14:21, Jan Stary wrote: > On Dec 09 00:23:21, marcusfb@gmail.com wrote: >> The task I am now performing is basically reversing part of the process that >> was done to these files after loops and markers were created.... that of >> recombining the L and R channels back into single stereo samples preserving >> the processing done before the separation. Loops and markers are created in >> positions that apply to both channels in a stereo file so they are bound to >> match exactly when recombining them again. > One more question: if these are samples of real instruments, > how much do you need them to be stereo? For e.g. a trumpet, > can you just take the "left trumpet sample" an pronounce it > the stereo trumpet", just duplicating the channel? Or is there > an actual difference? (There will be for pipe organs of course). > > But that's probably the same problem when done with SoX: > you would lose the markers. > > Jan > > > ------------------------------------------------------------------------------ > Developer Access Program for Intel Xeon Phi Processors > Access to Intel Xeon Phi processor-based developer platforms. > With one year of Intel Parallel Studio XE. > Training and support from Colfax. > Order your platform today.http://sdm.link/xeonphi > _______________________________________________ > Sox-users mailing list > Sox-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sox-users > --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus --------------FAF1A2CA8209B3E23502C2F4 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: 7bit

I stated trumpet to give an example. I am processing pipe organs. Pipe organs have different stops representing different sounds some emulating and therefore named after the instruments they represent. Each stop activates that sound for a rage of keys, usually around 61 keys. Each key pressed will open an airflow vent that channels wind into a pipe and sound is produced. Successive keys will generate sound from one (sometimes as many as 20+ pipes) of an array of pipes positioned across from left to right so one note sounds from a pipe to the left and the next, a pipe on the right, the next from the left and so on. Since these pipes in real life are next to each other and occupy a fairly wide space the stereo recording are used to give that sensation of the pipes' spacial distribution when played digitally. So it's not a matter of a simple left and right.

Loops are needed to perpetuate the sound for the duration of time a key is pressed even though a recorded sample may be of just 6 seconds' duration. The software loops the sound until the key is release. I have mentioned this before.

This video may give a bit more insight in what is to be achieved: https://youtu.be/dsoWg38TjpU

Mark


On 09/12/2016 14:21, Jan Stary wrote:
On Dec 09 00:23:21, marcusfb@gmail.com wrote:
The task I am now performing is basically reversing part of the process that
was done to these files after loops and markers were created.... that of
recombining the L and R channels back into single stereo samples preserving
the processing done before the separation. Loops and markers are created in
positions that apply to both channels in a stereo file so they are bound to
match exactly when recombining them again.
One more question: if these are samples of real instruments,
how much do you need them to be stereo? For e.g. a trumpet,
can you just take the "left trumpet sample" an pronounce it
the stereo trumpet", just duplicating the channel? Or is there
an actual difference? (There will be for pipe organs of course).

But that's probably the same problem when done with SoX:
you would lose the markers.

	Jan


------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi
_______________________________________________
Sox-users mailing list
Sox-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users





Avast logo

This email has been checked for viruses by Avast antivirus software.
www.avast.com


--------------FAF1A2CA8209B3E23502C2F4-- --===============1743363621724527924== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today.http://sdm.link/xeonphi --===============1743363621724527924== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Sox-users mailing list Sox-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sox-users --===============1743363621724527924==--