Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lipkowski.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_MED,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 X-Spam-DCC: : mailn 1480; Body=3 Fuz1=3 Fuz2=3 Received: from post.thorcom.com (post.thorcom.com [195.171.43.25]) by lipkowski.org (8.14.4/8.14.4/Debian-8+deb8u1) with ESMTP id v5NLEHED025662 for ; Fri, 23 Jun 2017 23:14:18 +0200 Received: from majordom by post.thorcom.com with local (Exim 4.14) id 1dOVqJ-0004Xy-PK for rs_out_1@blacksheep.org; Fri, 23 Jun 2017 22:10:15 +0100 Received: from [195.171.43.32] (helo=relay1.thorcom.net) by post.thorcom.com with esmtp (Exim 4.14) id 1dOVqJ-0004Xp-6N for rsgb_lf_group@blacksheep.org; Fri, 23 Jun 2017 22:10:15 +0100 Received: from mout02.posteo.de ([185.67.36.66]) by relay1.thorcom.net with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1dOVqG-0000On-Fn for rsgb_lf_group@blacksheep.org; Fri, 23 Jun 2017 22:10:13 +0100 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 9490D20A2E for ; Fri, 23 Jun 2017 23:10:11 +0200 (CEST) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 3wvWLV0dk7z10HR for ; Fri, 23 Jun 2017 23:10:10 +0200 (CEST) Message-ID: <594D83B1.1070702@posteo.de> Date: Fri, 23 Jun 2017 23:10:09 +0200 From: DK7FC User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3 MIME-Version: 1.0 To: rsgb_lf_group@blacksheep.org References: <15ca21dc75e-1e15-bcda@webprd-m105.mail.aol.com> <0f9558b4-457d-a395-58c9-7f9be3393cdd@sky.com> <4767d79f-2bf6-d838-bfd4-3e78102d6f5d@abelian.org> <510c15eb-b57a-0ebb-9037-1f83e0652cf2@sky.com> <594933CC.70603@posteo.de> <594D2E83.7090204@posteo.de> <512e0960-4f30-7305-58d7-4d3dacb469fe@abelian.org> In-Reply-To: <512e0960-4f30-7305-58d7-4d3dacb469fe@abelian.org> X-Scan-Signature: a6b6ffaf48fdddf1ed5c25dc4bf03ee1 Subject: Re: LF: Octo-soundcard for the Raspi, question Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-SA-Exim-Scanned: Yes Sender: owner-rsgb_lf_group@blacksheep.org Precedence: bulk Reply-To: rsgb_lf_group@blacksheep.org X-Listname: rsgb_lf_group X-SA-Exim-Rcpt-To: rs_out_1@blacksheep.org X-SA-Exim-Scanned: No; SAEximRunCond expanded to false X-Scanned-By: MIMEDefang 2.75 Status: RO X-Status: X-Keywords: X-UID: 12077 Hi Paul, Thanks for the help. Am 23.06.2017 19:56, schrieb Paul Nicholson: > Because @raw3 is format float8 instead of int2 as you > expected. Hm, i did expect that @raw3 has the same format as @raw2 and that the only difference is the changed samplerate. > > @raw2 is int2 but the resampling into @raw defaults to > float8 again. > > You can drop one of the stages: > > sudo vtcard –d hw:1,0 –r96000 –b32 –c8 –B @raw > > vtresample –r24000 –B @raw:1,2,3 @raw2,i2 > > vtwrite –B @raw2 /media/usbstick > > will have the desired effect because @raw2 is int2 format All right. But what if the vtcat stage would be not obsolete for some reasons, how could i change the @raw3 format into ,i2 again? I tried vtresample -r24000 @raw2 @raw3,i2 but the the process aborts, i.e. it does not work like that. > and vtwrite always writes with the format of its input > stream. I did expect that, RR. > > > If you don't need to tee anything else off @raw2, > you can pipeline it and save some overhead of the > circular buffer: > > vtresample –r24000 –B @raw:1,2,3 -- -,i2 | > vtwrite –B @raw2 /media/usbstick Very good, i will do so. 73, Stefan