[GreenKeys] Another news feed!
Harold Hallikainen
harold at w6iwi.org
Sun Dec 29 22:52:33 EST 2024
Thanks! I largely did this for my DSP TU project (
https://w6iwi.org/rtty/DspTU2/ ). I have a WiFi module on there that I
will have connect to the server. I did not want to deal with MP3 decoding,
so I went with 8 bit 8 kHz PCM (good enough for the telephone company!).
I'm sending 45 bit per second data over a 64 kbps stream!
Now I'll start working on the code to get the DSP TU to pull the data from
the server.
Harold
On Sun, December 29, 2024 7:05 pm, Doug Alderdice via GreenKeys wrote:
> With the news of the passing of a former president happening right now,
> it is kind of cool to be printing notable, current news from my Teletype
> machine!
>
> Many thanks for this!
>
> 73,
>
> Doug, KA2WFT
>
>
> On 12/29/2024 8:02 PM, Harold Hallikainen via GreenKeys wrote:
>> Thanks for the comments on https://w6iwi.org/rtty/audio/nyt/ ! I've been
>> working on it most of today. It works pretty well, but it generally
>> quits
>> after sending NYT.wav . It SHOULD refetch it and play the next. I've
>> been
>> messing with code to play a list of files. To make each file appear
>> different, the requests are NYT.wav?n=0, n=1, etc. This SHOULD force a
>> new
>> request. It looks like it might be, but the audio player then waits for
>> someone to hit play. I used code from Google that is supposed to play
>> files sequentially... Another issue is that on the hour, I regenerate
>> nyt.wav . Even though I set the response headers to include
>> Accept-Ranges:
>> none , the header generated by Apache also includes Content-Range: bytes
>> 229376-21380883/21380884 , so the browser does byte range requests.
>>
>> For example, I see a request with the header:
>>
>> Range: bytes=229376-
>>
>> I THINK that on these range requests, it can be getting the old file and
>> the new one.
>>
>> I'll continue to bang on this. I might change the cron job that does the
>> update to be less frequent (currently once per hour) so the issue comes
>> up
>> less often.
>>
>> Fun stuff!
>>
>> 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 to harold at w6iwi.org
>
--
Not sent from an iPhone.
More information about the GreenKeys
mailing list