Glitch Storm: A DIY Bitranger-Bytebeasque-Chiptunethingo

From circuitbending to homebrew stompboxes & synths, keep the DIY spirit alive!

Moderators: Joe., lisa, luketeaford, Kent

User avatar
FetidEye
demonic space drone
Posts: 2039
Joined: Mon Dec 06, 2010 5:00 pm
Location: Red Zone
Contact:

Re: Glitch Storm: A DIY Bitranger-Bytebeasque-Chiptunethingo

Post by FetidEye » Thu Feb 06, 2020 7:55 pm

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?

User avatar
SphericalSound
Common Wiggler
Posts: 207
Joined: Thu Feb 01, 2018 9:23 am
Location: Spain

Re: Glitch Storm: A DIY Bitranger-Bytebeasque-Chiptunethingo

Post by SphericalSound » Thu Feb 06, 2020 10:07 pm

FetidEye wrote:
Thu Feb 06, 2020 7:55 pm
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?
That´s correct. The ? is an "IF", it uses a ":" that is an "ELSE"

User avatar
FetidEye
demonic space drone
Posts: 2039
Joined: Mon Dec 06, 2010 5:00 pm
Location: Red Zone
Contact:

Re: Glitch Storm: A DIY Bitranger-Bytebeasque-Chiptunethingo

Post by FetidEye » Tue Feb 25, 2020 4:45 pm

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

User avatar
Noodle Twister
Common Wiggler
Posts: 195
Joined: Wed Jan 02, 2019 10:22 pm
Location: UK

Re: Glitch Storm: A DIY Bitranger-Bytebeasque-Chiptunethingo

Post by Noodle Twister » Sat Feb 29, 2020 2:08 pm

Here's my build. No mods yet as I only ordered three pots :doh:

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 :tu:
Glitch_Storm2.png
Glitch_Storm.png
You do not have the required permissions to view the files attached to this post.

User avatar
SphericalSound
Common Wiggler
Posts: 207
Joined: Thu Feb 01, 2018 9:23 am
Location: Spain

Re: Glitch Storm: A DIY Bitranger-Bytebeasque-Chiptunethingo

Post by SphericalSound » Sun Mar 01, 2020 5:30 am

It´s so satifying to see others builds on your babies :party: . 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

Obolenski
Learning to Wiggle
Posts: 3
Joined: Sun Jan 05, 2020 6:02 pm

Re: Glitch Storm: A DIY Bitranger-Bytebeasque-Chiptunethingo

Post by Obolenski » Tue Mar 03, 2020 2:53 pm

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. :eek:
Image

Arneb
Wiggling with Experience
Posts: 408
Joined: Thu Jul 04, 2019 4:50 pm

Re: Glitch Storm: A DIY Bitranger-Bytebeasque-Chiptunethingo

Post by Arneb » Tue Mar 03, 2020 3:00 pm

FetidEye wrote:
Thu Feb 06, 2020 7:55 pm
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?
?: 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.

User avatar
SphericalSound
Common Wiggler
Posts: 207
Joined: Thu Feb 01, 2018 9:23 am
Location: Spain

Re: Glitch Storm: A DIY Bitranger-Bytebeasque-Chiptunethingo

Post by SphericalSound » Tue Mar 03, 2020 5:05 pm

Obolenski wrote:
Tue Mar 03, 2020 2:53 pm
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. :eek:
Image
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?.

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 ;)

Obolenski
Learning to Wiggle
Posts: 3
Joined: Sun Jan 05, 2020 6:02 pm

Re: Glitch Storm: A DIY Bitranger-Bytebeasque-Chiptunethingo

Post by Obolenski » Wed Mar 04, 2020 4:02 am

SphericalSound wrote:
Tue Mar 03, 2020 5:05 pm
You have 5 pots, the other 2 are volume and pitch, isnt?.
Yes, those are pitch and volume.
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.

User avatar
SphericalSound
Common Wiggler
Posts: 207
Joined: Thu Feb 01, 2018 9:23 am
Location: Spain

Re: Glitch Storm: A DIY Bitranger-Bytebeasque-Chiptunethingo

Post by SphericalSound » Thu Mar 05, 2020 2:43 pm

I will write it in no time.

Exploring new equations can be incredibly addictive too. If you find some audiojewel, share around!

User avatar
SphericalSound
Common Wiggler
Posts: 207
Joined: Thu Feb 01, 2018 9:23 am
Location: Spain

Re: Glitch Storm: A DIY Bitranger-Bytebeasque-Chiptunethingo

Post by SphericalSound » Thu Mar 05, 2020 4:44 pm

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

User avatar
Noodle Twister
Common Wiggler
Posts: 195
Joined: Wed Jan 02, 2019 10:22 pm
Location: UK

Re: Glitch Storm: A DIY Bitranger-Bytebeasque-Chiptunethingo

Post by Noodle Twister » Thu Mar 05, 2020 5:26 pm

Thanks for this 8-)

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

User avatar
SphericalSound
Common Wiggler
Posts: 207
Joined: Thu Feb 01, 2018 9:23 am
Location: Spain

Re: Glitch Storm: A DIY Bitranger-Bytebeasque-Chiptunethingo

Post by SphericalSound » Thu Mar 05, 2020 5:50 pm

Hey, dont update yet... Im about to do the "reverse time" mode. Just wait 30-40 mins...

User avatar
SphericalSound
Common Wiggler
Posts: 207
Joined: Thu Feb 01, 2018 9:23 am
Location: Spain

Re: Glitch Storm: A DIY Bitranger-Bytebeasque-Chiptunethingo

Post by SphericalSound » Thu Mar 05, 2020 7:03 pm

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.

User avatar
Noodle Twister
Common Wiggler
Posts: 195
Joined: Wed Jan 02, 2019 10:22 pm
Location: UK

Re: Glitch Storm: A DIY Bitranger-Bytebeasque-Chiptunethingo

Post by Noodle Twister » Thu Mar 05, 2020 10:05 pm

Just tested it out and it is excellent. Thanks for this. Really opens it up. Love it :sb:

User avatar
SphericalSound
Common Wiggler
Posts: 207
Joined: Thu Feb 01, 2018 9:23 am
Location: Spain

Re: Glitch Storm: A DIY Bitranger-Bytebeasque-Chiptunethingo

Post by SphericalSound » Fri Mar 06, 2020 2:12 am

Noodle Twister wrote:
Thu Mar 05, 2020 10:05 pm
Just tested it out and it is excellent. Thanks for this. Really opens it up. Love it :sb:
Thank you for your feedback, Noodle!. Yeah, it takes it further :lick:

User avatar
SphericalSound
Common Wiggler
Posts: 207
Joined: Thu Feb 01, 2018 9:23 am
Location: Spain

Re: Glitch Storm: A DIY Bitranger-Bytebeasque-Chiptunethingo

Post by SphericalSound » Sat Mar 07, 2020 4:55 am

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

User avatar
what gives?
Common Wiggler
Posts: 230
Joined: Thu Sep 25, 2014 11:35 am

Re: Glitch Storm: A DIY Bitranger-Bytebeasque-Chiptunethingo

Post by what gives? » Sat Mar 07, 2020 5:34 am

SphericalSound wrote:
Tue Mar 03, 2020 5:05 pm
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).
A full eurorack conversion would be just incredibly awesome. I'd buy one for sure!

User avatar
notmiserlouagain
Veteran Wiggler
Posts: 664
Joined: Thu Feb 23, 2012 11:04 am
Location: Hamburg
Contact:

Re: Glitch Storm: A DIY Bitranger-Bytebeasque-Chiptunethingo

Post by notmiserlouagain » Fri Mar 13, 2020 4:27 am

Received my GS yesterday and built it in the timestrech of the kids watching Aristocats
:sb:
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" :guinness:
SphericalSound wrote:
Tue Mar 03, 2020 5:05 pm
Obolenski wrote:
Tue Mar 03, 2020 2:53 pm
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. :eek:
Image
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?.

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 ;)
SuperDuper module Obolenski!

->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 :eek: 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?
He who eats with most pleasure is he who least requires sauce.
Xenophon

User avatar
SphericalSound
Common Wiggler
Posts: 207
Joined: Thu Feb 01, 2018 9:23 am
Location: Spain

Re: Glitch Storm: A DIY Bitranger-Bytebeasque-Chiptunethingo

Post by SphericalSound » Sat Mar 14, 2020 2:01 am

"Yes, it earned the name Synth">>> :cloud:

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

:party:

User avatar
miqraw
Learning to Wiggle
Posts: 24
Joined: Tue Oct 01, 2019 3:59 am

Re: Glitch Storm: A DIY Bitranger-Bytebeasque-Chiptunethingo

Post by miqraw » Thu Mar 26, 2020 2:24 am

This track was recorded live using Glitch Storm:

https://soundcloud.com/user-969146766/korona

User avatar
SphericalSound
Common Wiggler
Posts: 207
Joined: Thu Feb 01, 2018 9:23 am
Location: Spain

Re: Glitch Storm: A DIY Bitranger-Bytebeasque-Chiptunethingo

Post by SphericalSound » Thu Mar 26, 2020 12:33 pm

Epic glitch track :D Did you record all in one take?

User avatar
miqraw
Learning to Wiggle
Posts: 24
Joined: Tue Oct 01, 2019 3:59 am

Re: Glitch Storm: A DIY Bitranger-Bytebeasque-Chiptunethingo

Post by miqraw » Sun Mar 29, 2020 9:06 am

SphericalSound wrote:
Thu Mar 26, 2020 12:33 pm
Epic glitch track :D Did you record all in one take?
Yes, exactly.

Post Reply

Return to “Music Tech DIY”