Recording in 1-bit boolean arrays instead of 8/16/32 bit ints?


#1

I was wondering if it's possible to make boolean arrays of 1-bit values instead of 8,16 or 32 bit integers?
I've just made an audio to PWM converter and want to use the smallest bitsize possible for recording to enable the longest possible recording size..

oh, that was easier then I thought haha... it's just called bool instead of boolean... like "bool array[8];" XD


#2

max table length for PWM-based waveforms just increased by 4 times.. :slight_smile:


#3

So did you make an object? Could be interesting for simple step sequencers or storing toggles too :wink:


#4

not yet, but it does open some new posibilities indeed