new version
authorTobias Girstmair <tobi@isticktoit.net>
Wed, 3 Mar 2021 23:42:02 +0000 (00:42 +0100)
committerTobias Girstmair <tobi@isticktoit.net>
Wed, 3 Mar 2021 23:42:02 +0000 (00:42 +0100)
bsv.c

diff --git a/bsv.c b/bsv.c
index 52140ec37111aee8ac11817752f4224a392b4e48..bf3e991a07b3182f2ac0fc916ee3852d7c45e917 100644 (file)
--- a/bsv.c
+++ b/bsv.c
@@ -2,11 +2,14 @@ typedef unsigned char u8;
 
 int i;
 
-u8 notes[] = "Qj}6jQ6%BY}6YB6%";
+u8 notes[] = {
+       0x84, 0x9d, 0xb0, 0x69, 0x9d, 0x84, 0x69, 0x58,
+       0x75, 0x8c, 0xb0, 0x69, 0x8c, 0x75, 0x69, 0x58
+};
 
 u8 g(u8 x, u8 t, u8 o){
        u8 notes_ix = t%8 + 8*!!(3&i>>16);
-       return((3&x&(i*(notes[notes_ix]+51)>>o))<<4);
+       return((3&x&(i*(notes[notes_ix])>>o))<<4);
 }
 void main(void){
        i = 0;
Imprint / Impressum