[GreenKeys] Another AFSK News Stream - Ras Pi

Harold Hallikainen harold at w6iwi.org
Wed Jul 30 22:29:56 EDT 2025


And here's a shell script:


----------------------
#/bin/bash

# Loop playing of NPR AFSK audio

while true
do
  mpv https://w6iwi.org/rtty/audio/npr/audio/60wpm/latest.php
done

--------------------------

Good luck!

Harold


On Wed, July 30, 2025 5:52 pm, Harold Hallikainen wrote:
> I just tried the below on cygwin:
>
>
> mpv https://w6iwi.org/rtty/audio/npr/audio/60wpm/latest.php
>
> and it worked... You could have a shell script that calls this over and
> over, and it SHOULD give you continuous audio always feeding the latest.
>
> Good luck!
>
>
> Harold
>
>
> On Wed, July 30, 2025 5:24 pm, Duncan Brown wrote:
>
>> Harold,
>>
>>
>>
>> Your urls work on a laptop (downloads the wav file to be played) but
>> the Ras Pi doesnt seem to know what to do with the php urls.
>>
>>
>>
>> The Museum's computer manager is looking into it.
>>
>>
>>
>> Anyone else been able to use a RasPi to dowload & play Harolds files?
>>
>>
>>
>> Thanks,
>>
>>
>>
>> Duncan
>> K2OEQ
>>
>>
>>
>>
>> On 7/28/2025 6:13 PM, Harold Hallikainen via GreenKeys wrote:
>>
>>
>>>
>>> Thanks! The URLs are:
>>>
>>>
>>>
>>> https://w6iwi.org/rtty/audio/csm/audio/60wpm/latest.php
>>>
>>>
>>>
>>> and
>>>
>>> https://w6iwi.org/rtty/audio/npr/audio/60wpm/latest.php
>>>
>>>
>>>
>>> A new AFSK file for each of these is created every 2 hours.
>>> latest.php does a redirect to the most recent one. The most recent 10
>>> files are kept so you can continue to play one without it being
>>> overwritten by a new one.
>>>
>>> I just tried this:
>>>
>>>
>>>
>>> curl
>>> --Locationhttps://w6iwi.org/rtty/audio/npr/audio/60wpm/latest.php
>>>
>>>
>>>> test.wav
>>> and it worked. The --Location tells curl to follow the redirection.
>>> The
>>> fetched file is sent to standard output. Here I sent it to test.wav.
>>> You
>>> would pipe it to an audio player.
>>>
>>> Note that the audio is 8 bit WAV at 8 kbps. It is NOT MP3, so don't
>>> send it through lame or other MP3 decoders.
>>>
>>> Let me know if I can provide any further information!
>>>
>>>
>>>
>>> Thanks!
>>>
>>>
>>>
>>> Harold
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> On Mon, July 28, 2025 2:23 pm, Duncan Brown wrote:
>>>
>>>
>>>> Harold,
>>>>
>>>>
>>>>
>>>>
>>>> What are the URLs for the individual NPR & CSM audio streams?
>>>>
>>>>
>>>>
>>>>
>>>> The AWA Museum presently uses a RasPi to bring out the ITTY streams
>>>>  and send the AFSK signal to a TU for printing.  I would like to
>>>> add your 60wpm NPR & CSM streams, but don't see the individual URLs
>>>> for them.
>>>>
>>>>
>>>> -...-
>>>>
>>>>
>>>>
>>>>
>>>> Looked at all the details in your email and it looks like the audio
>>>>  stream is generated with the newest information whenever a request
>>>> to play the file is made?
>>>>
>>>> Any easy way this could be made such that the latest file could be
>>>> stuffed into a fixed location so that it could be retrieved from a
>>>> fixed url by a simple device such as a RasPi with no display?
>>>>
>>>> Thanks,
>>>>
>>>>
>>>>
>>>>
>>>> Duncan Brown, K2OEQ
>>>> USASA    31J30
>>>>
>>>>
>>>>
>>>>
>>>> Antique Wireless Association
>>>>  Communication Technologies Museum
>>>>    Asst. Curator, Commercial Equipment
>>>> (also chief TTY op & repairman)
>>>>
>>>>
>>>>
>>>>
>>>> i-Telex: 212503
>>>>
>>>>
>>>>
>>>>
>>>> www.antiquewireless.org
>>>>
>>>> AWA Youtube channel:
>>>> https://www.youtube.com/channel/UCX55peBhzeX1qps_VYXdLBA
>>>> Virtual AWA Museum TTY
>>>> Tour:https://www.youtube.com/watch?v=TpB6jM90VV8
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> On 7/28/2025 12:51 AM, Harold Hallikainen via GreenKeys wrote:
>>>>
>>>>
>>>>
>>>>> Today I added the Christian Science Monitor to the available news
>>>>>  streams. It is athttps://w6iwi.org/rtty/audio/csm/
>>>>>
>>>>>
>>>>> Harold
>>>>> https://w6iwi.org
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>> ______________________________________________________________
>>>> GreenKeys mailing list
>>>> Home:http://mailman.qth.net/mailman/listinfo/greenkeys
>>>> Help:http://mailman.qth.net/mmfaq.htm
>>>> Post:mailto:GreenKeys at mailman.qth.net
>>>>
>>>>
>>>>
>>>>
>>>>>>> Jordan Spencer Cunningham's GreenKeys Search Tool:
>>>>>>> https://teletype.net/gksearch
>>>>>>> 2002-to-present greenkeys archive:
>>>>>>> http://mailman.qth.net/pipermail/greenkeys/
>>>>>>> 1998-to-2001 greenkeys archive:
>>>>>>> http://mailman.qth.net/archive/greenkeys/greenkeys.html
>>>>>>> Randy Guttery's 2001-to-2009 GreenKeys Search Tool:
>>>>>>> http://comcents.com/tty/greenkeyssearch.html
>>>>>>>
>>>>>>>
>>>>>>>
>>>> This list hosted by:http://www.qsl.net
>>>> Please help support this email list:http://www.qsl.net/donate.html
>>>> Message delivered toharold at w6iwi.org
>>>>
>>>>
>>>>
>>>>
>>>
>> ______________________________________________________________
>> GreenKeys mailing list
>> Home: http://mailman.qth.net/mailman/listinfo/greenkeys
>> Help: http://mailman.qth.net/mmfaq.htm
>> Post: mailto:GreenKeys at mailman.qth.net
>>
>>
>>
>>>>> Jordan Spencer Cunningham's GreenKeys Search Tool:
>>>>> https://teletype.net/gksearch
>>>>> 2002-to-present greenkeys archive:
>>>>> http://mailman.qth.net/pipermail/greenkeys/
>>>>> 1998-to-2001 greenkeys archive:
>>>>> http://mailman.qth.net/archive/greenkeys/greenkeys.html
>>>>> Randy Guttery's 2001-to-2009 GreenKeys Search Tool:
>>>>> http://comcents.com/tty/greenkeyssearch.html
>>>>>
>>>>>
>>
>> This list hosted by: http://www.qsl.net
>> Please help support this email list: http://www.qsl.net/donate.html
>> Message delivered to harold at w6iwi.org
>>
>
>
> --
> Not sent from an iPhone.
>
>


-- 
Not sent from an iPhone.


More information about the GreenKeys mailing list