Glitch Storm: A DIY Bitranger-Bytebeasque-Chiptunethingo
Moderators: Kent, luketeaford, Joe.
- FetidEye
- demonic space drone
- Posts: 2165
- Joined: Mon Dec 06, 2010 5:00 pm
- Location: Red Zone
- Contact:
Re: Glitch Storm: A DIY Bitranger-Bytebeasque-Chiptunethingo
I'm not a math whizz, so for clarification:
which symbols can I use . these?
& (AND)
| (OR)
>> (shift left?)
<< (shift right?)
*
- (min)
+ (plus)
^ (XOR)
? (what does this one mean?
which symbols can I use . these?
& (AND)
| (OR)
>> (shift left?)
<< (shift right?)
*
- (min)
+ (plus)
^ (XOR)
? (what does this one mean?
- FetidEye
- demonic space drone
- Posts: 2165
- Joined: Mon Dec 06, 2010 5:00 pm
- Location: Red Zone
- Contact:
Re: Glitch Storm: A DIY Bitranger-Bytebeasque-Chiptunethingo
I'm not a math whizz, so for clarification:
which symbols can I use . these?
& (AND)
| (OR)
>> (shift left?)
<< (shift right?)
*
- (min)
+ (plus)
^ (XOR)
? (what does this one mean?
which symbols can I use . these?
& (AND)
| (OR)
>> (shift left?)
<< (shift right?)
*
- (min)
+ (plus)
^ (XOR)
? (what does this one mean?
- SphericalSound
- Wiggling with Experience
- Posts: 489
- Joined: Thu Feb 01, 2018 9:23 am
- Location: Spain
Re: Glitch Storm: A DIY Bitranger-Bytebeasque-Chiptunethingo
That´s correct. The ? is an "IF", it uses a ":" that is an "ELSE"
- FetidEye
- demonic space drone
- Posts: 2165
- Joined: Mon Dec 06, 2010 5:00 pm
- Location: Red Zone
- Contact:
Re: Glitch Storm: A DIY Bitranger-Bytebeasque-Chiptunethingo
just saw this, an awesome bytebeat coding guide by tuesday nightmachines (who is also a member of this forum)
it is written for the AE modular Algodrone, but can be applied to any bytebeat related project.
https://nightmachines.tv/downloads/Byte ... M_v1-5.pdf
note:
the greggman site is also a cool online and realtime code tool
it is written for the AE modular Algodrone, but can be applied to any bytebeat related project.
https://nightmachines.tv/downloads/Byte ... M_v1-5.pdf
note:
the greggman site is also a cool online and realtime code tool
- Noodle Twister
- Common Wiggler
- Posts: 233
- Joined: Wed Jan 02, 2019 10:22 pm
- Location: UK
Re: Glitch Storm: A DIY Bitranger-Bytebeasque-Chiptunethingo
Here's my build. No mods yet as I only ordered three pots 
It's a fun project with satisfying results. Sounds good through a VCA controlled with short envelopes too.
A cool addition to anyone's tiny army of small desktop synths

It's a fun project with satisfying results. Sounds good through a VCA controlled with short envelopes too.
A cool addition to anyone's tiny army of small desktop synths

- SphericalSound
- Wiggling with Experience
- Posts: 489
- Joined: Thu Feb 01, 2018 9:23 am
- Location: Spain
Re: Glitch Storm: A DIY Bitranger-Bytebeasque-Chiptunethingo
It´s so satifying to see others builds on your babies
. Thanks for sharing!.
My preferered ways to connect the glitch is directly to a ring modulator or to a Steiner filter using the three inputs at the same time (all pass?).
I also love to use it to ping filters

My preferered ways to connect the glitch is directly to a ring modulator or to a Steiner filter using the three inputs at the same time (all pass?).
I also love to use it to ping filters
Re: Glitch Storm: A DIY Bitranger-Bytebeasque-Chiptunethingo
Thank you for the cool design!
Built a Eurorack version of this. Panel not finished yet, probably will stay unfinished for a while because I kind of like the look.
Looks like the build was the easy part, because now it's time to learn how to deal with bytebeats.

Built a Eurorack version of this. Panel not finished yet, probably will stay unfinished for a while because I kind of like the look.
Looks like the build was the easy part, because now it's time to learn how to deal with bytebeats.


Re: Glitch Storm: A DIY Bitranger-Bytebeasque-Chiptunethingo
?: is the ternary If operator, i.e. (x?A:B) is A if x is a true condition, B if x is a false one.
>> is bitwise right shift, << is bitwise left shift. The former is equivalent to multiplication with a power of two, i.e. a<<b is a*2^b. The latter is equivalent to division by powers of two except for some subtleties concerning sign.
& and | are bitwise AND resp. OR.
The symbols are C/C++ operators, which probably doesn't immediately help you but which is good to know if you want to google them for further research. Generally speaking, the Arduino is programmed in a C++ dialect.
- SphericalSound
- Wiggling with Experience
- Posts: 489
- Joined: Thu Feb 01, 2018 9:23 am
- Location: Spain
Re: Glitch Storm: A DIY Bitranger-Bytebeasque-Chiptunethingo
Super interesting!. I have one version designed for eurorack too, but I never send the files to fab. I guess is pretty similar to yours. You have 5 pots, the other 2 are volume and pitch, isnt?.Obolenski wrote: ↑Tue Mar 03, 2020 2:53 pmThank you for the cool design!
Built a Eurorack version of this. Panel not finished yet, probably will stay unfinished for a while because I kind of like the look.
Looks like the build was the easy part, because now it's time to learn how to deal with bytebeats.![]()
![]()
If any day I will release it for eurorack, I guess I will include a gate/trigger input to reset/launch the machine and maybe some kind of "position" pot, where you can dial in what part of the bytebeat timeline the algoridth starts (when receiving the previous gate/trigger). If you are still building it you could add it to your panel. The mods in the arduino code should be pretty simple and maybe some day I go to write it (if anybody doesnt do it before)
If you have questions about the arduino programming Im here to help
And thanks for showing your build

Re: Glitch Storm: A DIY Bitranger-Bytebeasque-Chiptunethingo
Yes, those are pitch and volume.SphericalSound wrote: ↑Tue Mar 03, 2020 5:05 pmYou have 5 pots, the other 2 are volume and pitch, isnt?.
The additional inputs you've mentioned sound interesting.
So far, the device feels complete as it is and rather then polishing it I think I'd rather dive into bytebeat programming, so I'm not sure I'm going to get round to adding more controls. But that might change of course because now I know of the possibilities

Regardless, even if I'm not going to use it, I think it would be cool If you were to post the info on how to change the code - for anyone else who might be interested.
- SphericalSound
- Wiggling with Experience
- Posts: 489
- Joined: Thu Feb 01, 2018 9:23 am
- Location: Spain
Re: Glitch Storm: A DIY Bitranger-Bytebeasque-Chiptunethingo
I will write it in no time.
Exploring new equations can be incredibly addictive too. If you find some audiojewel, share around!
Exploring new equations can be incredibly addictive too. If you find some audiojewel, share around!
- SphericalSound
- Wiggling with Experience
- Posts: 489
- Joined: Thu Feb 01, 2018 9:23 am
- Location: Spain
Re: Glitch Storm: A DIY Bitranger-Bytebeasque-Chiptunethingo
Two new modes added to Glitch Storm:
-While left button is pressed, you can change the speed of the main timer up to x15 faster tweaking POT 1
-Also, while left button is pressed, you can tweak POT 2 to change the main sample rate, going for the actual 16384Hz down to 256Hz, so now you can tune the machine to your preferred note/octave down to LFOs speeds.
-You can press Reset button (in the center of the Arduino) to go back to initial values
I still have a TON of ideas to improve it. Like a "reverse time" mode and one so cool that I dont even know how to explain... yet... something like "elastic mode" and will be massive...
Sources and .hex updated in the github:
https://github.com/spherical-sound-society/glitch-storm
Go update!
Edit: The old version is 0.1. Actual is 0.8, by the way
-While left button is pressed, you can change the speed of the main timer up to x15 faster tweaking POT 1
-Also, while left button is pressed, you can tweak POT 2 to change the main sample rate, going for the actual 16384Hz down to 256Hz, so now you can tune the machine to your preferred note/octave down to LFOs speeds.
-You can press Reset button (in the center of the Arduino) to go back to initial values
I still have a TON of ideas to improve it. Like a "reverse time" mode and one so cool that I dont even know how to explain... yet... something like "elastic mode" and will be massive...
Sources and .hex updated in the github:
https://github.com/spherical-sound-society/glitch-storm
Go update!
Edit: The old version is 0.1. Actual is 0.8, by the way
- Noodle Twister
- Common Wiggler
- Posts: 233
- Joined: Wed Jan 02, 2019 10:22 pm
- Location: UK
Re: Glitch Storm: A DIY Bitranger-Bytebeasque-Chiptunethingo
Thanks for this
Looking forward to updating the firmware and trying out the new modes

Looking forward to updating the firmware and trying out the new modes

- SphericalSound
- Wiggling with Experience
- Posts: 489
- Joined: Thu Feb 01, 2018 9:23 am
- Location: Spain
Re: Glitch Storm: A DIY Bitranger-Bytebeasque-Chiptunethingo
Hey, dont update yet... Im about to do the "reverse time" mode. Just wait 30-40 mins...
- SphericalSound
- Wiggling with Experience
- Posts: 489
- Joined: Thu Feb 01, 2018 9:23 am
- Location: Spain
Re: Glitch Storm: A DIY Bitranger-Bytebeasque-Chiptunethingo
Ok, It´s done.
Final version 0.9, both in source code and compiled .hex.
When you press left button, you can have standard time with Pot 1 at 12 o.clock. The more counterclockwise you move the pot, the faster the time goes backwards. And the opposite for the clockwise.
It still needs some fine tuning in the interactions when you release the button and I still have to implement the "elastic mode", hopefully I will in the coming days. In the meanwhile this update brings a whole pack of new timbres and dimensions to the table.
Final version 0.9, both in source code and compiled .hex.
When you press left button, you can have standard time with Pot 1 at 12 o.clock. The more counterclockwise you move the pot, the faster the time goes backwards. And the opposite for the clockwise.
It still needs some fine tuning in the interactions when you release the button and I still have to implement the "elastic mode", hopefully I will in the coming days. In the meanwhile this update brings a whole pack of new timbres and dimensions to the table.
- Noodle Twister
- Common Wiggler
- Posts: 233
- Joined: Wed Jan 02, 2019 10:22 pm
- Location: UK
Re: Glitch Storm: A DIY Bitranger-Bytebeasque-Chiptunethingo
Just tested it out and it is excellent. Thanks for this. Really opens it up. Love it 

- SphericalSound
- Wiggling with Experience
- Posts: 489
- Joined: Thu Feb 01, 2018 9:23 am
- Location: Spain
Re: Glitch Storm: A DIY Bitranger-Bytebeasque-Chiptunethingo
Thank you for your feedback, Noodle!. Yeah, it takes it furtherNoodle Twister wrote: ↑Thu Mar 05, 2020 10:05 pmJust tested it out and it is excellent. Thanks for this. Really opens it up. Love it![]()

- SphericalSound
- Wiggling with Experience
- Posts: 489
- Joined: Thu Feb 01, 2018 9:23 am
- Location: Spain
Re: Glitch Storm: A DIY Bitranger-Bytebeasque-Chiptunethingo
Updated. Last one is Rev 0.95 hex and source in the github
https://github.com/spherical-sound-society/glitch-storm
Changes:
-Left and right buttons changed. So right is + and left is -
-Fixed a bug that repeated program number 16 twice
-Now it starts with program 1 lit (right led ON on start)
-Solved a bug when pressing left changed the sample rate and clock speed. Now you need to longpress left button to modify sample rate (POT 2) and "reverse time mode" (POT 1).
-To enter synch clocks mode, now you have to longpress RIGHT button.
That´s all. There will probably more updates in any moment
https://github.com/spherical-sound-society/glitch-storm
Changes:
-Left and right buttons changed. So right is + and left is -
-Fixed a bug that repeated program number 16 twice
-Now it starts with program 1 lit (right led ON on start)
-Solved a bug when pressing left changed the sample rate and clock speed. Now you need to longpress left button to modify sample rate (POT 2) and "reverse time mode" (POT 1).
-To enter synch clocks mode, now you have to longpress RIGHT button.
That´s all. There will probably more updates in any moment
- what gives?
- Wiggling with Experience
- Posts: 301
- Joined: Thu Sep 25, 2014 11:35 am
Re: Glitch Storm: A DIY Bitranger-Bytebeasque-Chiptunethingo
A full eurorack conversion would be just incredibly awesome. I'd buy one for sure!SphericalSound wrote: ↑Tue Mar 03, 2020 5:05 pmIf any day I will release it for eurorack, I guess I will include a gate/trigger input to reset/launch the machine and maybe some kind of "position" pot, where you can dial in what part of the bytebeat timeline the algoridth starts (when receiving the previous gate/trigger).
- notmiserlouagain
- Ultra Wiggler
- Posts: 788
- Joined: Thu Feb 23, 2012 11:04 am
- Location: Hamburg
- Contact:
Re: Glitch Storm: A DIY Bitranger-Bytebeasque-Chiptunethingo
Received my GS yesterday and built it in the timestrech of the kids watching Aristocats
Had already fun with it, surprisingly complex and variable noisemaker, that really shines when a good dose of bass eq is added or via the vcf+delay route!
Yes it earned the name "synth"
->How is the pitch pot achieved?
->Are you powering via the black and red of a skewerd usb cable or are you feeding 5v to the pots?
SphericalSounds, would you explain a little what is going on inside GS?
Like to a child
I´m analogically tooled up but digitally retarded-
I have two latching switches connected so the behaviour is a little erratic but
musically interesting...
EDIT: are those jacks cv in? if so how did you do the cv mixing?

Had already fun with it, surprisingly complex and variable noisemaker, that really shines when a good dose of bass eq is added or via the vcf+delay route!
Yes it earned the name "synth"

SuperDuper module Obolenski!SphericalSound wrote: ↑Tue Mar 03, 2020 5:05 pmSuper interesting!. I have one version designed for eurorack too, but I never send the files to fab. I guess is pretty similar to yours. You have 5 pots, the other 2 are volume and pitch, isnt?.Obolenski wrote: ↑Tue Mar 03, 2020 2:53 pmThank you for the cool design!
Built a Eurorack version of this. Panel not finished yet, probably will stay unfinished for a while because I kind of like the look.
Looks like the build was the easy part, because now it's time to learn how to deal with bytebeats.![]()
![]()
If any day I will release it for eurorack, I guess I will include a gate/trigger input to reset/launch the machine and maybe some kind of "position" pot, where you can dial in what part of the bytebeat timeline the algoridth starts (when receiving the previous gate/trigger). If you are still building it you could add it to your panel. The mods in the arduino code should be pretty simple and maybe some day I go to write it (if anybody doesnt do it before)
If you have questions about the arduino programming Im here to help
And thanks for showing your build![]()
->How is the pitch pot achieved?
->Are you powering via the black and red of a skewerd usb cable or are you feeding 5v to the pots?
SphericalSounds, would you explain a little what is going on inside GS?
Like to a child

I have two latching switches connected so the behaviour is a little erratic but
musically interesting...
EDIT: are those jacks cv in? if so how did you do the cv mixing?
He who eats with most pleasure is he who least requires sauce.
Xenophon
Xenophon
- SphericalSound
- Wiggling with Experience
- Posts: 489
- Joined: Thu Feb 01, 2018 9:23 am
- Location: Spain
Re: Glitch Storm: A DIY Bitranger-Bytebeasque-Chiptunethingo
"Yes, it earned the name Synth">>> 
Loving your review and questions. Lets see. In the inside we have some equations like that:
time*a*5+b*27-c*32;
time=time+1;
start again;
Its a bit more complex but not too much. You can change the number of this euqtions with the pots. You can also change the equation itself with the buttons. We resolve the equation like 16000 times per second and we draw a wave with the result of the equation. That´s it. The basic technique is called Bytebeats and was invented/discovered by a hacker called Viznut.
In fact what you hear are mathematics itselfs.
All that I did is to put all this ideas into a portable module and spend some time writing and dialing good sounding and the more varied equations that I could find. It was fascinating too, like exploring an infinite mathematical field in search for the more beauty sounding fruits that I could find.
There´s still thousands (probably infinite) euqtions to find and I inivite all you to tinker and to share the better sounding ones to include it in the next firmwares of the machine.
For the pitch hacking you dont need additional hardware. I released a new firmware where you just need to longpress right button and while pressed turn pots 1 or 2 to get new modes. Its explained some posts before


Loving your review and questions. Lets see. In the inside we have some equations like that:
time*a*5+b*27-c*32;
time=time+1;
start again;
Its a bit more complex but not too much. You can change the number of this euqtions with the pots. You can also change the equation itself with the buttons. We resolve the equation like 16000 times per second and we draw a wave with the result of the equation. That´s it. The basic technique is called Bytebeats and was invented/discovered by a hacker called Viznut.
In fact what you hear are mathematics itselfs.
All that I did is to put all this ideas into a portable module and spend some time writing and dialing good sounding and the more varied equations that I could find. It was fascinating too, like exploring an infinite mathematical field in search for the more beauty sounding fruits that I could find.
There´s still thousands (probably infinite) euqtions to find and I inivite all you to tinker and to share the better sounding ones to include it in the next firmwares of the machine.
For the pitch hacking you dont need additional hardware. I released a new firmware where you just need to longpress right button and while pressed turn pots 1 or 2 to get new modes. Its explained some posts before

- SphericalSound
- Wiggling with Experience
- Posts: 489
- Joined: Thu Feb 01, 2018 9:23 am
- Location: Spain
Re: Glitch Storm: A DIY Bitranger-Bytebeasque-Chiptunethingo
Epic glitch track
Did you record all in one take?

- SphericalSound
- Wiggling with Experience
- Posts: 489
- Joined: Thu Feb 01, 2018 9:23 am
- Location: Spain
Re: Glitch Storm: A DIY Bitranger-Bytebeasque-Chiptunethingo
New update. Version 0.99 available in the github
https://github.com/spherical-sound-soci ... torm_v0.99
What´s new:
Equation no 15 (all leds on) reworked so now is way more melodic/ playable
Equation no 16 (all leds off) brand new one based on 15. It was the empty slot. Quite melodic and ritmic one
Keyboard combos changes:
To modify SAMPLE RATE >>> long press LEFT button + tweak knob 1
To modify reversal time >>> long press RIGHT button + tweak knob 1
To ENTER or EXIT the leds showing the GATES (to synch with other gear) >>>
press BOTH buttons long (+1 second) and release LEFT button FIRST
This keyboard changes serve a function: it does not change in which program you are after long press, so you can modify both RATE and TIME without exiting the program you are tweaking.
I still have more ideas to implement, hopefully in few weeks
Edit: I have also cleaned and commented the code and added a new debugging mode, where you can read by serial por the values of the pots, the number of ecuation and the keypresses, so it helps for example, righting or editing the programs/equations. To run this mode, just change the iSDebugginMode value to TRUE and upload the code
https://github.com/spherical-sound-soci ... torm_v0.99
What´s new:
Equation no 15 (all leds on) reworked so now is way more melodic/ playable
Equation no 16 (all leds off) brand new one based on 15. It was the empty slot. Quite melodic and ritmic one
Keyboard combos changes:
To modify SAMPLE RATE >>> long press LEFT button + tweak knob 1
To modify reversal time >>> long press RIGHT button + tweak knob 1
To ENTER or EXIT the leds showing the GATES (to synch with other gear) >>>
press BOTH buttons long (+1 second) and release LEFT button FIRST
This keyboard changes serve a function: it does not change in which program you are after long press, so you can modify both RATE and TIME without exiting the program you are tweaking.
I still have more ideas to implement, hopefully in few weeks
Edit: I have also cleaned and commented the code and added a new debugging mode, where you can read by serial por the values of the pots, the number of ecuation and the keypresses, so it helps for example, righting or editing the programs/equations. To run this mode, just change the iSDebugginMode value to TRUE and upload the code