Glitch Storm: A DIY Bitranger-Bytebeasque-Chiptunethingo

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

Moderators: Kent, luketeaford, Joe.

User avatar
SphericalSound
Wiggling with Experience
Posts: 490
Joined: Thu Feb 01, 2018 9:23 am
Location: Spain

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

Post by SphericalSound » Fri Oct 02, 2020 10:33 am

Cool.

Glitches back in stock in Etsy and Tindie

User avatar
autodafe
Wiggling with Experience
Posts: 406
Joined: Mon Oct 02, 2017 3:14 am
Location: Italy
Contact:

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

Post by autodafe » Fri Oct 02, 2020 3:10 pm

ahaha I just found this equation on the net:

https://greggman.com/downloads/examples ... ffe803c800

:yay: :yay: :yay:

User avatar
soggybag
Wiggling with Experience
Posts: 371
Joined: Thu Aug 10, 2017 2:57 pm
Location: San Francisco

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

Post by soggybag » Thu Oct 08, 2020 12:39 am

I just got my Arduino in the mail today, I think I’m going to give this a try.

User avatar
soggybag
Wiggling with Experience
Posts: 371
Joined: Thu Aug 10, 2017 2:57 pm
Location: San Francisco

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

Post by soggybag » Thu Oct 08, 2020 7:59 pm

I’m very got all my materials together to do this build. I don’t see any power supply circuitry here. The schematic just shows +5v and ground. Do you just power this from the USB?

If I wanted to add a eurorack power connector what would I use? Can anyone point out a Schematic showing what a typical power scheme for Arduino and eurorack?

The Arduino Nano I have says Voltages: input 7-12V on the back. I’m guessing I need some sort of regulator.

User avatar
SphericalSound
Wiggling with Experience
Posts: 490
Joined: Thu Feb 01, 2018 9:23 am
Location: Spain

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

Post by SphericalSound » Fri Oct 09, 2020 5:46 pm

Yep it normally powers from the usb. You can feed +12 eurorack power to arduino vin and eurorack 0v to arduino GND to power it. The nano has a v regulator itself

User avatar
autodafe
Wiggling with Experience
Posts: 406
Joined: Mon Oct 02, 2017 3:14 am
Location: Italy
Contact:

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

Post by autodafe » Mon Oct 12, 2020 1:55 am

soggybag wrote:
Thu Oct 08, 2020 7:59 pm
If I wanted to add a eurorack power connector what would I use? Can anyone point out a Schematic showing what a typical power scheme for Arduino and eurorack?

The Arduino Nano I have says Voltages: input 7-12V on the back. I’m guessing I need some sort of regulator.
you could use the +12 or the +5 if from the bus board. Or use a 78L05 to get 5V out of the 12.
whatever you do, connect the voltage on Vin and GND to GND on the Arduino

User avatar
grm
Common Wiggler
Posts: 51
Joined: Fri Nov 18, 2016 4:49 pm
Location: swamp

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

Post by grm » Thu Nov 05, 2020 1:57 pm

besides some samples that i layered over it in in post production, all sounds are from my GLITCH STORM run through various effects. Not sure if anyone here would enjoy that, but i thought i let you know.


User avatar
s.pwyll
Common Wiggler
Posts: 82
Joined: Fri Feb 21, 2020 12:41 pm
Contact:

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

Post by s.pwyll » Thu Nov 05, 2020 4:34 pm

Fookin awesome!

User avatar
s.pwyll
Common Wiggler
Posts: 82
Joined: Fri Feb 21, 2020 12:41 pm
Contact:

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

Post by s.pwyll » Thu Nov 05, 2020 4:42 pm

autodafe wrote:
Mon Oct 12, 2020 1:55 am
you could use the +12 or the +5 if from the bus board. Or use a 78L05 to get 5V out of the 12.
whatever you do, connect the voltage on Vin and GND to GND on the Arduino
I have a pre-built model. If I made an adapter panel to convert it to eurorack and ran +12 to the vin, would that alter the behaviour and/or signal level? Would I need to use the 5v rail since the stand alone model is powered by USB, or would it matter since I'm connecting directly to the Arduino pin?

User avatar
SphericalSound
Wiggling with Experience
Posts: 490
Joined: Thu Feb 01, 2018 9:23 am
Location: Spain

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

Post by SphericalSound » Fri Nov 06, 2020 12:26 pm

s.pwyll wrote:
Thu Nov 05, 2020 4:42 pm
autodafe wrote:
Mon Oct 12, 2020 1:55 am
you could use the +12 or the +5 if from the bus board. Or use a 78L05 to get 5V out of the 12.
whatever you do, connect the voltage on Vin and GND to GND on the Arduino
I have a pre-built model. If I made an adapter panel to convert it to eurorack and ran +12 to the vin, would that alter the behaviour and/or signal level? Would I need to use the 5v rail since the stand alone model is powered by USB, or would it matter since I'm connecting directly to the Arduino pin?
You can either connect 12v to vin or 5v to 5v. It works the same.

User avatar
s.pwyll
Common Wiggler
Posts: 82
Joined: Fri Feb 21, 2020 12:41 pm
Contact:

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

Post by s.pwyll » Fri Nov 06, 2020 1:37 pm

SphericalSound wrote:
Fri Nov 06, 2020 12:26 pm
You can either connect 12v to vin or 5v to 5v. It works the same.
Cool. That's what I figured, but it's just far enough above my head that I wouldn't do anything without confirmation ;)

Thanks!

scowler1
Learning to Wiggle
Posts: 2
Joined: Mon Mar 09, 2020 9:59 am

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

Post by scowler1 » Wed Nov 11, 2020 3:11 pm

autodafe wrote:
Wed Sep 30, 2020 6:46 pm
I have added PERMANENT clock out, taking the 5V directly from one of the free pins (Pin6)
This requires a little hardware hack (as simple as a jack connected to digital Pin6) and some software tweaks to get the 5V on pin6
I'll double check the code and publish the hack as soon as I debug it 100% ;-)

So far it's working great with both my LXR Drum Machine and the Volcas...
quick demo with the LXR:
www.autodafe.net/tmp/glitch_tempo_sync.mp3
Any chance of publishing your PERMANENT clock code?
I'm trying but failing miserably :despair:

User avatar
grm
Common Wiggler
Posts: 51
Joined: Fri Nov 18, 2016 4:49 pm
Location: swamp

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

Post by grm » Wed Nov 11, 2020 7:54 pm

scowler1 wrote:
Wed Nov 11, 2020 3:11 pm
autodafe wrote:
Wed Sep 30, 2020 6:46 pm
I have added PERMANENT clock out, taking the 5V directly from one of the free pins (Pin6)
This requires a little hardware hack (as simple as a jack connected to digital Pin6) and some software tweaks to get the 5V on pin6
I'll double check the code and publish the hack as soon as I debug it 100% ;-)

So far it's working great with both my LXR Drum Machine and the Volcas...
quick demo with the LXR:
www.autodafe.net/tmp/glitch_tempo_sync.mp3
Any chance of publishing your PERMANENT clock code?
I'm trying but failing miserably :despair:
would also be interested in that. :hail:

User avatar
SphericalSound
Wiggling with Experience
Posts: 490
Joined: Thu Feb 01, 2018 9:23 am
Location: Spain

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

Post by SphericalSound » Wed Nov 11, 2020 9:20 pm

Yeah, that´s cool. Share it so I can check it and update it in the repo if you like it :tu:

User avatar
autodafe
Wiggling with Experience
Posts: 406
Joined: Mon Oct 02, 2017 3:14 am
Location: Italy
Contact:

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

Post by autodafe » Thu Nov 12, 2020 3:23 pm

Ok, I didn't have much time to "polish" it, but it seems to work.

Hardware "Hack": simply connect Pin6 to a pin of a female Jack and the other pin to GND

Software "Hack": I made some edits to the original code so that Clock Out is ALWAYS enabled on Pin6:


http://www.autodafe.net/tmp/Autodafe_Gl ... _v0.99.ino
http://www.autodafe.net/tmp/ecuaciones.ino

there are some comments marked as "autodafe" in the code to highlight what I did...

ZIPPED code here (download this): www.autodafe.net/tmp/autodafe_glitch.zip

scowler1
Learning to Wiggle
Posts: 2
Joined: Mon Mar 09, 2020 9:59 am

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

Post by scowler1 » Fri Nov 13, 2020 5:56 pm

Works great, thanks for sharing!

User avatar
grm
Common Wiggler
Posts: 51
Joined: Fri Nov 18, 2016 4:49 pm
Location: swamp

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

Post by grm » Fri Jan 22, 2021 4:58 pm

autodafe wrote:
Thu Nov 12, 2020 3:23 pm
ZIPPED code here (download this): www.autodafe.net/tmp/autodafe_glitch.zip
hey, i wanted to say thank you to AUTODAFE, as well.
i finally got around to try it. and it worked fine. wonderful, that the buttons are working MUCH better now for me and that the gate out works!

but i was missing the blinking Xmess lights easter egg mode, as i had hooked them up to some old led digits and was enjoying the blinky chaos there. can someone please hint me how to get that back into the 'new and improved' code?
what part of the original code to copy back where (if possible at all).
i have no clue what i could be, as i just done get the whole coding thing.

any help highly appreciated. thanks in advance! :hail:

User avatar
autodafe
Wiggling with Experience
Posts: 406
Joined: Mon Oct 02, 2017 3:14 am
Location: Italy
Contact:

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

Post by autodafe » Fri Jan 22, 2021 5:37 pm

I believe you are missing the "ecuaciones.ino" file which is needed by the "main" code in the .ino file

User avatar
grm
Common Wiggler
Posts: 51
Joined: Fri Nov 18, 2016 4:49 pm
Location: swamp

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

Post by grm » Fri Jan 22, 2021 6:02 pm

autodafe wrote:
Fri Jan 22, 2021 5:37 pm
I believe you are missing the "ecuaciones.ino" file which is needed by the "main" code in the .ino file
i actually have both in the same folder and when i open one of them in the arduino software i have both as tabs .
yours looks different from the original one.

did you disable the 'both button longpress' blinky business (easter egg mode)?
is there a chance to get it back in there, without messing up your improvements?

please hint me towards the lines of code. :despair:

SOLVED

thank's to a friend who get'S coding a bit more than me.

i am still wondering, if it would be possible to code a CLOCK_IN to the GLITCHSTORM?

User avatar
SphericalSound
Wiggling with Experience
Posts: 490
Joined: Thu Feb 01, 2018 9:23 am
Location: Spain

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

Post by SphericalSound » Thu Feb 04, 2021 3:49 pm

An user from Montreal has designed this 3d printable case for the glitch.


Image

Image

Image

He´s ok to share the printable object:

https://cults3d.com/en/3d-model/various ... synth-case


<3

User avatar
bgreeves
Common Wiggler
Posts: 205
Joined: Fri May 26, 2017 2:33 pm
Location: Illinois, USA
Contact:

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

Post by bgreeves » Thu Feb 04, 2021 5:42 pm

Hey Spherical, what's the PWM frequency on the glitch storm? I was under the impression that ATmega328 could only achieve like 32 kHz or something, but the sound quality coming out of it still sounds amazing.

User avatar
SphericalSound
Wiggling with Experience
Posts: 490
Joined: Thu Feb 01, 2018 9:23 am
Location: Spain

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

Post by SphericalSound » Thu Feb 04, 2021 8:31 pm

bgreeves wrote:
Thu Feb 04, 2021 5:42 pm
Hey Spherical, what's the PWM frequency on the glitch storm? I was under the impression that ATmega328 could only achieve like 32 kHz or something, but the sound quality coming out of it still sounds amazing.
Yeah, you could have an amazing sound even in 8khz if good managed or a bland one at 192khz, so it depends on other factors, I guess. It runs maximun at 16khz IIRC, as it have to calculate the equations in realtime

itsnotworking
Learning to Wiggle
Posts: 2
Joined: Thu Feb 07, 2019 1:14 pm

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

Post by itsnotworking » Tue Mar 02, 2021 3:19 pm

SphericalSound, thank you so much for open sourcing this gem!

I've added a simple modification that (kind of) syncs to an incoming clock/lfo/gate by restarting the loop.
Unfortunately, it doesn't change the output clock rate, as in mod by autodafe (so they run asynchronously), but that wasn't my goal.
Also, my Arduino skills are very basic, so if the code could have been written better - you are welcome to improve it!

Software hack: use Glitch_Storm_v0.99_restart_on_pin12-pretty.ino from the attached zip. The ecuaciones.ino is the same as in the mod by autodafe.
Hardware:
- Add a 1k pull-down resistor from pin 12 (D12) to ground;
- Connect jack tip to the same pin (D12);
- Connect jack sleeve to ground.

Note, this mod also includes the pitch/speed modification as described here viewtopic.php?f=17&t=225024#p3181226

It would be great to add a VCA input to this. I'll probably add a simple CA3080-based VCA, but I am wondering if it's possible to do it in software. Is Arduino Nano would be enough?
Attachments
Glitch_Storm_v0.99_restart_on_pin12-pretty.zip
(4.82 KiB) Downloaded 5 times

User avatar
SphericalSound
Wiggling with Experience
Posts: 490
Joined: Thu Feb 01, 2018 9:23 am
Location: Spain

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

Post by SphericalSound » Tue Mar 02, 2021 5:30 pm

The arduino is pretty much maxed out and VCAs needs multiplication, so I guess you can´t get it digitally. You probably could if done just using power of 2 exponential VCA. Could be ineteresting to try but it would have just 8 grades of resolution. But, heck, could sound interesting...

Analogically it would make more sense to do a 2-3 transistors VCA, as an OTA would need bipolar supply and are quite complicated...

The cool thing is that I have ready Glitch Storm MK2. Is a revamped hardware. It has clock out, plus 3 alternative inputs/outputs, a fourth pot controlling the rate/pitch and I have also implemented an experimental version of Mutable Grids on it, so it can do generative gate secuencer too. Plus some ideas that I would be developing on it when I have more time. Im about to release it in the coming days. I will look into the reestarting loop idea too. :tu:

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

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

Post by notmiserlouagain » Tue Mar 02, 2021 6:59 pm

SphericalSound wrote:
Tue Mar 02, 2021 5:30 pm
The cool thing is that I have ready Glitch Storm MK2. Is a revamped hardware. It has clock out, plus 3 alternative inputs/outputs, a fourth pot controlling the rate/pitch and I have also implemented an experimental version of Mutable Grids on it, so it can do generative gate secuencer too. Plus some ideas that I would be developing on it when I have more time. Im about to release it in the coming days. I will look into the reestarting loop idea too. :tu:
The somnabulist, slowly, opens his eyes... :hyper:
He who eats with most pleasure is he who least requires sauce.
Xenophon

Post Reply

Return to “Music Tech DIY”