Live data from Hacker News

Ultrafast single TCP packet audio/visual experience

github.com

21–30 of 79 posts

Re: Ultrafast single TCP packet audio/visual experience

#22
post #21
post #20

Nice work. I guess it'd just as quick if it sent up to ~4kB - that's the normal TCP initial window? https://tools.ietf.org/html/rfc3390

At least in Linux, ICWND is set to 10 now: https://tools.ietf.org/html/rfc6928

Hm. I what the distribution of latency vs bandwidth is like, whether 14kB or 2 round trips takes longer for most people?

Re: Ultrafast single TCP packet audio/visual experience

#23

For those you are wondering, this is a webserver that serves an HTML page in a single TCP packet. I guess ≤ 1500 bytes to avoid fragmentation - shows as 1.1KB in Chrome's network view. The HTML contains embedded JavaScript that runs a simple demo with animated ASCII and playing a LOUD changing audio tone. You can visit the demonstration website here: http://packet.city/ You can see a screenshot of the demo here: http…

This would be really great without the audio. Due to the sound of the audio my initial reaction is to be fascinated, followed immediately by discomfort.

Re: Ultrafast single TCP packet audio/visual experience

#29
post #27

Pro-tip: If you are doing additive synthesis and want to stack sine-waves in a harmonic series, please scale each successive n harmonic to an amplitude of 1/n. It creates a much more tolerable experience.

also maybe the title could have [LOUD!!!] or something like that. I didn't realize my system could make a noise that loud with vol at 50%.
Post reply on HN