r/AudioProgramming • • Oct 12 '26

The Trivial Metric

TL;DR -- the use of AI isn't a good metric for the worth of a post or project. Hopefully this is sufficiently on-topic to not get deleted.

The Trivial Metric is a mathematical term defined on a set, wherein the value is 1 if the comparison is between two different points in the set, and 0 if the comparison is between a point and itself.

My qualifications for writing this post: I've been programming professionally for 30+ years. I've been writing Audio and MIDI code for roughly 10 years, largely to no real monetary success. I've got enough undergrad math to be dangerous.

I can imagine how the "No AI" rules came about -- there was a massive influx of low quality AI-produced code and posts, and something had to be done about how to filter out the noise. I can understand that "No AI" was the tool that was reached for -- in fact it was the obvious choice.

And I know I'm free to start my own subreddit with different restrictions. (If I want to spend the time moderating, which, selfishly, I don't).

Without AI at my side for past year or so, the following are some of the features I would have not implemented (and might not have known about):

- prewarping for the bilinear transform -- https://www.bohrium.com/en/sciencepedia/feynman/signals_and_systems_undergraduate-frequency_prewarping_in_the_bilinear_transformation -- this provides good frequency tracking for IIR transforms derived by applying the bilinear transform to laplace transforms of filters.

- PolyBlep and BLAMP -- https://www.metafunction.co.uk/post/all-about-digital-oscillators-part-2-blits-bleps -- polynomial versions of the sinc function and its integral to reduce aliasing

- Catmull-Rom splines -- https://en.wikipedia.org/wiki/Catmull%E2%80%93Rom_spline -- For good interpolation without upsampling

- Hilbert-transform frequency shifter -- https://en.wikipedia.org/wiki/Hilbert_transform -- name pretty much says it all.

- I was just going to ignore MPE in favor of MIDI 2.0 only, but was convinced otherwise for various aspects

- Awareness of host-to-plugin process block context structural data (tempo, in particular)

- Even the realization that although poles have to be inside the unit circle for z transforms, the zeroes don't (duh).

Conclusion:

I don't have an answer for what a good alternate filter would be. I'm certainly not going to stop using AI just because some subreddits don't allow posting of it. But subreddit such as this are absolutely missing out on important topics because of the restriction.

0 Upvotes

5 comments sorted by

7

u/ImBakesIrl Oct 12 '26

This question comes from a place of curiosity and NOT judgement – do you have a background in signal processing? You mentioned programming audio for a decade.

Bullets 1, 2, 4, 6 and 7 were all under my belt in the first 3 years of doing this (I have a background in signal processing via school, which is why I ask). Applying about half of them in projects and the other half being knowledge I hadn’t applied but understood.

To your discussion: I agree. AI is perfect for filling blind spots like this. I think there’s a larger trend at play that Reddit is becoming sloppier and sloppier, and the mods across the platform are trying to keep the human feel lest we slide headfirst into dead internet theory.

2

u/mad_poet_navarth Oct 12 '26

I was a straight EE in college, prior to the digital boom. I had lots of laplace transforms, since most of what I did was analog. Of course my courses included Fourier transforms and convolution, again, strictly analog. So, prior to dipping my toes into DSP for audio independently, I did no DSP at all.

My professional experience was in networking and security (for which EE is relatively useless :/ ). Besides learning how organize projects and write clean code, the most direct experience to what I do now is reading specs (MPE, MIDI).

If I had worked at a company that did do DSP, yeah, I probably would have been introduced to a lot of this earlier. I did release an AUv3 synth plugin on the Apple App Store prior to the AI boom, and of course it suffers from some of the issues I brought up here -- no prewarping, no aliasing reduction.

I was proud to have worked through the horrendous algebra of converting butterworth filters to IIR, so I do understand the math behind the z plane pretty well at this point.

AI has become the programming peer I never had in my professional career, apparently. Also it writes code way faster than I do.

Thanks for the question!

5

u/dkode80 Oct 12 '26

I think this is spot on and mirrors my explanation. AI is prefectly fine and an extremely useful tool. The goal is to remove the tidal wave of low effort slop. Not removing all inklings of any AI use.

4

u/dkode80 Oct 12 '26 edited Oct 12 '26

So to assist with some context, I recently jumped in to help moderate and the original creator of this sub had a strict no AI projects, no AI music rules.

These rules were created out of what you mentioned, purely vibe coded projects, no real understanding of what the projects do and created usually in conjunction with a marketing funnel/for sale page as a manner to quickly forward people to a e-commerce site.

These posts were quickly becoming 90% of the posts to this sub. Why these individuals think they need to sell their vibe-coded plugins to a set of people that are creating audio plugins themselves is beyond me but that's neither here nor there.

This being said, I think it would be great for the community to discuss this rule. I've tried to exhibit restraint when removing these. As someone else pointed out, I believe their name is Homme Music, they leverage AI to assist their process and it's clear they understand the code they're writing and the process involved so their posts were left up.

In that same vein, it's clear from your links and description above, you are not purely vibe coding plugins and thus would not run afoul of the No AI Projects rule.

Up to this point, the manner in which we've been applying that rule is:

  • "Was this project created purely for marketing purposes?": Violates the no self-promo rule.
  • "Is the users post and/or project clearly AI generated with little to no knowledge or understanding of what they've created?": Violates the no AI Project posts rule.

I think it would be great if others from this community would like to discuss what this means for r/audioprogramming and how we'd like to treat these posts in the future. The vast majority of removed posts fall into one of the two categories above, the second one being a little harder to determine but not impossible.

Edit:

Overall, I'll state it publicly: Using AI in your projects is not grounds for removal. If you understand the topic at hand and are posting the project for more knowledge/sharing without the goal of spreading your brand, these will not be removed. People have started using vibe-coded projects to get their brand name out there for marketing purposes or business purpose. One individual had a clearly marketing geared github project page which was clearly meant as the start of a marketing funnel and is a prime example of No AI Project posts AND No self-promo.

2

u/mad_poet_navarth Oct 12 '26

Thanks for the clarification. This is a really good compromise IMO. It reminds me of when I was working through understanding why the laplace transform of the butterworth function is what it is -- AI got me over the hump of some sticking points -- the old math text issue of:

[equation]

(Then a miracle happens!)

Unexplained result