Re: Bitmasking in DSP Code
Posted: Wed Dec 27, 2017 7:55 am
OMG! Time for everyone to smile about me!
I made two errors. First, the binary representation of 1 is of course totally different for floats than for integers (what I had in mind when writing).
Second, somewhere in the thought process I completly lost the purpose of this thing: A trigger! Instead I imagined constantly incoming audio data that would be "or-ed".
Thanks for taking the time. Now it's absolutely clear. Ah, what a feeling.
I made two errors. First, the binary representation of 1 is of course totally different for floats than for integers (what I had in mind when writing).
Second, somewhere in the thought process I completly lost the purpose of this thing: A trigger! Instead I imagined constantly incoming audio data that would be "or-ed".
Thanks for taking the time. Now it's absolutely clear. Ah, what a feeling.