Live data from Hacker News

Sound

ciechanow.ski

21–30 of 222 posts

Re: Sound

#21
post #15

If you have not yet seen this site, please free a couple of hours and browse through archives, it's the best educational material I have ever seen! https://ciechanow.ski/archives/

Any idea what framework (if any) this is written in?

View the source of the articles and you will find thousands of lines of readable HTML, handwritten JavaScript using canvas and WebGL, and handwritten audio manipulation using window.AudioContext. Similar stories for the author's other incredible articles.

Re: Sound

#24
I'm starting to think Bartosz Ciechanowski is from another planet. Everything he does is the very best explainer on that subject.

Re: Sound

#25

+1 for the recommendation for "The Scientist and Engineer's Guide to Digital Signal Processing" by Steven W. Smith. I spoke to Steven many years ago about his putting all of the book PDFs online for free and since then have recommended at least 5 university libraries to buy it because the students could get free copies of a great book that can be referenced in the library. FWIW the The Scientist and Engineer's Guide…

The book is amazing: http://www.dspguide.com/ (link for the lazy)

Re: Sound

#26
I love how every Ciechanowski post starts explaining from the very basics, but makes things so beautifully explained that my 10s attention span magically extends up to the way where I can learn a lot.

Re: Sound

#27
post #15

If you have not yet seen this site, please free a couple of hours and browse through archives, it's the best educational material I have ever seen! https://ciechanow.ski/archives/

Any idea what framework (if any) this is written in?

It's hand-crafted WebGL with no frameworks, which is insane. If you View Source on the page, you'll see that the JS is readable because he doesn't minify at all.

Re: Sound

#28
The three keys piano at the beginning is so responsive and nice that I was stuck playing with it for 5 minutes, that's how you hook someone to read an article

Re: Sound

#29

I love the web audio API. I've been making a game where the theme is "I don't do art" so my assets are CSS, emojis, and manually made sounds using frequency and sinewaves and such. The one lesson I learned the hard way is that if you run a full-volume sine wave long enough you can permanently destroy your laptop speakers.

Reminds me of Marcan trying to make Asahi not do that on MacBooks, and so far failing (https://github.com/AsahiLinux/linux/issues/53). I didn't know that Windows laptops also had speakers that would burn out with high-volume playback.

Re: Sound

#30
I love it when I'm halfway through something and take a second to pause and wonder why someone put so much effort into it, and them I appreciate that they did. This is amazing.

One thing that surprised me the first time I learned it is how 'dense' air is under normal circumstances. The 'mean free path' is the mean distance that a particle travels before changing velocity (typ due to collision). The mean free path of atmospheric air at standard pressure is ~65 nanometers, with ~2x10^19 (20 billion billion) molecules per cubic centimeter experiencing about 10^33 collisions per second. This is roughly the volume of an adult's ear canal.

Post reply on HN