Joined: Oct 13, 2007 Posts: 6221 Location: near Austin, Tx, USA
Audio files: 270
Posted: Mon Aug 10, 2009 5:58 pm Post subject:
The Karplus Strong eChucK DIY Project Subject description: Second run PCBs now available...
Hello and welcome to the Karplus Strong Modular Synthesizer project thread. I've once again rewritten this first post to greet you and welcome you to the project.
The latest design files are attached below. There is currently no text documentation. The first run of boards was sold out many moons ago, and the project kind of fizzled out but has regained an interest recently. To address the many requests for boards, wmonk plans to probably make a run of boards, sell as many as are requested, and give the remainder to mosc for later distribution in the electro-music store. All proceeds from the sale of these boards will go to support electro-music!
I would like to thank the many people (over two dozen) who have contributed to the project with their ideas and creativity. This is a real community project. The thread has grown into a 22 page monster at this point and it tells an interesting tale of our efforts in working together. And I wasn't always the ringleader, if I recall correctly Kevin Kissinger took over in my absence and through tedious and thorough efforts he was able to solve the transistor mystery! So thank you Kevin!
Here's to everyone who designs, builds, maintains, and performs using our community developed electro-music circuit boards - we are all one big family and we love and accept one another unconditionally. So stop procrastinating and get to work on your very own electro-music build or project, and may the electromotive force be with you!
Joined: Oct 13, 2007 Posts: 6221 Location: near Austin, Tx, USA
Audio files: 270
Posted: Tue Aug 11, 2009 11:45 pm Post subject:
For anyone who would like to experiment with the circuit in software form, I am posting the ChucK program that I wrote along with an audio file captured from it. You can change the parameters in the file for different sounds.
If it turns out that the Karplus-Strong circuit actually works in hardware form, we may be able to use this program to prototype the circuit's component ranges. For example, I understand that K-S will generate percussion but I'm not quite sure how to do that at this point. Perhaps playing around with the program's parameters will help to figure that out.
Joined: Oct 13, 2007 Posts: 6221 Location: near Austin, Tx, USA
Audio files: 270
Posted: Wed Aug 19, 2009 12:51 pm Post subject:
I made some progress today on the BSG's Karplus-Strong Circuit. It doesn't work yet but most of the subcircuits do work properly. I think I just need to get the biasing and lop gain correct. Below is a photo of the test circuit.
Also for your review, from Thomas Peter (wmonk) here are two links to Karplus-Strong circuits created wit modular synthesizers:
That's an impressive idea! I'll have to play with the software when I get a chance. Regarding everything leading up to the K-S filter, could that be replaced by a microcontroller? That would simplify the hardware, and allow you to change parameters more easily.
Joined: Oct 13, 2007 Posts: 6221 Location: near Austin, Tx, USA
Audio files: 270
Posted: Wed Aug 19, 2009 5:43 pm Post subject:
yes, jeff-o, a microcontroller could do the job nicely, it's just that then you'd have an even more custom chip because you'd have to program it... but that could be a good thing too, depends. I choose to try analog first but of course digital is also a good way to go.
Les _________________ "Let's make noise for peace." - Kijjaz
yes, jeff-o, a microcontroller could do the job nicely, it's just that then you'd have an even more custom chip because you'd have to program it... but that could be a good thing too, depends. I choose to try analog first but of course digital is also a good way to go.
Les
I'm a big fan of all-analog too. But I like miniaturization better.
Are you using the MN3102 clock driver IC with your MN320x BBD chip?
Joined: Oct 13, 2007 Posts: 6221 Location: near Austin, Tx, USA
Audio files: 270
Posted: Wed Aug 19, 2009 7:01 pm Post subject:
if you like miniaturization better, then you may very well prefer a digital implementation. For that I'd choose the dsPIC chips although there are several alternatives. I can help you get started with dsPICs if you are not familiar, but I'm no expert.
I'm not using the clock driver IC because I don't have one. I just have two MN3209 chips. I made the clock driver from a 555 circuit with frequency control input of 2 octaves and a D Flip Flop to create a 50% duty cycle plus inverted output. It works great.
The main problem at this time is that I totally ignored the bias and gain setup of the feedback loop and that part needs to be redesigned. More updates later and good luck with your choice of implementation.
Les _________________ "Let's make noise for peace." - Kijjaz
Ah, cool. I didn't think you had the driver, so I was wondering what you used to drive it. I also read in the data sheet that the MN BBD device needs a 14/15 VCC input, did you use a resistor divider for that?
Joined: Oct 13, 2007 Posts: 6221 Location: near Austin, Tx, USA
Audio files: 270
Posted: Wed Aug 19, 2009 7:35 pm Post subject:
Yes, well it's often a good idea to put a cap in a reference voltage divider. Now I'm thinking that I'd better buffer it with a spare opamp too. That companion chip you bought is looking better all the time, but I'll make do with what I have for now. _________________ "Let's make noise for peace." - Kijjaz
Yes, well it's often a good idea to put a cap in a reference voltage divider. Now I'm thinking that I'd better buffer it with a spare opamp too. That companion chip you bought is looking better all the time, but I'll make do with what I have for now.
Yeah, at $2 each I figured it was worth it to get the driver ICs.
Joined: Oct 13, 2007 Posts: 6221 Location: near Austin, Tx, USA
Audio files: 270
Posted: Thu Aug 20, 2009 9:55 am Post subject:
I played around some more with the BSG ChucK simulator this morning. I adjusted the loop filter cutoff frequency and the delay line duration within the limits of the hardware design. It was fun to discover percussion sounds coming from that Karplus-Strong thing, plus it made some spacey sounding twangy noises at times. It's nice to have something in software that at least attempts to model the circuit.
Les _________________ "Let's make noise for peace." - Kijjaz
I played around some more with the BSG ChucK simulator this morning. I adjusted the loop filter cutoff frequency and the delay line duration within the limits of the hardware design. It was fun to discover percussion sounds coming from that Karplus-Strong thing, plus it made some spacey sounding twangy noises at times. It's nice to have something in software that at least attempts to model the circuit.
Les
Ah, so it works then! Cool! From what I've read, the spacey sounds occur when the frequency is too low (ie. below 40Hz), and percussion sounds when the gain is too low. But of course, there are lots of other factors influencing the output. Now I'm even more excited about getting this up and running myself!
Joined: Oct 13, 2007 Posts: 6221 Location: near Austin, Tx, USA
Audio files: 270
Posted: Fri Aug 21, 2009 5:16 am Post subject:
BobTheDog wrote:
Les,
Are those chopsticks in that pic, top right?
Andy,
I believe that is a light brown protoboard laying flat and seen from the edge. Jan noticed the overdue calibration sticker in the chatroom. What is this, an inspection of my lab?
Les _________________ "Let's make noise for peace." - Kijjaz
Joined: Oct 13, 2007 Posts: 6221 Location: near Austin, Tx, USA
Audio files: 270
Posted: Fri Aug 21, 2009 8:57 am Post subject:
Yes it does Jan, it's fun to share your work but without some kind of interactions it all goes flat and boring so I appreciate it.
Here is the product of my efforts recently after some much needed sleep. The image below shows the 555 oscillator that sets the tempo, the 4040 counter, the LEDIL logic, and the outputs of SUM, R2R, and NOTE.
The clock and reset are bussed so that multiple cards can be synchronized to create separate voices in a song. The available voices are basically lead guitar, bass guitar, and drums so you can make rock and roll with three cards.
Les
BSG_schematic1.jpg
Description:
BSG schematic, close up of BS circuit
Filesize:
76.38 KB
Viewed:
1530 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.
_________________ "Let's make noise for peace." - Kijjaz
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum