-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|413|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-



Krakatomato

point between 2 numbers?

11th December 2018

Then you need to tweak the value of Beta to suit. Since all you want is your waveform smoothing then this is all you need - because that's exactly what it does.


Krakatomato

point between 2 numbers?

11th December 2018

Probably a good starting point is something like: kiritchatterjee.wordpress.com/2014/11/10/a-simple-digital-low-pass-filter-in-c/


Krakatomato

point between 2 numbers?

10th December 2018

I'm still not sure why this is so complicated.

When I re-read your original comment of "I need to smooth out my wave form (in real time)" then this is exactly what a low-pass filter does. You can even knock one up in a single line of code<snip>


Krakatomato

point between 2 numbers?

8th December 2018

I'd suggest taking a look at low-pass filters. Millions of examples on the internet and I believe a simple version will be all you need (and you're not far off it with the code above anyway).


Krakatomato

The Big C

6th October 2018

My father died of cancer when I was 18yrs old. I helped my brother and my sister through it along with my mum. Sadly, a strong 18yr old lad has to fail at some point and I really went pear-shaped. Make sure everybody takes care of each other and watch f<snip>


Krakatomato

Spinal and Helen’s Big Day

20th September 2018

Congrats chap - now go enjoy the rest of your day (and especially the evening!)

Here's to the future with your new wife and your new job. Take care and best wishes to both of you.


Krakatomato

C++ If this or that?

21st August 2018

Tbh, you're spending too much time looking into something that saves practically sod all. Honestly, from almost 25 years in the industry, and working on extremely low level devices with almost no memory whatsoever, I know you're really looking in <snip>


Krakatomato

C++ If this or that?

21st August 2018

^^^ that


Krakatomato

C++ If this or that?

21st August 2018

You're really looking in the wrong place if you're hoping to improve performance. And using a switch statement would result in essentially the same thing - the asm equivalent of a whole bunch of IF statements - 18 of them.


Krakatomato

C++ If this or that?

21st August 2018

"Works fine, but I know that requires 4 lookups of fn.. "

No - it will short-circuit as Tom stated above. No point trying to optimise that to something else as you're already in highly-optimised assembly land.


Krakatomato

Headphone Selection

9th August 2018

I find I prefer to pay a little more than budget because I use them day in day out. Looking around, those 598's priced at 92 quid is a bargain as they used to be a hell of a lot more. The replacement (which doesn't change it by much) will set you<snip>


Krakatomato

Headphone Selection

9th August 2018

My fave headphones died a death so I got some cheaper Senn's a while back: https://www.amazon.co.uk/gp/product/B06WLGRYSF

They've exceeded my expectations for the price I paid, although they seem to be somewhat more expensive now - guess I got t<snip>


Krakatomato

Positive Manic Shooter

7th August 2018

Just a shame GLBasic is going the way of the dodo


Krakatomato

Positive Manic Shooter

7th August 2018

Lovely looking GLBasic project... Linkage


Krakatomato

Finding a Job for Spinal

19th July 2018

I heard that a certain brand that stretches your pound is looking to buy up a large number of PW stores.


Krakatomato

Basic Engine

28th June 2018

Thanks chap. Hopefully I can make up the numbers. If not I may go for a smaller pcb run of 10.


Krakatomato

Basic Engine

28th June 2018

I like fun little things like this - a nice distraction from everything else


Krakatomato

Basic Engine

28th June 2018

Also, if you're not a member of that forum and are interested, then you can reply in here


Krakatomato

Basic Engine

28th June 2018

Little project for interested parties: Linkage


Krakatomato

Erm, Java, chargable... Erm...

27th June 2018

For "us" lot, there's not issue. Seriously, there's nothing. This is for businesses/corporations only.

Oracle has threatened for quite a while that it will charge for Java - and aim that squarely at the business market - not casual u<snip>


Krakatomato

ZX Spectrum Next casing.

27th June 2018

I really regret not backing the Next, but having been burned a few times I will never back another kickstarter/indiegogo ever. Here's hoping they are able to put these up for sale because I'd actually really like one.

With respect to the actual<snip>


Krakatomato

Erm, Java, chargable... Erm...

26th June 2018

This is for commercial organisations when they make use of Oracle Java - installing a license manager just like many other commercial pieces of software now.

For random people like us you don't need this. Anybody (including commercial organisation<snip>


Krakatomato

ComPHPlicated

24th June 2018

PHP is a pile of shit and I refuse to touch it. In my professional job, if a customer asked for something to be made using it I would simply walk away.

Nope, no, nah, no fanks missus. CRAP.

btw - I have the same feeling for Python, but that ar<snip>


Krakatomato

Printed C64 Drive

30th May 2018

L M A O


Krakatomato

Printed C64 Drive

30th May 2018

By the way, I've not sanded down any parts or cleaned away stray bits or "stringy" parts. No doubt you'll have more fun cleaning that up than I would

More - Older Posts