From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS3561 216.34.176.0/20 X-Spam-Status: No, score=-2.3 required=3.0 tests=AWL,BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,RCVD_IN_SORBS_SPAM,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS, T_DKIM_INVALID shortcircuit=no autolearn=no autolearn_force=no version=3.4.0 Received: from lists.sourceforge.net (lists.sourceforge.net [216.34.181.88]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 4CB952055E for ; Wed, 25 Oct 2017 20:25:49 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=sfs-ml-4.v29.ch3.sourceforge.com) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.89) (envelope-from ) id 1e7SFI-0008Iy-35; Wed, 25 Oct 2017 20:25:48 +0000 Received: from sog-mx-3.v43.ch3.sourceforge.com ([172.29.43.193] helo=mx.sourceforge.net) by sfs-ml-4.v29.ch3.sourceforge.com with esmtps (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.89) (envelope-from ) id 1e7SFH-0008Is-GN for sox-users@lists.sourceforge.net; Wed, 25 Oct 2017 20:25:47 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Type:To:Subject:Message-ID:Date:From:References:In-Reply-To:MIME-Version; bh=fyC7OBuUlJ9Hd2wz+QtVIg19Fkg/MHOrFj3HxsChWbc=; b=Qd3JV1NEHtNjDElPJIBgKN9MDhSZ70gMJfbQ/JFK7KbffuN1B4dAhrSz3wx6Pn8AZKTTkE6pY+k11TUmpZD4O1Ykiq1Wn6e83iHkTNu4klO5e/806ojmkEOHUKIERmcgWtLALDEQKUY8IysafFdIFvIAoc8tzmx0/bhLaj5YsJM=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x; h=Content-Type:To:Subject:Message-ID:Date:From:References:In-Reply-To:MIME-Version; bh=fyC7OBuUlJ9Hd2wz+QtVIg19Fkg/MHOrFj3HxsChWbc=; b=Kb89wtH8wgvsAOjUPfltXO0mEnTUdAAsilMQNlkKsG29ZCy+v9oRvZ5eRsMV3F5OmAwjF4wkCvd/M4BQCRYubvV7B1dQkddG2M+vP5ZFfAUGOWQ2MYmuQW7YMbLZwuKdmefsgd/BkqNtDPF9j/fNMBdcIKP/ObQmt95QA1TlxaU=; Received-SPF: pass (sog-mx-3.v43.ch3.sourceforge.com: domain of gmail.com designates 209.85.161.182 as permitted sender) client-ip=209.85.161.182; envelope-from=ghe2001@gmail.com; helo=mail-yw0-f182.google.com; Received: from mail-yw0-f182.google.com ([209.85.161.182]) by sog-mx-3.v43.ch3.sourceforge.com with esmtps (TLSv1:AES128-SHA:128) (Exim 4.76) id 1e7SFG-0003Hg-Dh for sox-users@lists.sourceforge.net; Wed, 25 Oct 2017 20:25:47 +0000 Received: by mail-yw0-f182.google.com with SMTP id k3so1107964ywk.8 for ; Wed, 25 Oct 2017 13:25:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=fyC7OBuUlJ9Hd2wz+QtVIg19Fkg/MHOrFj3HxsChWbc=; b=jg6NZadbsox7wzCLYM2ub6mm1iTur+azdebp81qqaMUvElnPTl58yI3HlJpCRACsa3 ycXNl6nw7KHo7lnaHOfJ97/yHaOlD1k/StUtpqXPBYUB2mU1bs3EU1AXS8gUGfUg9dWZ V2qjCF1woAkeA5o5pMRKFxl7cafH6Sx2OgWHaWApL6yM6Z4TgziQmq74Szk1g7rhNNCS eL354Geo20iEjfhJVuqvCRhoefnfqKxwD3Z4PQ6rgY5cqaKIrn/9Z9Mjm01cHZbonW0e S0GD9j20Fd2wSLV0EoCLXGu6ZiEnIwDL1phJviqpj78c7y0wzvn6sH3svxwHIUudIrld 4etw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=fyC7OBuUlJ9Hd2wz+QtVIg19Fkg/MHOrFj3HxsChWbc=; b=RFnVcN+D6L9sTRCZE4vAUKu9SPihIpqBPEyUzZSeMVmOtayl/68/3Ym6OnYq7Di/al 69m3OWcRC5O87u6yzFL53YpU+lorbUPG4AyKXrrXd/riW/Dw+cigSqO77TM0ZJaPaWDQ YOIULI6LVn/CvxHMOWZ7AdGNNMxCO0l/KW9SM6ONAYPbydB+6O0BUvVzPrZVvfn1V9P7 zMOzCplFRq7PCmgFHlNCCijPXGKhhwE09yvy3x5xlC99d51v4BEIXgvjvPUllfjsasTk 5oZmOK2XwS2HDHCq14EhPwpoXq5qAew5rTf3J0aTFmQICTIOt/lA62g6G+MnFc1Mr0u2 2tDA== X-Gm-Message-State: AMCzsaW0nbaCi+zzYGFlmUL5c48V85CsULT1JC+MfdkZFHrLP3DoyWdE sAc4I+1j+gyNqB4cn0ZImG05ubFhqw/TutPOAc0= X-Google-Smtp-Source: ABhQp+RlgjP8BzPpdqkcS9YJYHl/NVr+NiDctADHHp2evQma+34DsTmlxqyKy1K0cxYWtoVeifOfVqVN71iLge+OTqU= X-Received: by 10.129.228.73 with SMTP id t9mr14354211ywl.112.1508963140701; Wed, 25 Oct 2017 13:25:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.37.103.131 with HTTP; Wed, 25 Oct 2017 13:25:10 -0700 (PDT) In-Reply-To: <20171025180735.GA49885@www.stare.cz> References: <82af7d1a9ad07b0bd46d7d9c99ddcf75@wingsandbeaks.org.uk> <20171025180735.GA49885@www.stare.cz> From: Glenn English Date: Wed, 25 Oct 2017 20:25:10 +0000 Message-ID: To: sox-users@lists.sourceforge.net X-Headers-End: 1e7SFG-0003Hg-Dh Subject: Re: multitasking X-BeenThere: sox-users@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: sox-users@lists.sourceforge.net Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: sox-users-bounces@lists.sourceforge.net On Wed, Oct 25, 2017 at 6:07 PM, Jan Stary wrote: > $ sox input output effect1 effect2 effect3 ... Thanks > A single SoX process will run on a single CPU. Thanks again. > The effects are applied in the order you specify them. And again. > But you don't have a billion little flacs, you have one huge flac. > (BTW, why? Is this the complete Nibelungs?) No. But it's The Girl Who Kicked the Hornet's Nest and the like. It comes in a billion little wavs that get converted to a billion little flacs and them cat'ed into one huge flac (SoX, BTW, has no trouble with a command line with 250+ params). They all have to be cat'ed for the effects to be consistent throughout. > A single instance of SoX will perform the effects in sequence. > You can try running a pipeline of many SoX instances instead: > $ sox input - effect1 | sox - - effect2 | ... | sox - output effectN > Then your operating system could assign each SoX process to a separate CPU. That's kinda what I thought -- pipes. > It would be simpler if you isolated your SoX problem to just that. > The rest of your program has nothing to do with this. I'm having no problem at all (well, just a bit at first) with SoX. It's a delightful piece of software. Back in the analog days, I once spent all fall editing and splicing up a project that took all summer to record (Homer's Iliad). Easily a left arm for the likes of SoX/Python back then :-) > I'm not sure you understand: there is no "self sorting". There is if I need to specify the effects in a rational order. EQ before compression before normalize, for example. > The sequence of effects (or the order of the pipeline) > is determined by your SoX command. That assumes a little sorting or the command line by me. A mortal. > You still haven't told us what exactly > you want to do with the single input file. I don't know yet. There are a lot of decisions to be made, probably different for every file/user. I want to prepare a sort of menu for the user of various options of some of SoX' effects, then give the list of desired effects to SoX to do, probably overnight. -- Glenn English ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Sox-users mailing list Sox-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sox-users