News for hackers. Stuff that matters.
Re:Building a Signal Analyzer with Modern Web Tech by password4321 on Sunday May 21, 2023 @09:13PM (#36026292)
Related:

Show HN: I've built a spectrogram analyzer web app

https://news.ycombinator.com/item?id=35781959 (19 days ago)

https://webfft.net/dft/

Re:Building a Signal Analyzer with Modern Web Tech by totetsu on Sunday May 21, 2023 @09:25PM (#36026381)
That Webfft is fun. Try recording yourself making a few long vowel sounds A I U E O AE UH , and take a look at how the harmonics/formants/ the pattern of peeks at different frequencies is distributed between sounds.
Re:Building a Signal Analyzer with Modern Web Tech by ssgh on Sunday May 21, 2023 @11:12PM (#36027039)
FYI, it supports decoding ultrasound wav files. I use a Dodotronic UM250K mic to capture ultrasound up to 125 kHz. LCD monitor and other electronics emits some interesting sounds. For some reason, getUserMedia doesn't allow high sample rates, but ffmpeg works:

ffmpeg -f alsa -channels 1 -sample_rate 250000 -i hw:CARD=r4,DEV=0 -t 5 mic.wav