byteBeatin: bytebeat, a fairly educated guess is a fairly educated guess about what bytebeat actually is doing inside of that ubuntu.
watch the video about something you can download the patch at patchstorage for free (unlicence) https://vimeo.com/826095405
download pure data vanilla the ugly science book looking totally free way to compose music and also to load this byteBeatin .pd patch at http://msp.ucsd.edu/software.html
or if you want to look cool use plugdata https://plugdata.org/ (this patch will work in any copy of what claims to be pure data, purr data, monkey data, pdl2ork .. probably)
download git for windows at https://gitforwindows.org/
bonus: download comic mono the comic sans monospace font i use https://dtinth.github.io/comic-mono-font/
ultra bonus: right click the ttf fonts and choose install as adminitrator so you can use them in any program like in pure data ..
beyond infinity bonus: put this in pure data’s prefrences, startup, startup flags area and save
-font-face “Comic Mono” -font-weight bold
beyond infinity bonus plus one: also in preferences make sure zoom new windows is CheckBoxed On
You now have Everything you need to make this video happen (except arms)
ByteBeatiN’ .. copy/paste is your friend .. (see bottom for the algothing i originally copied)
((t<<1)^((t<>9)&t>>13))|t>>(2-(1^7&(t>>11)))|t>>7
https://sarpnt.github.io/bytebeat-composer/#v4q1ZKzk9JVbJS0tAosbEx1IyD0toaJXZ2lppqQNLQWFOzBkhrGOlqGMaZq4FkDA01IYLmSrUA
this algothing goes inside of a loop that counts from 0 to a big integer (meaning no .0 crap, just 1, 2, not 1.2 boo 1.23 go home float 0.1 booo)
this counter claims it can go on to infinity but numbers on computers probably can promise to go count to at most 2 multiplied by itself 32 times or 2 multiplied by itself 64 times whatever those numbers are. when it hits that it “wraps around” meaning it is getting a bigger number than it is but it starts over.
ok so we have this thing that just says hey if you talk to me im just going to say a single bigger number until i reach infinity bro.. Thats when the magic happens with putchar. we, being scientists wearing labcoats, again use the wrap around idea, this time the big number gets wrapped from 2^8 2pow8 2 to the power of 8 2 multiplied by itself 8 times. which a calculator probably tells you 256 but a computer tells you 255. this is where the equation goes in because then instead of counting up you can use math to stretch (t/2, t*2) or bitmask (t&69<<420) .. and make wacky numbers because putchar() is saying whatever number im going to % 256, or the newer object in pure data is [mod 256] for modulo 256 and turn any number bigger or smaller into an integer first (screw you floats) and then say it can only be 0-255, next question.
char used to mean ascii character these 256 letters and symbols and commands like beep where all a computer needed .. not very euro
and thats where babies come from
ultra bonus, you can hold down alt, hit three numbers on the numpad in a big keyboard, boom.. you just got putchar()
includes an example how to hook a slider in to control bytebeat arguments so instead of livecoding you can noodle live. more arguments can be added $f2, $f3, $f4 but be aware they start at 0, which is why I use them as additional numbers (like myGroovyNumber + 0… or maybe more)
not totally happy with the fmod wrap at the end. possibly soft clipping or foldover would be better. also it might sound better reblocked to be crappier, hey whatever
-the management
as a bonus there is a .c file and .raw headerless output to cat name.raw > /dev/dsp or cat name.raw | aplay. that started as a Git For Windows project inside Git Bash. On windows.
from Bash/Mingw64:
nano filename.c
-paste this: (you can middle click to paste or right click)
#include
int main(t)
{
for(;;t++)putchar(((t<<1)^((t<>9)&t>>13))|t>>(2-(1^7&(t>>11)))|t>>7);
}
Crtl-X
Y to save
gcc filename.c -o filename
./filename.exe
hit Ctrl-Z or Ctrl-C, maybe Ctrl-X to exit see those numbers/letters? that's a Char. it's ascii 0-255. the original only letters you could type on a computer in the 60s or whatever. which is seen on a computer at a low level as the same thing as numbers for the crappiest audio – 8bit 8khz. 2^8 probably equals 256. 256 minus one = 255, that's binary math. the ^8 means 8bit.
when you pipe data into /dev/dsp it consumes those numbers – it eats them, literally eats them at a rate of 8 thousand per. pretty much all computer files are made out of char .. why? because its small.. but not too small. BOOM.
the actual command is
./filename.exe > /dev/dsp
but it only worked once for me but i piped it to a raw unheadered audio file adn then i cat
try catting weird things to > /dev/dsp or | aplay today
you can cat anything to > /dev/dsp or | aplay
cat /dev/random > /dev/dsp
cat ./filename.exe > /dev/dsp
cat a mouse
on ubuntu you use | aplay to do the same thing as > /dev/dsp because /dev/dsp is old school just like git bash is in git for windows. You can get git for windows using https://scoop.sh and lots of other things like
*~Story To Be Continue**~
http://canonical.org/~kragen/bytebeat/
