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.4 required=3.0 tests=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 7AAB4202A5 for ; Wed, 27 Sep 2017 06:30:13 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=sfs-ml-3.v29.ch3.sourceforge.com) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.89) (envelope-from ) id 1dx5rI-00014q-Cv; Wed, 27 Sep 2017 06:30:12 +0000 Received: from sog-mx-2.v43.ch3.sourceforge.com ([172.29.43.192] helo=mx.sourceforge.net) by sfs-ml-3.v29.ch3.sourceforge.com with esmtps (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.89) (envelope-from ) id 1dx5qn-0000Ki-7u for sox-users@lists.sourceforge.net; Wed, 27 Sep 2017 06:29:41 +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=rHT+6K+NQeEOjerWT6N2pvswOphvScRmaV0PfY0Eyes=; b=kYiJroVMHPaoWOHh0avMzD0/HNutpXfBA0bu+fahUY4GwPW4Js7rxDys4Q08T9k2xaG9cqdQFjP9QYoobFF7lfUQWESz0zIX49kaR6IatX8E8XVuxPEMa+8ugPfN7jHsIhsOfxtxm5MTnjtCS1fLjV6rRmAHDp9cLBc09yOJ8zE=; 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=rHT+6K+NQeEOjerWT6N2pvswOphvScRmaV0PfY0Eyes=; b=XX1FA9/pBuQtBHJxWpP93N1t8sMIdrQzmVoz4xOUhHRsssPSmj0gj/r6I5JoCtb3s83BeRlOBJGBoloJy33yR6wtxlPedE0a8N17O5XJtXzXOumwXjF0FFjqvtgdcq8r+9n+4mYL/JZiBKw+6ZzwwNMT0lF0tS5BWGFrJu3lgvc=; Received-SPF: pass (sog-mx-2.v43.ch3.sourceforge.com: domain of gmail.com designates 209.85.161.176 as permitted sender) client-ip=209.85.161.176; envelope-from=ghe2001@gmail.com; helo=mail-yw0-f176.google.com; Received: from mail-yw0-f176.google.com ([209.85.161.176]) by sog-mx-2.v43.ch3.sourceforge.com with esmtps (TLSv1:AES128-SHA:128) (Exim 4.76) id 1dwu5T-0008NY-LO for sox-users@lists.sourceforge.net; Tue, 26 Sep 2017 17:56:05 +0000 Received: by mail-yw0-f176.google.com with SMTP id r85so7640550ywg.1 for ; Tue, 26 Sep 2017 10:56:03 -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=rHT+6K+NQeEOjerWT6N2pvswOphvScRmaV0PfY0Eyes=; b=rXUddWSnvaBcV5Xwvx6udm6FyPvHFH3QiyWdQvylBspluNyf4Nu0in6MXUVp+KZoII bdKgSF4nkH+Qx5fLFOA+czYF5CU0jfQwyQyGNFgywe5Xb5fxFHIwHRBpOBCAiqqmADpU Z7N03sM6tRgx/GDRMu02psNQ+iMIpl5BXGcEvp2lFCZ3cRbqltGrFLKrWADKlMf3/pa5 oN/FrN9aKWY7OMyfIALMiRwDSybXJzlORS6dnj3uIvcKpH38Mo30mW9HJ0rZ7DeSL869 hvC6/6m3/mg6K3SElQMVRDZ1xo2WxvArd/mKYlrmpywko92kYD4I+9kxXIABXe08uXON Y1Bg== 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=rHT+6K+NQeEOjerWT6N2pvswOphvScRmaV0PfY0Eyes=; b=Hm9rwzeacWNrgclICJCLA6tCwb87y/Ue6zWqiAqcKGtHdYLZx/W4QsHYLkFsmTO8zQ ltAfc6gH6DgUp+9m8lWQhyozKzSjJbhh/YSGwOcv7tMsPXcJCnddyceWihnNH9DZ6WWf Rq2Mjn8X/mg1d5DK9sroYR0QPGztxpdVp+vjjxgE7YU5wvPgDF0+wpeZIQyJu6TOSLo9 spOhQ+qFm/BJvH+j0d/GMyNP445pKIuSDhzBd2QNeK0cJIAWR2Qp+XVLrm+ECKtKFYR8 4J+GBgTTTNwynsHWpK1yjLiJRUeN4z3A7NjktUOFjzz12PRp4SWLGJ9H3Jbv++/xb4pL a17w== X-Gm-Message-State: AHPjjUjWoa7jnCqQ6aVtKimcNWZoZy0GnoOtwIKjB/97ymyeNrpIVrqp /orXl9hms1nmxq8c8tRsFHm9bwmwa3+3TH/Xr0ZDlg== X-Google-Smtp-Source: AOwi7QCm2Y4M33PhwFkZ3ST6ugesTB6ikKJ79k2EmUHis1X2cRtKJEpAyT9hxfOKnQumkzOE3nialnzpeAjoDzUnP4g= X-Received: by 10.37.4.150 with SMTP id 144mr7028039ybe.209.1506446711732; Tue, 26 Sep 2017 10:25:11 -0700 (PDT) MIME-Version: 1.0 Received: by 10.37.220.209 with HTTP; Tue, 26 Sep 2017 10:24:41 -0700 (PDT) In-Reply-To: <20170923123336.GA23221@www.stare.cz> References: <20170922173416.GA32079@starla> <20170923123336.GA23221@www.stare.cz> From: Glenn English Date: Tue, 26 Sep 2017 17:24:41 +0000 Message-ID: To: sox-users@lists.sourceforge.net X-Headers-End: 1dwu5T-0008NY-LO Subject: Re: concat problem 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 Sat, Sep 23, 2017 at 12:33 PM, Jan Stary wrote: > On Sep 22 16:36:39, ghe2001@gmail.com wrote: >> Debian Jessie, Supermicro box, SoX 14.4.1, SoX noob. > > The current version is 14.4.2 Not on Debian Jessie it's not. >> I ask SoX to concatenate AIFFs, and Mac Air stops at the end of first file. >> I've written a Python script (first use of SoX) > > If you are new to SoX, learn it by running SoX, > not by writing Python scripts. In Python, you just create a list of the command and the options and stuff, and it's passed to the kernel. There was only one point where that didn't work -- the concatenation to aiff. And besides, I did try running things by hand when there were problems. > What happens if you play the file with SoX's own play(1)? > What does 'play --ignore-length output.aiff' do? > What does soxi(1) say about the file? Dunno. > Also, you can contatenate the original mp3's just as easily, > so why are you converting them to aiff first? Because there is sometimes a need for a lossless file, and I don't trust anything to process mp3s properly. (I've run into that with different software.) > We don't know what 'big' computer is that and what a 'sneaker net' is > and how it relates to your aiff problem. The 'big computer' is a Supermicro server type -- it doesn't play music. 'Sneakernet', IIRC, is a term used at Apple back in the dark ages. When you wanted to give a colleague some bits, you wrote them onto a floppy and carried the floppy to where it had to go. By hand, walking on sneakers. And neither seemed to have anything to do with the aiff problem. Both machines displayed the same trouble. > It would also be easier to do audio work > on a comupter wich has sound. Duh.\ I like to check a generating/processing program on several computers to look for bugs. The failure was pretty obvious -- when I 'ran' the sound file on the silent computer, it came back in a few seconds. The noisy computer is an Apple MacBook Air running VLC. I consider it a reliable reproducer of audio. > $ soxi file.aiff I don't know soxi. I'll try to become familiar with it... > Why are you converting the mp3s to aiff, > then concating the aiffs to aiff, and then reconvert to mp3? > Why don't you just concat the mp3 files as they are > if that's what you eventually want to have? See above. And there was to be an additional step (and still is) where the whole lossless file was normalized, equalized, and compressed. > In that case, the aiff outout you are creating is probably too big. No, It wasn't. I thought of that, and cut the size down to very small. Same result. > What exactly was the command line and what exactly was the error message? I sent the command in a response to Eric (see below), and there was no error message. Eric solved my last week's problem last week. > 316M of flac is a lot. What exactly are you doing here and why? What? I'm trying to convert audiobook CDs into a single file on a computer disk. Last week, I was working with a collection of mp3s that a friend of mine had already processed from CD, into a million mp3s. This week, it's a million wav files ripped by cdparanoia from live CDs of a Tom Clancy novel. Why? Because I don't have a CD changer attachment on my computer. And the Air doesn't even have a CD player. > Are you _concatenating_ hornet parts to create a rendition of a song? > How long is that song that it takes 316M of flac? Like I said, the source was a reading of 'The Girl Who Kicked the Hornet's Nest'. Big, real big. But there's plenty of space on my disk. >> > What's the exact command? >> ['sox', '--multi-threaded', '--combine', 'concatenate', >> 'flacs/1-01HornetIntro.flac', 'flacs/1-02Hornet01a.flac', >> 'flacs/1-03Hornet01b.flac', 'flacs/1-04Hornet01c.flac', >> 'flacs/1-05Hornet01d.flac', 'flacs/1-06Hornet01e.flac', >> 'flacs/1-07Hornet02a.flac', 'flacs/1-08Hornet02b.flac', >> 'flacs/1-09Hornet02c.flac', 'flacs/1-10Hornet02d.flac', >> 'flacs/1-11Hornet02e.flac', 'flacs/2-01Hornet02f.flac', >> 'flacs/2-02Hornet03a.flac', 'flacs/2-03Hornet03b.flac', >> 'flacs/2-04Hornet03c.flac', 'flacs/2-05Hornet03d.flac', >> 'flacs/2-06Hornet03e.flac', 'flacs/2-07Hornet04a.flac', >> 'flacs/2-08Hornet04b.flac', 'flacs/2-09Hornet04c.flac', >> 'flacs/2-10Hornet04d.flac', 'flacs/2-11Hornet04e.flac', >> 'flacs/2-12Hornet04f.flac', 'big_file.flac'] > What "subprocess"? See Python dox. It's a class/module Python uses to interact with the kernel. >> Like I said, I've tried that. > > And? Same result. >> FLAC works. > > Meaning what? The conversion to flac and the concatenation generates a file that plays past the first 6 or 7 seconds. > You can create a flac output that long, > as opposed to an aiff output that long? Well, pretty much. The are both lossless files containing all the data, but the flac is way shorter that the aiff. And it works. -- 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