Readit News logoReadit News
flogoe commented on Effort and Challenges in Building Embedded Audio DSP Software Across Platforms   switchboard.audio/hub/bui... · Posted by u/pabs3
MomsAVoxell · 4 months ago
Disclaimer: I work for a manufacturer of headphones and microphones. If you’re into Pro Audio, you have undoubtedly heard of or used our products, which are in widespread use throughout the industry. I spend my days in the lab with DSP engineers who are responsible for noise cancellation and other algorithms some of you may even be using right now, in fact. I myself work on plugins related to post-processing features to support our microphones, which are in wide use throughout the industry, on stage and in the studio, by amateurs and pros alike.

I found a lot wanting in this article. The emphasis on a lack of tooling seems very ill conceived. The #1 DSP tool in use in this industry is .. Matlab.

Yet, it’s not even mentioned.

Here’s how it goes: Matlab is used to model and test everything. Algorithms are developed, refined, tested and evaluated in Matlab, which has ample capabilities to do realtime audio with high performance. Once the algorithm has been demonstrated and proven, it is ported from Matlab to C, and then core parts are implemented in assembly.

This does not take years. It takes months and in some cases, with a great DSP team, even just weeks. Matlab has plenty of tools for doing this properly .. from visual tools, to optimization functions. There are very, very few professional DSP engineers who don’t work with Matlab in this way.

So this article really just felt a bit more like marketing copy designed to sell their product .. and as I got to the bottom of the article to see the mention of the JS event loop and the browser, I felt like the article was intentionally being disingenuous about the real issues. (The real issue with embedded DSP development is that hardware vendors are terrible compiler developers; but this has had the side effect of making great DSP guys into great assembly programmers. You absolutely must use assembly; but you must also absolutely use Matlab.)

And then, there is JUCE. JUCE is rapidly becoming THE tool to use for high performance audio - it dominates the desktop plugin market - but, as it matures, it has become more and more embeddable. There are devs out there who have made millions with JUCE plugins and are now porting their JUCE code to hardware and embedded platforms with a great deal of ease.

If you want to do embedded DSP properly, start with Matlab, get your ideas implemented, port to C++, integrate into JUCE, and then port your JUCE code to embedded, if your BOM budget supports a decent processor - or, port your processBlock() to assembly, if it doesn’t. This is the future of DSP platform development. Meanwhile, Matlab->C->Assembly is a very well refined workflow, and it is quite productive. One of the best reasons to keep those assembly language programming chops sharp.

flogoe · 4 months ago
Very interesting. I work for a large (for the industry at least) company that builds audio effect plugins and virtual instruments. Me and most of my collegues have not touched Matlab since we left uni and when talking to devs from other companies I got the same impression.

For prototyping and algorithm development we mainly use python, sometimes domain specific languages like Faust or CMajor but most of the time we go with C++ right away.

flogoe commented on Ansel   ansel.photos/en/... · Posted by u/sts153
aoeusnth1 · 2 years ago
I can't get this to build for MacOS, has anyone succeeded? I ran the brew commands from the mac-nightly CI script, did `git submodule init; git submodule update` and get this error running `build.sh`:

``` $ sh build.sh --build-type Release --install --sudo --clean-all;

In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.0.sdk/usr/include/cups/http.h:39: /Library/Developer/CommandLineTools/SDKs/MacOSX14.0.sdk/usr/include/netinet/ip.h:189:2: error: unknown type name 'u_char' u_char ipt_code; /* IPOPT_TS */

```

...etc

flogoe · 2 years ago
Did you see the OS Support section in the README [0]? I tried for about 15 minutes and didn't get it to build. And even if it did, it would probably not be stable enough to use for anything productively.

[0] https://github.com/aurelienpierreeng/ansel#os-support

flogoe commented on Arc Browser 1.0   arc.net/... · Posted by u/pps
renewiltord · 2 years ago
I've been using this browser all through the waitlist period and it's great!

Some of the decisions I don't like (my Bitwarden button is hidden by default which makes password filling hard - I don't have it fill automatically on page load), but overall I've enjoyed using it. My favourite features:

- split tabs (I prefer this over tiling in the WM)

- little arc

- PiP works very well for video calls

- I have a bunch of apps pinned (ChatGPT / Gmail / Calendar / Github) and a bunch of tabs below that

- I like the single action bar on Cmd-T

Overall, big fan, and I'd pay some amount for it probably.

flogoe · 2 years ago
I tried arc for a while and I didnt stick with it just because of the tiling. I just miss the flexibility of being able to have more than 3 windows visible in a useful orientation. For me it simply didnt work on a huge screen.

u/flogoe

KarmaCake day2August 31, 2022View Original