[Available] Bits - 4U Bit Crusher/ Waveshaper

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

Moderators: Joe., lisa, luketeaford, Kent

User avatar
CLee
Super Deluxe Wiggler
Posts: 1704
Joined: Mon Apr 05, 2010 6:49 pm
Location: Chicago
Contact:

[Available] Bits - 4U Bit Crusher/ Waveshaper

Post by CLee » Sat Oct 13, 2018 3:14 pm

Currently for 4U, Euro is planned.

Bits is a 12bit bit crusher based on the Teensy 3.2.

Bits page on clsound.com

Bits on synthCube

Bits on Modular Addict

$54 includes the 2 PCBs, Panel, and a dual 100k pot (not available in the US)

Bit Depth variable from 12 to 1 bit
Sample Rate variable in 2 ranges Audio and Sub Audio (S&H)
Variable Wave Shaper morphing 8 patterns
Manual Low Pass Pre Filter
Output crossfade from DAC to Lowpass Filtered output
The input and output are DC coupled, a switch adjusts for bi-polar or positive only inputs.
Stereo Line Input and Output (MIXED TO MONO)

All controls are VC with "Attenuverting" CV IN

[video][/video]

Image

Image

here's a quick phone video (this is old, but referenced in the comments below, so I'll leave it here)

[video][/video]
Last edited by CLee on Fri Sep 27, 2019 12:25 pm, edited 8 times in total.

User avatar
Revok
Veteran Wiggler
Posts: 718
Joined: Sun Jan 15, 2012 12:11 pm
Location: Phoenix

Post by Revok » Sat Oct 13, 2018 5:10 pm

This is really cool. Is the wave shaper morphing between the 8 patterns at ~27 seconds?

ashleym
Veteran Wiggler
Posts: 593
Joined: Thu Oct 22, 2009 3:34 pm

Post by ashleym » Sat Oct 13, 2018 5:20 pm

As they say, bits is bits.

I should be uneasy about using micro controllers in 4U, but I’m not. Looking forward to adding this to the backlog.

Feel free to ignore me but if there were no 3.5mm sockets, would everything shuffle up to get more Serge spacing?

User avatar
cygmu
Super Deluxe Wiggler
Posts: 1460
Joined: Mon Feb 15, 2016 3:33 pm
Location: UK

Post by cygmu » Sat Oct 13, 2018 5:27 pm

ashleym wrote: I should be uneasy about using micro controllers in 4U, but I’m not. Looking forward to adding this to the backlog.
I couldn't have said it better. Or +1, or "like", or whatever the cool kids say nowadays.

User avatar
CLee
Super Deluxe Wiggler
Posts: 1704
Joined: Mon Apr 05, 2010 6:49 pm
Location: Chicago
Contact:

Post by CLee » Sat Oct 13, 2018 6:35 pm

Revok wrote:This is really cool. Is the wave shaper morphing between the 8 patterns at ~27 seconds?
Yes, that's all with the Tri wave input

User avatar
CLee
Super Deluxe Wiggler
Posts: 1704
Joined: Mon Apr 05, 2010 6:49 pm
Location: Chicago
Contact:

Post by CLee » Sat Oct 13, 2018 7:07 pm

ashleym wrote:Feel free to ignore me but if there were no 3.5mm sockets, would everything shuffle up to get more Serge spacing?
It's on a Serge 8 row grid. I'm more interested in processing outside sources than osc waveforms, so that's why the 3.5s

ashleym
Veteran Wiggler
Posts: 593
Joined: Thu Oct 22, 2009 3:34 pm

Post by ashleym » Sun Oct 14, 2018 10:38 am

Cool as. Thank you.

maxime.annah
Common Wiggler
Posts: 57
Joined: Sun Jun 24, 2012 4:19 pm

Post by maxime.annah » Mon Oct 15, 2018 3:37 pm

I'm really interested as I search for a good bitcrusher for a long time!

but I don't understand the waveshaper and the DAC/LPF pot for the output ...

maybe a little block diagram will help

User avatar
J3RK
Super Deluxe Wiggler
Posts: 6551
Joined: Tue Dec 22, 2009 12:46 pm
Location: Seattle

Post by J3RK » Mon Oct 15, 2018 3:47 pm

Nice!
Are you lemon? Does your head come to a nub?

User avatar
CLee
Super Deluxe Wiggler
Posts: 1704
Joined: Mon Apr 05, 2010 6:49 pm
Location: Chicago
Contact:

Post by CLee » Mon Oct 15, 2018 4:47 pm

maxime.annah wrote:but I don't understand the waveshaper and the DAC/LPF pot for the output ...
I hope to get a better video made soon, but if you look at the video around 27 seconds I'm turning the WAVE pot. It steps through a set of wave folding routines. Basically a straight linear transfer, linear to sine, linear to sine with phase shift, rectification, bit shifting and bit swaps in various combinations, morphing from one to another.

The DAC/LPF pot crossfades between the straight output of the Digital to Analog Converter and the DAC sent to a 12db/oct low pass filter. On the DAC side you'll get nice sharp stair-steps. Potted over to the LPF side takes some of the edge off the signal.

User avatar
CLee
Super Deluxe Wiggler
Posts: 1704
Joined: Mon Apr 05, 2010 6:49 pm
Location: Chicago
Contact:

Post by CLee » Mon Oct 15, 2018 4:54 pm

One interesting use of waveshaper...

The Bits module has a sub-audio sample rate range. Input a waveform into it and you'll get a series of CVs you can use as notes. A saw wave gives you a series of ascending notes. Varying the WAVE pot will change the note patterns

User avatar
CLee
Super Deluxe Wiggler
Posts: 1704
Joined: Mon Apr 05, 2010 6:49 pm
Location: Chicago
Contact:

Post by CLee » Sat Oct 20, 2018 2:30 pm

[video][/video]

User avatar
the bad producer
Super Deluxe Wiggler
Posts: 2508
Joined: Tue Mar 17, 2009 8:43 am
Location: Clapton Pond

Post by the bad producer » Sat Oct 20, 2018 2:37 pm

:jawdrop:

User avatar
J3RK
Super Deluxe Wiggler
Posts: 6551
Joined: Tue Dec 22, 2009 12:46 pm
Location: Seattle

Post by J3RK » Sun Oct 21, 2018 2:37 am

Indeed :jawdrop:

That’s exactly the sort of thing I need...

Bit-ish foldery. The sort of thing that none of my circuits do. The sort of thing I need maybe two of.
Are you lemon? Does your head come to a nub?

ashleym
Veteran Wiggler
Posts: 593
Joined: Thu Oct 22, 2009 3:34 pm

Post by ashleym » Sun Oct 21, 2018 1:36 pm

Fook me. Brilliant. All that without modulation. With the unit doing all sorts of things, it is the perfect high density patch programmability Serge 4U unit. We are lucky to have this.

User avatar
CLee
Super Deluxe Wiggler
Posts: 1704
Joined: Mon Apr 05, 2010 6:49 pm
Location: Chicago
Contact:

Post by CLee » Sun Oct 21, 2018 5:46 pm

Thanks ashleym!

I've updated the OP with a link to the project page and price info

User avatar
FatRocky
Super Deluxe Wiggler
Posts: 2619
Joined: Sun Oct 16, 2011 12:56 pm

Post by FatRocky » Tue Oct 01, 2019 5:57 pm

I´m almost ready with my Bits build. But i need to place the Teensy pins ( and of course, install the firmware with the Arduino)

One question: Do I follow this same procedure as with the Orgone Acumulator?
(including the SMD in the middle)? Asking because my Synth Cube kit didn´t come with the headers for that.

Thanks in advance
:tu:

Image

User avatar
CLee
Super Deluxe Wiggler
Posts: 1704
Joined: Mon Apr 05, 2010 6:49 pm
Location: Chicago
Contact:

Post by CLee » Tue Oct 01, 2019 6:26 pm

The module doesn’t use any of the SMT pins.

I keep forgetting to make a note of that for people.

User avatar
FatRocky
Super Deluxe Wiggler
Posts: 2619
Joined: Sun Oct 16, 2011 12:56 pm

Post by FatRocky » Tue Oct 01, 2019 6:33 pm

CLee wrote:The module doesn’t use any of the SMT pins.

I keep forgetting to make a note of that for people.
Great

Thanks

:tu:

User avatar
CLee
Super Deluxe Wiggler
Posts: 1704
Joined: Mon Apr 05, 2010 6:49 pm
Location: Chicago
Contact:

Re: [Available] Bits - 4U Bit Crusher/ Waveshaper

Post by CLee » Wed Mar 04, 2020 3:56 pm

Here's some alternate code for the Bits module. With this code "Bits V1.3" the range switch will switch between audio range and external clocking. The RATE CV IN will be the clock in.

Notes in the Arduino sketch tell how to return it to internal sub-audio clocking by commenting/uncommenting lines and re-programing the Teensy.

Soon I'll post how to modify the module by changing the On/Off RANGE switch to On/Off/On and adding a jumper wire and resistor. Then running V1.4 software will give you AUDIO, SUB-AUDIO, and EXTERNAL CLOCK for the SAMPLE RATE control

Craig
Bits_REV_1dot3.zip
You do not have the required permissions to view the files attached to this post.

User avatar
Revok
Veteran Wiggler
Posts: 718
Joined: Sun Jan 15, 2012 12:11 pm
Location: Phoenix

Re: [Available] Bits - 4U Bit Crusher/ Waveshaper

Post by Revok » Wed Mar 04, 2020 7:15 pm

Nice, CLee! I'm excited to try this out with a VCO.

User avatar
Revok
Veteran Wiggler
Posts: 718
Joined: Sun Jan 15, 2012 12:11 pm
Location: Phoenix

Re: [Available] Bits - 4U Bit Crusher/ Waveshaper

Post by Revok » Sat Mar 21, 2020 10:30 pm

I'm having some issues with the external clock mode. The Rate and Rate Attenuverter pots are having some strange interaction. I'm not sure of the best way to describe it. Most positions for these two pots cause the mode to not function at all with no output and if both are in somewhat precise but random positions there is some bitcrushed output but no real control with the external clock as far as I can tell. I'll keep poking around to see if I'm missing something.

Just to double check, is everything here correct for using the external clock mode?
Image

User avatar
CLee
Super Deluxe Wiggler
Posts: 1704
Joined: Mon Apr 05, 2010 6:49 pm
Location: Chicago
Contact:

Re: [Available] Bits - 4U Bit Crusher/ Waveshaper

Post by CLee » Sat Mar 21, 2020 10:43 pm

To use external clock you need to set the manual sample rate pot fully CCW, then set the CV level pot at a place that triggers.

Because the Rate pot and CV in are mixed in hardware there's no way to seperate them, so if the manual pot is set too high it will never trigger.

Make sure you're running V1.4 software and are taping into the right Teensy pin. Teensy pin 6 is actually pin 8 of the Teensy board (PIN 1 is Ground and PIN 2 is Teensy pin 0)

EDIT: Sorry I got confused, are you doing software 1.3 with no hardware mod... if so ignore the comment about the pins.

User avatar
Revok
Veteran Wiggler
Posts: 718
Joined: Sun Jan 15, 2012 12:11 pm
Location: Phoenix

Re: [Available] Bits - 4U Bit Crusher/ Waveshaper

Post by Revok » Sat Mar 21, 2020 11:50 pm

Thanks Craig! I see what's going on with the pots now. Is there a bandwidth limit on the clock input? It looks like I'm losing it once I get it over ~1kHz.

User avatar
CLee
Super Deluxe Wiggler
Posts: 1704
Joined: Mon Apr 05, 2010 6:49 pm
Location: Chicago
Contact:

Re: [Available] Bits - 4U Bit Crusher/ Waveshaper

Post by CLee » Sun Mar 22, 2020 7:30 am

Revok wrote:
Sat Mar 21, 2020 11:50 pm
Is there a bandwidth limit on the clock input? It looks like I'm losing it once I get it over ~1kHz.
Yes. Originally they weren't intended to work at audio rates. They run slower than the audio input. The audio input has it's own ADC. The three CV INs share an ADC (round robin sampling) and it runs slower, the idea was to minimize the time used converting CVs and avoid calls causing aliasing in the audio.

You could experiment with running those conversions faster if you like. The conversion is launched every 255us, each CV sampled every 3rd launch, so the sample rate is around 1.3k

In the Setup_DAC_ADC tab here's the code,
CV INS.jpeg


'cvSampleRate' sets the delay between launches. You may have to change the 'LOW_SPEED' settings to 'HIGH_SPEED' or 'MED_SPEED' depending on how fast you try to get it to go.

info, https://forum.pjrc.com/threads/25532-AD ... Teensy-3-1
You do not have the required permissions to view the files attached to this post.

Post Reply

Return to “Music Tech DIY”