oh, alright.
still, only 256 notes per track seems wrong. I'm pretty sure Org Maker allows for 4096 notes per track.
(unless the hex numbers in that column were actually little endian in which case they are probably right and I'm just a colossal retard, lol)
@Noxid my original code took a whole file as input and converted it to Base64, my friend simply wanted me to rewrite that code into a function (so it's easier to use / reuse) that takes a string as input rather than a whole file.
A friend told me to rewrite my file to Base64 code into a function that takes a string as input and outputs it's Base64 equivalent, so here it is! http://pastebin.com/2p6dgagP