TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Building a Signal Analyzer with Modern Web Tech

138 pointsby Ameoalmost 2 years ago

8 comments

reapermanalmost 2 years ago
The overall article is extremely clearly written and well-diagrammed, as you&#x27;d expect from someone who writes software for test&#x2F;metrology equipment. It does look pretty different from your usual web-dev retrospective, and shares more in common with &quot;$BROWSER Internals&quot; style articles.<p>The thesis:<p>&gt; I recently spent some time building a browser-based signal analyzer (spectrogram + oscilloscope) as part of one of my projects. I ended up using some very modern browser APIs and technologies that I&#x27;d not worked with before, and I discovered a lot of really interesting patterns and techniques that I&#x27;d never seen before in a web app.<p>&gt; <i>Building this application has made it clear to me that the modern web is extremely well-suited to building complex multi-threaded and graphics-intensive applications.</i>
评论 #36024183 未加载
评论 #36028632 未加载
password4321almost 2 years ago
Related:<p><i>Show HN: I&#x27;ve built a spectrogram analyzer web app</i><p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=35781959" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=35781959</a> (19 days ago)<p><a href="https:&#x2F;&#x2F;webfft.net&#x2F;dft&#x2F;" rel="nofollow">https:&#x2F;&#x2F;webfft.net&#x2F;dft&#x2F;</a>
评论 #36027039 未加载
评论 #36026381 未加载
bigger_cheesealmost 2 years ago
Being able to run an FFT on audio signal in real time in a background thread seems really cool. Not sure how feasible it is but could be the basis for speech recognition engine running in browser (I&#x27;m not expert but I know Speech detection machine learning models are trained on range of FFT derived signals) - if you can pipe the FFT output to ML endpoint you could potentially have speech to text generation running in the browser - or something like automatic closed caption generation from an incoming audio signal.
评论 #36026295 未加载
评论 #36026532 未加载
Kiroalmost 2 years ago
I think the biggest problem with SharedArrayBuffer is that you need to set the Cross-Origin-Opener-Policy and Cross-Origin-Embedder-Policy headers for it to work at all (due to Spectre), which means you need a host or a web server where you can configure that.
jcparkynalmost 2 years ago
Very cool project and great write-up, nice work OP.
cushychickenalmost 2 years ago
This doesn&#x27;t seem like something you should be able to do with a web browser.<p>Very dope. Glad I saw this. Great work.
评论 #36024903 未加载
ameliusalmost 2 years ago
You really need a realtime-OS for this if you want to prevent buffer underruns from happening. Otherwise, it is certainly not audiophile-safe.
评论 #36025886 未加载
hulitualmost 2 years ago
&gt; Building a Signal Analyzer with Modern Web Tech<p>No info about HW ? Does he uses the soundcard ? Then it is nothing new.