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,T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.0 X-Spam-DCC: EATSERVER: mailn 1166; Body=2 Fuz1=2 Fuz2=2 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 v1HLRYER009247 for ; Fri, 17 Feb 2017 22:27:35 +0100 Received: from majordom by post.thorcom.com with local (Exim 4.14) id 1ceq0Y-0004lS-UP for rs_out_1@blacksheep.org; Fri, 17 Feb 2017 21:24:02 +0000 Received: from [195.171.43.32] (helo=relay1.thorcom.net) by post.thorcom.com with esmtp (Exim 4.14) id 1ceq0Y-0004lJ-G2 for rsgb_lf_group@blacksheep.org; Fri, 17 Feb 2017 21:24:02 +0000 Received: from porthos.netcom.co.uk ([217.72.171.73]) by relay1.thorcom.net with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.87) (envelope-from ) id 1ceq0V-0007VV-La for rsgb_lf_group@blacksheep.org; Fri, 17 Feb 2017 21:24:01 +0000 X-DKIM-Result: Domain=abelian.org Result=Signature OK DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=abelian.org ; s=default; h=Content-Transfer-Encoding:Content-Type:In-Reply-To: MIME-Version:Date:Message-ID:From:References:To:Subject:Sender:Reply-To:Cc: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Ejd36x3ym1OnrLYNjiIv160JyXmzmLlp14R3XRjS8Vk=; b=t9/MB+s9YufYM/txwZP1ZVU+fx 1XbIfmncO4r8PSmjLpZ3FsEAHsjyGm4FloughvqrkqjWgWAQrg2qc39XpbKli16d+xOvXxcQATXQ5 4057TVSdJkqg/+qZz20kKDj3Zyq4/PbZTjGgT+E+P867g5UeVJ0nZOIcY+B26BnU44gk=; Received: from i-194-106-52-83.freedom2surf.net ([194.106.52.83]:60601 helo=pn.abelian.org) by porthos.netcom.co.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.88) (envelope-from ) id 1ceq0U-0008A9-BV for rsgb_lf_group@blacksheep.org; Fri, 17 Feb 2017 21:23:58 +0000 Received: from [127.0.0.1] (localhost [127.0.0.1]) by pn.abelian.org (Postfix) with ESMTP id B0AFB400920 for ; Fri, 17 Feb 2017 21:23:57 +0000 (UTC) To: rsgb_lf_group@blacksheep.org References: <58A38C76.9060406@posteo.de> <5a6be489-1da5-50d8-b5a1-9ada319703c9@abelian.org> <945d5f49-3fc4-d7c1-fecc-196e7c3ac8dd@abelian.org> <02e201d287e6$a1386060$e3a92120$@comcast.net> <58A581D3.4080706@posteo.de> From: Paul Nicholson Message-ID: Date: Fri, 17 Feb 2017 21:23:57 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <58A581D3.4080706@posteo.de> X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - porthos.netcom.co.uk X-AntiAbuse: Original Domain - blacksheep.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - abelian.org X-Get-Message-Sender-Via: porthos.netcom.co.uk: authenticated_id: catchall@abelian.org X-Authenticated-Sender: porthos.netcom.co.uk: catchall@abelian.org X-Scan-Signature: 0317e2ac8ed27149e57223a21580246d Subject: Re: LF: Raspberry Pi sound interface that works Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit 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: 10623 In three days of testing EbSynth on the Audio Injector and RPi 2 there has been two sound card input overruns. These occur when the program cannot read the input buffer fast enough and it fills up. The input buffer is 680mS long when running at 96k/sec. One of the overruns occurred when it was running with real time scheduling. Perhaps the program was blocked while writing the log file or updating the display. The RPi is headless and the screen displays over X11 to my workstation so it could potentially block long enough du to a dropped LAN packet. I've uploaded a v0.7b which splits the program into two threads: one RT thread runs the synthesizer and keyer, the other normal thread drives the display and log file. Now the only thing the RT thread will block on is the sound device. It'll need several days testing to see if this fixes the overruns. I hope so, otherwise the Audio Injector will not be good enough to run EbSynth. When used for VLF reception with vtcard and vttime, the occasional input overrun wont be a problem - vttime will recover back to the proper timing after a few seconds. The new version needs a -lpthread option at the end of the gcc command line. Apart from the overruns, 0.7a ran for 30 hours and drifted by no more than 0.3 degrees. Stefan wrote: > ...they are available again, > https://www.amazon.co.uk/gp/product/B01HBC8CJ0/ That's good to see. If testing continues to go well I'll order a couple more next week. Jim wrote: > I saw your message indicating disinclination toward RPi 3 > power dissipation Perhaps the unused features can be powered down if not required? There might be an option for that in /boot/config.txt ? > what type of interface would be used between an outdoor RPi 2 > and an indoor laptop Maybe the WiFi would carry the downlink. I don't know if you can connect a Yagi antenna to it. I would probably use cat5 cable to uplink power and downlink the LAN. The RPi, AI, and GPS would have to be sited some distance from the VLF antenna and front end anyway, with the usual DC isolation separating the two. > should I be thinking of Audio Injector plus RPi 2as an > unattended datalogger rather than a real-time interface > between VLF loop and laptop? I would use it as a real time interface. I wouldn't try to cache the signal on the RPi storage. A short (~30 sec) lock-free buffer will isolate vttime from any temporary network hold-ups. -- Paul Nicholson --