Author |
Message |
Taylor

Joined: Jul 13, 2006 Posts: 170 Location: us
|
Posted: Mon Apr 05, 2010 11:51 pm Post subject:
Want to build an organ/polysynth - what hardware? |
 |
|
I'd like to build a polyphonic synth. I would be ok with just on/off, no envelopes, filters, etc., basically an organ. I'd like sine waves as a minimum, other waveforms would be nice but not required. Don't want to go the top-octave generator route as these are hard to find and expensive.
I have no qualms about going digital, so if such a project exists already, I'd love if someone could point me to it.
I've considered doing individual sine oscillators for each key, but this is obviously pretty intense, with a dual opamp plus some passives for each note.
Can anyone point me in a good direction? |
|
Back to top
|
|
 |
slabman
Joined: Sep 01, 2005 Posts: 102 Location: UK
|
|
Back to top
|
|
 |
Taylor

Joined: Jul 13, 2006 Posts: 170 Location: us
|
Posted: Tue Apr 06, 2010 5:24 pm Post subject:
|
 |
|
Er, thanks but:
Quote: | Don't want to go the top-octave generator route as these are hard to find and expensive. |
|
|
Back to top
|
|
 |
slabman
Joined: Sep 01, 2005 Posts: 102 Location: UK
|
Posted: Wed Apr 07, 2010 4:16 am Post subject:
|
 |
|
sorry - meant to say more but was half asleep when I posted. Instead of a TOG, just use 12 tuneable CMS oscillators and divide down. The rest of the info on that thread is applicable. To add richness, you could build two duplicate oscillator/divider chains and slightly detune. Even if you don't want attack/decay, routing audio through the keyboard contacts will make for clicks and noise, so you need keying circuits, in which case you may as well consider envelope shaping. Transistor Electronic Organs by Alan Douglas is a useful sourcebook. |
|
Back to top
|
|
 |
slabman
Joined: Sep 01, 2005 Posts: 102 Location: UK
|
Posted: Wed Apr 07, 2010 4:17 am Post subject:
|
 |
|
That should be CMOS oscillators, of course! |
|
Back to top
|
|
 |
droffset

Joined: Feb 02, 2009 Posts: 515 Location: London area
Audio files: 2
|
|
Back to top
|
|
 |
Taylor

Joined: Jul 13, 2006 Posts: 170 Location: us
|
Posted: Wed Apr 07, 2010 4:25 pm Post subject:
|
 |
|
Well, since the whole tone-generation aspect is so open-ended at this point, I'm not sure about keying. At one extreme, I had considered individual opamp-based sine oscillators for each note, which would be turned on by SPST switch. From there, I could go to a transistor per key controlled again by SPST switches. I'm not too bothered by a click at note onset so this isn't much of a problem for me, however parts count would of course be monstrous.
I like that idea because it would be neat to experiment with strange tunings. I'm a big fan of Harry Partch and other microtonal composers, so having a microtonal organ would be great.
At the other extreme, if there was a digital synth based on FPGA or similar, I'd probably be forced to just use a MIDI keyboard with some MIDI decoder.
I had considered doing the plan with individual opamps per note, doing a SMT PCB design and having it fabbed up for me so I don't have to do all that soldering. Would be nice if I could get a group buy together for this, but something tells me it's a little too esoteric to get much interest. |
|
Back to top
|
|
 |
Rykhaard
Joined: Sep 02, 2007 Posts: 1290 Location: Canada
|
Posted: Thu Apr 08, 2010 4:08 am Post subject:
|
 |
|
My tests that I had done last Summer, for building the oscillators around CD40106 (hex schmidt inverters), were successful I figured. The tuning of the polyfilm capacitor test oscillators, held their frequencies steady, for just under 48 hours. (The temperatures in my shop / studio, vary greatly in Summer when the voltages were sampled, over time.)
That was in my own idea, for building my own 'string machine'.
A CD40106 could give you up to 6 oscillators per chip. 3 dual voices? (Though - my tests were only on recording the voltages from 3 oscillators, from a single chip, over the 48 hour period.) |
|
Back to top
|
|
 |
cloudscapes

Joined: Feb 09, 2004 Posts: 100 Location: Montreal
|
Posted: Thu Apr 08, 2010 10:02 am Post subject:
|
 |
|
I've been using an AVR interfaced to a PT8211 16-bit DAC interfaced to a 2206 function generator to get several octaves in sine, triangle and square. I use a word table (DAC values). _________________ Sonic Crayon DIY effects lab |
|
Back to top
|
|
 |
Taylor

Joined: Jul 13, 2006 Posts: 170 Location: us
|
Posted: Thu Apr 08, 2010 10:46 am Post subject:
|
 |
|
cloudscapes wrote: | I've been using an AVR interfaced to a PT8211 16-bit DAC interfaced to a 2206 function generator to get several octaves in sine, triangle and square. I use a word table (DAC values). |
But that would only be monophonic, no? How can you make a 2206 generate multiple tone simultaneously? |
|
Back to top
|
|
 |
cloudscapes

Joined: Feb 09, 2004 Posts: 100 Location: Montreal
|
Posted: Thu Apr 08, 2010 11:11 am Post subject:
|
 |
|
Taylor wrote: | cloudscapes wrote: | I've been using an AVR interfaced to a PT8211 16-bit DAC interfaced to a 2206 function generator to get several octaves in sine, triangle and square. I use a word table (DAC values). |
But that would only be monophonic, no? How can you make a 2206 generate multiple tone simultaneously? |
I can't, though eventually it will. you can multiplex the DAC output across as many 2206's as you need. _________________ Sonic Crayon DIY effects lab |
|
Back to top
|
|
 |
Taylor

Joined: Jul 13, 2006 Posts: 170 Location: us
|
Posted: Thu Apr 08, 2010 11:19 am Post subject:
|
 |
|
Interesting, that's a bit over my head, but I'll be very interested to see what you come up with. Are you going to offer schems/code so others can build it? |
|
Back to top
|
|
 |
cloudscapes

Joined: Feb 09, 2004 Posts: 100 Location: Montreal
|
Posted: Thu Apr 08, 2010 11:28 am Post subject:
|
 |
|
Taylor wrote: | Interesting, that's a bit over my head, but I'll be very interested to see what you come up with. Are you going to offer schems/code so others can build it? |
certainly! it's a really simple schematic (3 chips, + however many 2206's/voices you need), hardly any passives, simple code. I'll post something up on the weekend.
multiplexer is just a chip with 1 CV input and a certain number of CV outputs. usually 4, 8 or 16 or whatever. I'm using the CD4067, which is 16. it also has 4-bit input to "channel" the CV input to the right output. I use a microcontroller to channel the DAC CV to 2206's, or a VCF, or anything really.
here's a thread I had started with a bit of brainstorming
http://electro-music.com/forum/topic-39273.html _________________ Sonic Crayon DIY effects lab |
|
Back to top
|
|
 |
Taylor

Joined: Jul 13, 2006 Posts: 170 Location: us
|
Posted: Thu Apr 08, 2010 12:19 pm Post subject:
|
 |
|
Really cool, I looked at your thread as well as your blog and I really like the concept. If you want to go in on getting a couple of PCBs fabbed up when you're done, I'd be in.
How will your keying work? I'd like to build my own keyboard using the Wicki-Hayden isomorphic key mapping, so I'm curious how the keys will need to be set up. |
|
Back to top
|
|
 |
JovianPyx

Joined: Nov 20, 2007 Posts: 1988 Location: West Red Spot, Jupiter
Audio files: 224
|
Posted: Thu Apr 08, 2010 3:19 pm Post subject:
Re: Want to build an organ/polysynth - what hardware? |
 |
|
Taylor wrote: | I'd like to build a polyphonic synth. I would be ok with just on/off, no envelopes, filters, etc., basically an organ. I'd like sine waves as a minimum, other waveforms would be nice but not required. Don't want to go the top-octave generator route as these are hard to find and expensive.
I have no qualms about going digital, so if such a project exists already, I'd love if someone could point me to it.
I've considered doing individual sine oscillators for each key, but this is obviously pretty intense, with a dual opamp plus some passives for each note.
Can anyone point me in a good direction? |
Did you say digital?
See the information at the site in my sig. I've done as many as 16 voices in small FPGAs, MIDI with sysex. Most of my designs as posted have complete source code. _________________ FPGA, dsPIC and Fatman Synth Stuff
Time flies like a banana. Fruit flies when you're having fun. BTW, Do these genes make my ass look fat? corruptio optimi pessima
|
|
Back to top
|
|
 |
Taylor

Joined: Jul 13, 2006 Posts: 170 Location: us
|
Posted: Thu Apr 08, 2010 7:56 pm Post subject:
|
 |
|
Thanks, great info. I think I have looked at your site before, but I will delve a little deeper into it. I do some digital effects design, but am clueless about FPGAs, so the real-world implementation still is a bit mysterious to me.
Let's say I burn your code to an FPGA, then what do I do with it? Are there PCBs available that I can put this chip into and have a functioning hardware unit? This would be MIDI-controlled, right? |
|
Back to top
|
|
 |
JovianPyx

Joined: Nov 20, 2007 Posts: 1988 Location: West Red Spot, Jupiter
Audio files: 224
|
Posted: Fri Apr 09, 2010 3:24 pm Post subject:
|
 |
|
What I've done is taken commercially available FPGA development boards and with small hardware additions make a synthesizer. Not just one synthesizer really, but several. These boards range in price from $50 on up. I have several polysynths that run on a $50 board.
The hardware additions are a MIDI electrical interface involving a 6N138 opto, 2 resistors and a diode. (so yes, these are all MIDI synths I've designed). For boards that do not have a DAC, I've included a DAC (which I bought from a friend who made up the simple boards).
An FPGA is built on static RAM. If power is removed from the FPGA, it does not remember what was in it. FPGA development boards usually have a Flash RAM that programs it at power up. There is usually a way to reprogram the Flash, so one can export a design into the board such that when it powers up - your design instead of the demo is running. But because an FPGA is RAM based, it can be reprogrammed an infinite number of times (unlike Flash based devices like a PIC). This is both a blessing and a curse. Blessing: you can rewrite the RAM as often as you like. Curse: it takes a second or two for the device to be reprogrammed at power on.
One of my designs could be used to program the Flash on the dev board and then the board would always power up configured as that synth. As long as the required hardware is attached, it will be a synthesizer. Depending on the synth design, it may be required to send patch data to it via MIDI sysex before it will make any sound. The procedure to program a given board's Flash is not standard, so specific instructions for a particular board must be performed.
At this point, I've not done my own PCB with an FPGA on it. That may come in the future, but it's not a priority for me.
There's definately a learning curve involved, but as far as getting a well featured polysynth of your own design working with the least expense, I can't think of a better deal than an FPGA. _________________ FPGA, dsPIC and Fatman Synth Stuff
Time flies like a banana. Fruit flies when you're having fun. BTW, Do these genes make my ass look fat? corruptio optimi pessima
|
|
Back to top
|
|
 |
|