If you have a problem or need to report a bug please email : support@dsprobotics.com
There are 3 sections to this support area:
DOWNLOADS: access to product manuals, support files and drivers
HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects
USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here
NEW REGISTRATIONS - please contact us if you wish to register on the forum
Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright
Bitmasking in DSP Code
33 posts
• Page 4 of 4 • 1, 2, 3, 4
Re: Bitmasking in DSP Code
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.
"There lies the dog buried" (German saying translated literally)
- tulamide
- Posts: 2714
- Joined: Sat Jun 21, 2014 2:48 pm
- Location: Germany
Re: Bitmasking in DSP Code
tulamide wrote:A trigger! Instead I imagined constantly incoming audio data that would be "or-ed".
Cograts! However you are correct in that its constantly changing for the incoming audio, that is each sample. So the conditions and values can be different for the next sample it processes.
- adamszabo
- Posts: 667
- Joined: Sun Jul 11, 2010 7:21 am
Re: Bitmasking in DSP Code
adamszabo wrote:tulamide wrote:A trigger! Instead I imagined constantly incoming audio data that would be "or-ed".
Cograts! However you are correct in that its constantly changing for the incoming audio, that is each sample. So the conditions and values can be different for the next sample it processes.
Yes, you're right, and I am aware of that. What I meant was, that "out" will never be audio data (as I stupidly thought at some point in the process), but either 0 or 1 (for each of the poly notes that is).
"There lies the dog buried" (German saying translated literally)
- tulamide
- Posts: 2714
- Joined: Sat Jun 21, 2014 2:48 pm
- Location: Germany
33 posts
• Page 4 of 4 • 1, 2, 3, 4
Who is online
Users browsing this forum: No registered users and 14 guests