Author |
Message |
hexagon5un
Joined: Apr 10, 2009 Posts: 38 Location: Munich, Germany
Audio files: 1
|
Posted: Tue Feb 24, 2015 4:07 pm Post subject:
Logic Noise CMOS synth series at Hackaday.com Subject description: Inspired a great deal by y'all! |
|
|
Hey folks,
I'm currently writing up a weekly column at Hackaday.com on noise-making with CMOS chips.
I've cribbed ideas from everywhere, naturally, including here. So I thought I'd first of all say thanks, and second, head on over and have a look / listen.
So far, we've built up a 40106 square osc and enriched it a bit by hard-syncing two oscs together. Then, played around with the 4040 binary counter to make octaves. Finally, hooked the counter up to a 4051 switch to make a pitch / timbre (through the sync osc pitch) sequencer.
http://hackaday.com/2015/02/04/logic-noise-sweet-sweet-oscillator-sounds/
http://hackaday.com/2015/02/17/logic-noise-8-bits-of-glorious-sounds/
http://hackaday.com/2015/02/23/logic-noise-the-switching-sequencer/
Next week, I'll dig into some of the more analog-y options, using a 4069UB to buffer up the triangle wave on the input of the 40106, and then playing around with overdrive options and simple filtering.
And then after that? AR-VCAs? Voltage controlled sawtooth? More counters? 4046 tricks? Beats me. Any thoughts?
The main constraint is that it's ~30 minutes worth of build-time for the projects per stage, that they cumulate, and that you get something kinda cool out.
I've been liking the one-chip-per-week pace, but it's not set in stone.
If you've got a favorite, high output/effort ratio circuit, let me know in the comments at Hackaday or the forum here.
And if you've got any other feedback for the column, positive or negative, let me know! I'm always stoked to hear back, and y'all are my (ideal) target audience. Last edited by hexagon5un on Thu Feb 26, 2015 3:31 pm; edited 1 time in total |
|
Back to top
|
|
|
commathe
Joined: Jul 26, 2013 Posts: 153 Location: Beijing
Audio files: 5
|
Posted: Tue Feb 24, 2015 6:33 pm Post subject:
|
|
|
I was wondering who was responsible for this!
Maybe the diode vca? I think if you forum search that you'll get results. There is also the transistor vca that Synaesthesia uses, which is basically the same principle. Really good "bang for your buck" |
|
Back to top
|
|
|
synaesthesia
Joined: May 27, 2014 Posts: 291 Location: Germany
Audio files: 85
|
Posted: Wed Feb 25, 2015 11:29 am Post subject:
|
|
|
Hello hexagon5un, saw your column as well. Great work, very well written and illustrated!
There are plenty of interesting circuits around the 4015 shift register, so that could be an interesting IC to introduce as well. For example, search for WAVESHAPER and replace the 4006 by a 4015. Other ideas for simple circuits that come to my mind are:
o use all inverters from a 40106 and introduce power starvation (search for STARVIN MARVIN from PHOBoS)
o introduce the 4093 NAND or 4030 XOR gates and build something that combines different frequency divisions from a 4040 (search for MELOGITRON)
o use a 4030 XOR or the XOR gate from a 4046 for pseudo ring-modulation of two signals
o because the 4093 NAND has Schmitt-Trigger inputs, it can be used to build oscillators as well, these can be gated using one of the inputs
o the simple triangle oscillator is a nice building block, you can use a 4069 instead of the 4049 inverter
o the 4017/4051 melody generator is almost a must, variants with more tones and micro-tonal or chromatic scales can be found here as well
o introduce the 4046 VCO (ignore the PLL for now) and drive it with two mixed sawtooth or triangle waves for great sounds (search for SPACE4046 in this forum)
o the 4015 dual shift register or the 4093 NAND can be used to build a stepped-tone generator similar to the ATARI Punk Console (search for APC in this forum)
o with the 4051 and 4015 (and an optional 4040) plus oscillators you can build circuits that play fixed melodies (search for CHIPTUNE in this forum) |
|
Back to top
|
|
|
PHOBoS
Joined: Jan 14, 2010 Posts: 5591 Location: Moon Base
Audio files: 705
|
|
Back to top
|
|
|
hexagon5un
Joined: Apr 10, 2009 Posts: 38 Location: Munich, Germany
Audio files: 1
|
Posted: Thu Feb 26, 2015 3:34 pm Post subject:
|
|
|
OK, then. Simple VCAs, then votes for the 4017/4051 melody generator (which I've never built!) and some shift-register foolering.
Will do.
I'm still tempted to move a little bit more into voltage controlled territory in the end too, but we'll see how long this series runs.
Thanks tons! I'll keep you posted how it's going. Feel free to feed back here or there. |
|
Back to top
|
|
|
rico C
Joined: Feb 27, 2014 Posts: 26 Location: Redondo Beach
|
Posted: Mon Mar 02, 2015 4:26 pm Post subject:
|
|
|
Your series is very cool and you always mention using LDRs; I would suggest delving further into the fun to be had making more precise modulations from LED/ LDR combos. LED arrays driven by 4040s/4060s, 4017s and the like can produce fantastic modulations. LEDs triggered by MIDI notes will allow you to modulate the oscillator from your DAW. |
|
Back to top
|
|
|
hexagon5un
Joined: Apr 10, 2009 Posts: 38 Location: Munich, Germany
Audio files: 1
|
Posted: Tue Mar 03, 2015 7:16 am Post subject:
|
|
|
rico C wrote: | Your series is very cool and you always mention using LDRs; I would suggest delving further into the fun to be had making more precise modulations from LED/ LDR combos. LED arrays driven by 4040s/4060s, 4017s and the like can produce fantastic modulations. LEDs triggered by MIDI notes will allow you to modulate the oscillator from your DAW. |
Hah! I was just thinking of whether or not to run an in-depth LDR session just yesterday.
I've played around a bit with trying to characterize LEDs hotglued onto LDRs and wrapped in black electrical tape -- essentially a DIY vactrol. But with the grab-bag of LDRs that I got from some surplus shop like a decade ago, they're all different. And seem to respond to different LEDs differently too.
In short, I wanted to get something precise out of this, and basically failed. (Not that I failed. I ended up just hard-coding a table of experimentally derived PWM duty cycles for the specific LED/LDR pair into the code for the microcontroller that I was using. Good for a one-off, but it doesn't scale.)
But yeah, I'm trying to think of ways to easily work voltage-control into the series, and I wanted to go the LED-LDR route too. Although mostly because I've never messed around with FETs as resistors, and OTAs are waaaaay to complicated and fragile. |
|
Back to top
|
|
|
rico C
Joined: Feb 27, 2014 Posts: 26 Location: Redondo Beach
|
|
Back to top
|
|
|
hexagon5un
Joined: Apr 10, 2009 Posts: 38 Location: Munich, Germany
Audio files: 1
|
Posted: Tue Mar 03, 2015 3:26 pm Post subject:
|
|
|
Awesome!
rico C wrote: | Preferably in a dark room. | And nice understatement!
Seriously, that's pretty cool. You were controlling pitch? I can't imagine that this thing would be tuned. (Not that I'm asking for it to be tuned.)
But really neat idea to use combos of LEDs in a row like that, so the close ones affect the LDR more than the far ones. Was 20 overkill? How much light did the last LED add?
I've only ever done multi-LEDs where I put them all just about the same distance clustered around the LDR. Like petals on a flower, basically. It was good for polyrhythms, but there wasn't any real attempt at finesse.
And man, I'm sad. I just read up that CdS photocells like these are no longer being produced (or legally put into products?) in Europe. Will we have to figure out an alternative?
And has anyone played around with photodiodes or phototransistors in this type of application? |
|
Back to top
|
|
|
commathe
Joined: Jul 26, 2013 Posts: 153 Location: Beijing
Audio files: 5
|
Posted: Tue Mar 03, 2015 7:22 pm Post subject:
|
|
|
hexagon5un wrote: | I just read up that CdS photocells like these are no longer being produced (or legally put into products?) in Europe. Will we have to figure out an alternative? | AFAIK, they can't be imported and products using them can't be imported into Europe. There are other types of photoresistors but I've only ever seen them for infrared spectrum so I don't know if there is a Cd-free alternative. There may be little incentive for one to be brought into production also. Fun as they are for us DIY types, commercial applications might be limited. |
|
Back to top
|
|
|
rico C
Joined: Feb 27, 2014 Posts: 26 Location: Redondo Beach
|
Posted: Tue Mar 03, 2015 7:45 pm Post subject:
|
|
|
There are 24 LEDs simply because the MIDI/ PIC board that drove it was 2 octaves. It does give pitch tracking in that the furthest light will give the lowest note...the main benefit is the fairly accurate repeatability of patterns. Makes a pretty good LFO too when programmed with 2-octave arpeggiations. |
|
Back to top
|
|
|
rico C
Joined: Feb 27, 2014 Posts: 26 Location: Redondo Beach
|
Posted: Tue Mar 03, 2015 8:03 pm Post subject:
|
|
|
Also there's an area in front of the LDR for checking out various "preprogrammed" LEDs eg the famous phobos fireplace |
|
Back to top
|
|
|
synaesthesia
Joined: May 27, 2014 Posts: 291 Location: Germany
Audio files: 85
|
Posted: Sun Mar 08, 2015 3:36 am Post subject:
|
|
|
Here is a suggestion for a simple circuit with a 4015. It is basically a scaled-down version of the Opus4015 circuit from another post in this forum. You can also find the RandomChiptune circuit there using a 4051.
The amplifier in the schematic is for a small module that I built for a friend. It might be useful for others experimenting with Lunetta circuits as well. The circuit is a simple transistor amplifier as you can find it on the Talking Electronics web site. The module is designed to plug vertically into a breadboard and includes a small 0.3W speaker. The left and right connectors go to the upper and lower power lines on the breadboard, the middle connector is for the input. There is even a small trimmer to adjust the volume. The quality is pretty good, definitely good enough for Lunettas.
Description: |
|
Filesize: |
51.33 KB |
Viewed: |
467 Time(s) |
This image has been reduced to fit the page. Click on it to enlarge. |
|
Description: |
|
Filesize: |
1.46 MB |
Viewed: |
379 Time(s) |
This image has been reduced to fit the page. Click on it to enlarge. |
|
Description: |
|
Download |
Filename: |
Sonata4015.mp3 |
Filesize: |
955.2 KB |
Downloaded: |
955 Time(s) |
|
|
Back to top
|
|
|
hexagon5un
Joined: Apr 10, 2009 Posts: 38 Location: Munich, Germany
Audio files: 1
|
Posted: Fri Mar 13, 2015 3:53 am Post subject:
|
|
|
The 4015 dealy is fantastic! I'll have to get into shift registers soon.
I just finished up a bit on using the 4069 as a buffer and overdrive circuit: http://hackaday.com/2015/03/09/logic-noise-sawing-away-with-analog-waveforms/ and used it to make "triangle" and "sawtooth" waves from the 40106.
Up next is filters & simple twin-t drums, also using the 4069UB. Then after that we'll need a VCA and envelope or some trigger circuits.
Then, we're ready to start cobbling it all together. Counters + switches + EG + Osc + Filters = good times. Which also sounds like a good time to start throwing shift registers into the mix.
Thanks again, y'all! |
|
Back to top
|
|
|
DUBmatze
Joined: Feb 18, 2013 Posts: 150 Location: south Germaica (schwabilon)
|
Posted: Sat Mar 14, 2015 8:08 am Post subject:
|
|
|
hey hexa,
realy cool videos! i like it.
a littel sugestion: especially at the last video i wud be verry nice to see your scope in the video. |
|
Back to top
|
|
|
droffset
Joined: Feb 02, 2009 Posts: 515 Location: London area
Audio files: 2
|
|
Back to top
|
|
|
hexagon5un
Joined: Apr 10, 2009 Posts: 38 Location: Munich, Germany
Audio files: 1
|
Posted: Wed Mar 25, 2015 11:22 am Post subject:
|
|
|
DUBmatze wrote: | a littel sugestion: especially at the last video i wud be verry nice to see your scope in the video. |
Heya Matze,
that's on my list of things to do! Hopefully I'll be able to pull that off next week. My scope has a VGA out, but I can't figure out how to record it directly. I think I'll have to point a camera at the screen, which means pulling the blinds and removing things that reflect off of it, etc.
But totally. A scope overlay would be great, especially for next week, when I do ADSRs. (OK, maybe just an AD/AR.)
MfG aus Muenchen,
Elliot. |
|
Back to top
|
|
|
hexagon5un
Joined: Apr 10, 2009 Posts: 38 Location: Munich, Germany
Audio files: 1
|
Posted: Wed Mar 25, 2015 11:27 am Post subject:
|
|
|
droffset wrote: | Those articles are really great, nice work. |
Wow, thanks! Totally stoked you liked it.
And a long, long overdue thanks for all of your stuff here, including but not limited to the great Lunetta overview doc. Can't say how many people I've passed that link off to. (I'll have to do a sources post sometime, but the compilation alone will take a week...)
Anyway, I've just put up a new one, with a twin-t drum circuit. http://hackaday.com/2015/03/25/logic-noise-filters-and-drums/
[/url] |
|
Back to top
|
|
|
DUBmatze
Joined: Feb 18, 2013 Posts: 150 Location: south Germaica (schwabilon)
|
Posted: Sat Mar 28, 2015 8:31 am Post subject:
|
|
|
hexagon5un wrote: | I think I'll have to point a camera at the screen, which means pulling the blinds and removing things that reflect off of it, etc. | youtube rule 1 never record naked ...
hehe. |
|
Back to top
|
|
|
hexagon5un
Joined: Apr 10, 2009 Posts: 38 Location: Munich, Germany
Audio files: 1
|
Posted: Fri Apr 10, 2015 11:15 am Post subject:
|
|
|
DUBmatze wrote: | youtube rule 1 never record naked ...
hehe. |
Wait, I thought that recording naked was part of my appeal!
Just finished up another episode: http://hackaday.com/2015/04/10/logic-noise-more-cmos-cowbell/
This session's topic is ring modulation, but I sneak in a diode VCA to make "cowbell"s and cymbals.
Next is the 4017 decade counter, then shift registers. Hot dog! |
|
Back to top
|
|
|
synaesthesia
Joined: May 27, 2014 Posts: 291 Location: Germany
Audio files: 85
|
Posted: Fri Apr 10, 2015 11:38 am Post subject:
|
|
|
Excellent work again. Enjoyed the bonus video as well. Please keep going! |
|
Back to top
|
|
|
rico C
Joined: Feb 27, 2014 Posts: 26 Location: Redondo Beach
|
Posted: Sun Apr 12, 2015 11:28 am Post subject:
|
|
|
yeah loved this latest one, keep it up dude |
|
Back to top
|
|
|
hexagon5un
Joined: Apr 10, 2009 Posts: 38 Location: Munich, Germany
Audio files: 1
|
Posted: Fri Apr 24, 2015 8:04 am Post subject:
|
|
|
Finally!
New article out on Hackaday: http://hackaday.com/2015/04/24/logic-noise-sequencing-in-silicon/
The chip of the week is the 4017, and basically covering some simple interfacing tricks.
These include getting it to work with a 40106 oscillator, the twin-t drum circuit, and a 2-diode vca. With a side-helping of diode-logic ORs thrown in for good measure.
Next time we'll take on the 4015 shift register.
I'm thinking of just straight-out copying one of your nice circuits, Synaesthesia, but we'll see how much space I have. If not next time, then uber-next. |
|
Back to top
|
|
|
synaesthesia
Joined: May 27, 2014 Posts: 291 Location: Germany
Audio files: 85
|
Posted: Fri Apr 24, 2015 10:17 am Post subject:
|
|
|
Very nice! Especially the musical effect from the simple gate-to-trigger circuit. |
|
Back to top
|
|
|
hexagon5un
Joined: Apr 10, 2009 Posts: 38 Location: Munich, Germany
Audio files: 1
|
Posted: Tue May 05, 2015 3:14 pm Post subject:
|
|
|
Another Hackaday Lunetta post is up.
http://hackaday.com/2015/05/04/logic-noise-taming-the-wild-shift-register/
The topic is the 4015 shift register. Along the way, we build up a Slacker/voks' Melody Generator, and I turn them all into a simple / random tap looper.
It was a really fun session to make. I love shift-register sequencers. Hope you enjoy! |
|
Back to top
|
|
|
|