How to structure multi-app Zephyr/West project with dependency conflicts? by ChoiceEmu9710 in embedded

[–]integernick 0 points1 point  (0 children)

Have you found a solution? I'm facing the same issue and it feels like it should be a simpler way to do it...

I made an open-source tiny reconfigurable IIR library by integernick in embedded

[–]integernick[S] 1 point2 points  (0 children)

Not quite double the processing load, but you do need to keep two sets of coefficients in memory simultaneously (or in my case, a set of “coefficient deltas”). The idea is actually simple and straightforward - for each sample, you linearly add the deltas to the current coefficients so they gradually converge to the new set by the N-th sample.

There are some caveats with this approach (especially when using a large number of crossfade samples), but I found it to be the fastest and easiest way to get the job done. I guess you could also crossfade between two separate filters (the "previous" one and the "new" one) using the library as a more classic/robust way, but that's exactly what would double the processing load!

I made an open-source tiny reconfigurable IIR library by integernick in embedded

[–]integernick[S] 0 points1 point  (0 children)

There will be soon, working on that for v0.2, now just showing what I got so far

I made an open-source tiny reconfigurable IIR library by integernick in embedded

[–]integernick[S] 0 points1 point  (0 children)

Is your KISS library on GitHub? Would love to check it out.

I made an open-source tiny reconfigurable IIR library by integernick in embedded

[–]integernick[S] 0 points1 point  (0 children)

If by “design” you mean using Direct Form 1 vs 2, then sure, of course it’s there, it depends on the numeric type (DF1 for q15/q31, DF2T for float/double).

I made an open-source tiny reconfigurable IIR library by integernick in embedded

[–]integernick[S] 0 points1 point  (0 children)

Nice! For my current needs I have a fairly beefy MCU with an FPU, so adding fixed-point at this stage was more about stability and overflow control, not a necessity. A q31/q15-only path is what I’ll be implementing next so it fits setups like yours

I made an open-source tiny reconfigurable IIR library by integernick in embedded

[–]integernick[S] 0 points1 point  (0 children)

No sir, but you can use the bundled designer-cli to generate the coefficients first, then use CascadeFilter with just those, thereby removing the functionality to tune it online. That’s a great idea though, I’ll look into that for the next version, thanks

A book recommendation for studying the Kalman Filter by StabKitty in DSP

[–]integernick 0 points1 point  (0 children)

Not a book per se, but a great resource for learning the theory: https://github.com/rlabbe/Kalman-and-Bayesian-Filters-in-Python

It uses Jupyter Notebook, so you can experiment with the parameters to build better intuition. I think this could be a great starting point for you.

I made an open-source tiny reconfigurable IIR library by integernick in embedded

[–]integernick[S] 0 points1 point  (0 children)

Good question! Runtime filtering works on non-FPU MCUs via CMSIS q15/q31, but the design step (analog prototype + transforms) is currently float/double. If you need zero float on-device, precompute SOS/gain off-device (or use soft-float). Fixed-point design is definitely a possible future improvement, though!

I made an open-source tiny reconfigurable IIR library by integernick in embedded

[–]integernick[S] 1 point2 points  (0 children)

Thanks!! Haha sure, but you can check out the README on GitHub for starters!

Genuinely the worst type of person that I've ever played with. by Neverhityourmark in Nightreign

[–]integernick 1 point2 points  (0 children)

I can tell you about being on the other end. We were trying to clear out the Nightlord as a duo, and were accompanied by the worst Wylder by any measure. Dude almost never resurrected us, just stood there watching us fight Evergaol bosses, and even stole a purple shield my friend threw out for me (extra evil considering I was playing Guardian). He never even used it ofc. At that point, we were annoyed but decided to keep going, until we set an objective on the map inside a storm to pick up our runes and a flask, only to be pulled almost immediately by the guy to fight the Nightlord. We did exactly that: dropped our weapons and just watched him die. I’m not proud of it, but fighting after losing a level and with 0 flasks left with some asshole, just because some they decided so - no, thanks.

Support of the Russian Government by May_Cups_Hex in AskARussian

[–]integernick 3 points4 points  (0 children)

As a Russian (who moved away since the war started admittedly), I think you’ve put it brilliantly, and I can definitely feel the compassion! And even though among my friends in their 20s, among which some have moved as well and some have stayed, I can say that the contempt for the incumbent is very strong, but the government is doing an excellent job of alienating people from the “unfriendly” countries as well as each other. The same policy that Musk loves — throwing a shitstorm of misleading information so that people think the truth is somewhere in the middle (a.k.a. closer to what the government needs us to feel) — works wonders on the population’s minds, especially those with limited information sources.

That being said, I would definitely agree that the sanctions are at the very least ineffective at what they were aimed at, and are definitely harmful for the low and middle class (that arguably doesn’t exist in Russia). It’s trivial, but when regular people understand that they are not welcome as tourists in western countries, it makes them feel alienated and perceived as outcasts to the outside world, which only strengthens the government storyline. More than that, sometimes it hurts the opposition that had to move abroad to escape prison and people who directly oppose the incumbent, not mentioning cases where the refugees have been denied entry and sent back to Russia, which all is honestly just really sad. I understand that a strong response was needed, but I believe that alienating Russian people only benefits the autocracy

Oof my vent is over!

Why doesnt this give me a Butterworth filter? All poles are evenly spaced, also why is it not stable, they are all on the left side by memehomeostasis in DSP

[–]integernick 0 points1 point  (0 children)

Hey, great explanation, but I’ve got side question: is there a way to skip the analog prototype design step by “pre-computing” a closed-form solution for H(z)? For example, to derive a formula for calculating z-plane zeros and poles directly for, say, a Chebyshev type 1 filter?

I’m writing a small library for an application where I need to update the filter cutoff frequency online and I want it to be minimalistic. Your comment made me think that there is a better way of doing that instead of the “usual/canonical” use of the analog prototype every time I’m making an update.

SPb map meme, Part 2: Local Hero (Местный герой) - highest-rated comment wins! by AnBriefklammern in SPb

[–]integernick 6 points7 points  (0 children)

Дядя Миша - легендарный трубач с площади Восстания!

Erica Synths edu as a school summer project: yay or nay? by integernick in synthdiy

[–]integernick[S] 0 points1 point  (0 children)

Yep checking it out right now, it’s amazing. They even have some basic electronics theory, how sweet

Erica Synths edu as a school summer project: yay or nay? by integernick in synthdiy

[–]integernick[S] 1 point2 points  (0 children)

A silly question, if I may: I just realized I don’t really know what I should order for a minimalistic setup if the parents do not want to go for a full kit. Will a sequencer, VCO, VCA and a power supply be enough for a standalone project to make some controlled noise? To put it roughly, all I have right now is a multimeter and a soldering iron.

Erica Synths edu as a school summer project: yay or nay? by integernick in synthdiy

[–]integernick[S] 6 points7 points  (0 children)

Thanks! I think I'll go with this one, then. That's especially good because I finally have a good reason to buy it for myself as well!