electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links
Forum with support of Syndicator RSS
 FAQFAQ   CalendarCalendar   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   LinksLinks
 RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in  Chat RoomChat Room 
 Forum index » DIY Hardware and Software
TOG, Top Octave Generator DIY (Mostek MK50240 emulation)
Post new topic   Reply to topic Moderators: jksuperstar, Scott Stites, Uncle Krunkus
Page 1 of 2 [40 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Goto page: 1, 2 Next
Author Message
AnalogCustom



Joined: Jun 23, 2009
Posts: 52
Location: Chile

PostPosted: Mon Dec 13, 2010 6:39 pm    Post subject: TOG, Top Octave Generator DIY (Mostek MK50240 emulation)
Subject description: For string ensemble clones, organs, full poly synths...
Reply with quote  Mark this post and the followings unread

Hello!
My project: Top Octave Frecuency Generator DIY.

Features:
- Standard CMOS IC's and linear OpAmp design: Master Oscillator: CD4046 @2Mhz, Chromatic Generator (Divider/Counter): CD4040, Octave Divider: CD4024
-Frequency Range Scale:4186Hz to 32Hz full scale.
-Square Wave Duty Cycle 50%.
-Octave Divider: 7 octaves + F8 (only Do).
-Two power CMOS ic's modes: VDD=+15V; VSS=GND (Crumar Multiman, Performer, T1, Trilogy...) and VDD=GND; VSS=-15V (Solina String, Roland RS-505, Roland VP330, ARP Omni...). Switch select on control board.
-Tunning adj. on control board (440Hz) and TUNE panel control.
-Vibrato Generator with delay time (sine waveform): JRC13600+TL064+TL062 (2Hz to 28Hz speed aprox). General trigger or gate is needed.

Posted Image, might have been reduced in size. Click Image to view fullscreen.

Posted Image, might have been reduced in size. Click Image to view fullscreen.

Posted Image, might have been reduced in size. Click Image to view fullscreen.

PCB transfer:
http://dl.dropbox.com/u/7154576/TOG%20pcb%20transfer.pdf

PDF archives:
http://dl.dropbox.com/u/7154576/TOG.rar

Photo:
Posted Image, might have been reduced in size. Click Image to view fullscreen.

VDD=+15V, VSS=GND
[img]https://3709e795-a-62cb3a1a-s-sites.googlegroups.com/site/analogcustomsynthesizers/polysynth-project/foto2.JPG0[/img]

VDD=GND; VSS=-15V
Posted Image, might have been reduced in size. Click Image to view fullscreen.

Schematics, PCB and design free copyright.

Cordiales Saludos! Very Happy

Marco.

Last edited by AnalogCustom on Thu Apr 30, 2015 8:19 pm; edited 3 times in total
Back to top
View user's profile Send private message Send e-mail Visit poster's website
adambee7



Joined: Apr 04, 2009
Posts: 420
Location: united kingdom

PostPosted: Mon Dec 13, 2010 7:20 pm    Post subject: Reply with quote  Mark this post and the followings unread

cheers man Very Happy i'm going to have a good look over these. Very Happy Very Happy
Back to top
View user's profile Send private message
Sebo



Joined: Apr 27, 2007
Posts: 564
Location: Argentina

PostPosted: Mon Dec 13, 2010 7:26 pm    Post subject: Reply with quote  Mark this post and the followings unread

Thanks!!!
_________________
Sebo
---------------------------------------
My Music:
https://www.facebook.com/cosaquitos/
Back to top
View user's profile Send private message
emdot_ambient



Joined: Nov 22, 2009
Posts: 667
Location: Frederick, MD

PostPosted: Tue Dec 14, 2010 3:34 pm    Post subject: Reply with quote  Mark this post and the followings unread

This seems really cool...but I'm not sure how it gets implemented. thinking

I guess I'm just not 100% sure what's going on with this and how it would be rolled out into a synth/string machine. What else would be needed?

JH already has the cool chorus/EQ part of a string machine available. Would be awesome to bring back divided down technology and paraphonic synthesis.
Back to top
View user's profile Send private message Visit poster's website
Scott Stites
Janitor
Janitor


Joined: Dec 23, 2005
Posts: 4127
Location: Mount Hope, KS USA
Audio files: 96

PostPosted: Fri Dec 17, 2010 11:04 pm    Post subject: Reply with quote  Mark this post and the followings unread

Very cool, sir. I like your cmossy approach!

Thank you for posting it here.

_________________
My Site
Back to top
View user's profile Send private message
Cynosure
Site Admin


Joined: Dec 11, 2010
Posts: 966
Location: Toronto, Ontario - Canada
Audio files: 82

PostPosted: Sat Dec 18, 2010 7:28 pm    Post subject: Reply with quote  Mark this post and the followings unread

Awesome stuff! I'm working on something very similar. I'm just adding more more effects to make it more synth like, and less organ sounding.

Any recommendations for an envelope generator that will work with this?

I haven't looked into the 4046 yet, I am using 40106. I will check out the specs on the 4046 to see if I can use it.

Does it use 12 oscillators, or does one of the IC's divide a single note by semitones? I only know how to use the 4040 to divide full octaves.
Back to top
View user's profile Send private message
AnalogCustom



Joined: Jun 23, 2009
Posts: 52
Location: Chile

PostPosted: Sun Dec 19, 2010 8:07 am    Post subject: Reply with quote  Mark this post and the followings unread

Excuse my English, sorry Embarassed

Tone Generator is the first stage of a titanic full polyphonic synthesizer. I was inspired by the Polymoog synthesizer, but do not try to replicate it. This part consists of a master oscillator (CD4046) which is divided to get the 12 notes of the chromatic scale (CD4040). Once I did a test with several oscillators but this method generated noise and interference between them. The VC-ADSR I'll use for my full polyphonic synthesizer is the EFM.

Here the general scheme:

Posted Image, might have been reduced in size. Click Image to view fullscreen.

Marco.-
Back to top
View user's profile Send private message Send e-mail Visit poster's website
whomper



Joined: Dec 15, 2007
Posts: 201
Location: Israel
Audio files: 2

PostPosted: Sun Dec 19, 2010 12:01 pm    Post subject: Reply with quote  Mark this post and the followings unread

Great initiative. I always wanted to build myself a string machine but could not get around to handle the required circuits.

Perhaps a PS3100/3300 with a string machine option....?

_________________
Erez Yaary

Home Page: http://www.yaary.com
Buy my CDs at http://www.mellowjet.de
Back to top
View user's profile Send private message
richardc64



Joined: Jun 01, 2006
Posts: 679
Location: NYC
Audio files: 26

PostPosted: Sun Dec 19, 2010 12:50 pm    Post subject: Reply with quote  Mark this post and the followings unread

That is a very innovative way to do the division; certainly much simpler than setting up 9-bit programmable counters. I salute you.
_________________
Revenge is a dish best served with a fork... to the eye
Back to top
View user's profile Send private message Visit poster's website
Cynosure
Site Admin


Joined: Dec 11, 2010
Posts: 966
Location: Toronto, Ontario - Canada
Audio files: 82

PostPosted: Sun Dec 19, 2010 6:04 pm    Post subject: Reply with quote  Mark this post and the followings unread

I'm new to building synths, so maybe you can help me understand how you were able to divide by semitones? When I send a signal into the 4040 I get the same note sent out, one octave apart from each output. How can I send one note in and get 12 semitones out?
Back to top
View user's profile Send private message
Scott Stites
Janitor
Janitor


Joined: Dec 23, 2005
Posts: 4127
Location: Mount Hope, KS USA
Audio files: 96

PostPosted: Mon Dec 20, 2010 10:02 am    Post subject: Reply with quote  Mark this post and the followings unread

It's the 4024s that provide the octave sub-divisions of the top octaves; each 4040 is providing the top octave divided count for the octaves of a specific note in the scale. All of the 4040s are driven from a common clock, so the notes are all in tune with each other.

The diodes on the various outputs of each 4040, in combination with the 4K7 resistor to Vdd form a multi-input AND gate: when all of the 4040 outputs the diodes are connected to go high, Vdd no longer has a path to 0V to drain through the 4K7 resistor, and the voltage on the 4K7 resistor goes high. This high resets the 4040 back to count zero; when this happens, the voltage on the 4K7 resistor goes low again, which clocks the 4024. At this point, the 4040 will now count up to the same count again and the process repeats.

_________________
My Site
Back to top
View user's profile Send private message
Cynosure
Site Admin


Joined: Dec 11, 2010
Posts: 966
Location: Toronto, Ontario - Canada
Audio files: 82

PostPosted: Mon Dec 20, 2010 6:35 pm    Post subject: Reply with quote  Mark this post and the followings unread

Thanks Scott Stites, but I still don't quite understand it all. If the 4026 can divide by semitones, then why all the diodes on the 4040? Why do you need to reset the 4040? Why aren't all the outputs of the 4040 in use?

My plan was to make an oscillator for each semitone, and divided the semitones to all the octaves with 4040's. Then mix outputs 1-5 from the 4040's all together using resistors. I tested it with two notes because I only have two 4040's and it seemed to work fine. The disadvantage is that I have to create an oscillator for each note and tune each note separately. If I can understand this method, then it might save me some time and be easier to use.

Can I just use a 4026 to divide a single note into 12 semitones and then send those 12 semitones into 12 different 4040's?
Back to top
View user's profile Send private message
AnalogCustom



Joined: Jun 23, 2009
Posts: 52
Location: Chile

PostPosted: Mon Dec 20, 2010 7:23 pm    Post subject: Reply with quote  Mark this post and the followings unread

The system is very simple:

2MHz /2 = 1 MHz (one octave lower) oK? BUT, 2MHz/239=8.368Khz, which is the frequency corresponding to that DO9 (not 50% duty cycle). Then divide that frequency by 2 and get 4.18Khz corresponding to DO8 (50% duty cycle). You need a counter/divider for each note of the chromatic scale (12xCD4040): a counter (CD4040) that divide by 239 (C-9), another by 253 (B-8), by 268 (A#-8), etc ....The diodes determine the count and are responsible for generating the reset in the counter for the note to get it is the highest plus a octave of our generator. My English is very basic. I hope my explanation has been helpful.

A String Ensemble can be created in my future synthesizer from unfiltered sawtooth plus a ensemble (triple chorus).

Marco.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Scott Stites
Janitor
Janitor


Joined: Dec 23, 2005
Posts: 4127
Location: Mount Hope, KS USA
Audio files: 96

PostPosted: Mon Dec 20, 2010 8:46 pm    Post subject: Reply with quote  Mark this post and the followings unread

Quote:
My English is very basic. I hope my explanation has been helpful.


That's a most excellent explanation.

Cynosure, more generally about counters: the CD4040 and the CD4024 are both binary counters - the only difference in them is that the CD4040 counts to a higher number than the CD4024; the CD4040 has twelve outputs, so it counts from 0 to 4095; the CD4024 has seven outputs, so it counts from 0 to 127.

The fact that the CD4040 can count so high is precisely the reason it is used to divide the tones. For example, as Marco points out, to get D09, he has to divide the 2 MHz clock by 239. He wouldn't be able to do that with a CD4024, because it can only count from 0 to 127.

Counters are more often than not programmed to count (or divide the clock frequency, same thing) to a specific number, and that is what the diodes are for. Some counters allow you to pre-load a specific state and count down or up from there, and all the counters I know of also provide a reset. In this case, the CD4040 and CD4024 counters only provide a reset. So, you have to arrange the circuitry to reset the counter once it reaches the count you are after. Otherwise, the CD4040 will divide by 4096 (IOW count from 0 to 4095) and you will not have accomplished your goal.

Marco is using the most expedient method available to program the counter using the reset function. A specific count is a binary number represented by a unique combination of high and low states across the output pins of the counter; the circuit uses the diodes to detect when the combination of high signals unique to the divide number are indeed high. When all of the diode connected pins are high, that's when the counter resets and begins counting to that number again. Thus, your counter now divides by the specific number you programmed it to count to.

_________________
My Site
Back to top
View user's profile Send private message
bod



Joined: Apr 28, 2009
Posts: 148
Location: Glasgow

PostPosted: Tue Dec 21, 2010 3:41 am    Post subject: Reply with quote  Mark this post and the followings unread

this is ingenious!

i've been playing about with the 12 oscilator option each feeding a 4040, which works well and with metal film resistors the cmos oscilators hold their tone extremely well. god damn you sir, this is just going to give me something else to play with!! Wink

have you tried any wave shapers at all? i've been using the same method as the juno DCO and its really easy to implement, giving ramp and pulse with PWM waveforms. now just need to find a decent method to create env, vca and filter for each voice....
Back to top
View user's profile Send private message
Cynosure
Site Admin


Joined: Dec 11, 2010
Posts: 966
Location: Toronto, Ontario - Canada
Audio files: 82

PostPosted: Tue Dec 21, 2010 6:31 am    Post subject: Reply with quote  Mark this post and the followings unread

Thanks for the thorough explanation. I will try testing it out myself to see if I can replicate it.

bod - Can you share your wave shaping method? The only way I know how to modify the wave shape is to link a capacitor near the final output and the other end of the capacitor to ground. It rounds out the wave a bit, but too strong of a capacitor lowers the volume too much.
Back to top
View user's profile Send private message
bod



Joined: Apr 28, 2009
Posts: 148
Location: Glasgow

PostPosted: Tue Dec 21, 2010 7:29 am    Post subject: Reply with quote  Mark this post and the followings unread

there is a page on the electric druid site that covers how the junos DCO works, which is far better than me trying to explain it in all honesty!

http://www.electricdruid.net/

but instead of using a control voltage from the micro controller to preset the capacitor i use a voltage divider for each key/voice. theres a thread on here somewhere i started asking about DCO's with a lot of useful details in it. there is a diagram on the page for the juno DCO but you need one of those circuits for each key, which is labour intensive and i'm sure there must be an easier way, but its the only one i know that gives a perfect ramp.
Back to top
View user's profile Send private message
Scott Stites
Janitor
Janitor


Joined: Dec 23, 2005
Posts: 4127
Location: Mount Hope, KS USA
Audio files: 96

PostPosted: Tue Dec 21, 2010 8:26 am    Post subject: Reply with quote  Mark this post and the followings unread

You can also form sawtooth waves by mixing together octaves of a single note together in proper proportion.

That's sort of what I did towards the end of this thread here:

http://electro-music.com/forum/topic-33149.html

Seek out and find the schematics for the SH1000/SH2000 or likely just about any TOG stringer. There's all sorts of cool things you can do with these signals.

_________________
My Site
Back to top
View user's profile Send private message
AnalogCustom



Joined: Jun 23, 2009
Posts: 52
Location: Chile

PostPosted: Wed Dec 22, 2010 2:19 pm    Post subject: Reply with quote  Mark this post and the followings unread

Hello
I did tests with 4 wave shaper (solina, crumar,..). What I wanted was a saw wave "clean. " The staircase generator Roland SH type did not give me the results I expected to connect to "saw phased generator".
The following schematic I will use for my full poly. The circuit generates a linear ramp. You need to change some values according to frequency (needed 85 circuits in total!!!).
Information soon will complete the second phase of the project (electronic wf and scale selection, pcb's, etc...).

Posted Image, might have been reduced in size. Click Image to view fullscreen.

Photos (sorry for the bad quality)
Linear Saw
Posted Image, might have been reduced in size. Click Image to view fullscreen.

SQR
Posted Image, might have been reduced in size. Click Image to view fullscreen.

Saw Phased (listening double frecuency plus frecuency base at zero modulation. Ideal for processing by the chorus ensemble)
Posted Image, might have been reduced in size. Click Image to view fullscreen.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Cynosure
Site Admin


Joined: Dec 11, 2010
Posts: 966
Location: Toronto, Ontario - Canada
Audio files: 82

PostPosted: Fri Jan 28, 2011 11:34 pm    Post subject: Reply with quote  Mark this post and the followings unread

Should this be able to work with a 40106 creating the wave? I have tried it several times now and it doesn't work. As long as the 4K7 is attached to V+ I get no sound at all. With it removed I can divide up the note once, but it doesn't seem to work on the second division.
Back to top
View user's profile Send private message
ericcoleridge



Joined: Jan 16, 2007
Posts: 889
Location: NYC

PostPosted: Sat Jan 29, 2011 3:27 pm    Post subject: Reply with quote  Mark this post and the followings unread

AnalogCustom wrote:

I did tests with 4 wave shaper (solina, crumar,..).


I'm curious as to what were the 4 waveshapes you tried, and which string synths they were based on? I'm amazed at the differences in tone that one hears across the various vintage string synth models. Some sound more like organs played through a chorus pedal, and others like an other-worldly lush string ensemble (I'm thinking of the Solina particularly). I feel like these differences in tone must have as much to do with the waveshapers as it does the chorus circuits--yes?
The PolyMoog is another one with an unbelievable, unmistakeable sound that I'm guessing has much to do with the waveshapers and fixed filters on the individual voices.
Id be all over it, if someone made a project available that mimicked the circuit path of one of these machines-- divide down, shapers and fixed filters, bbd ensemble.
Back to top
View user's profile Send private message
droffset



Joined: Feb 02, 2009
Posts: 515
Location: London area
Audio files: 2

PostPosted: Sat Jan 29, 2011 6:50 pm    Post subject: Reply with quote  Mark this post and the followings unread

Fantastic, thanks for sharing this! It definitely unlocks a lot of possibilities.
_________________
==================
Check out the FREE Intro to Lunettas Document
https://docs.google.com/document/d/1V9qerry_PsXTZqt_UDx7C-wcuMe_6_gyy6M_MyAgQoA/edit?usp=sharing

Edit: Spelling mistakes.
Back to top
View user's profile Send private message
sizone



Joined: Jun 09, 2009
Posts: 132
Location: Honolulu HI
Audio files: 48

PostPosted: Sat Jan 14, 2012 12:04 am    Post subject: Reply with quote  Mark this post and the followings unread

Just popping in to say that I've been reworking this slightly into a monosynth. Only requires the PLL, 2 4040s (or 1 4040 and 1 4024, but I've got a bunch of 4040s and no 4024s) and a 4051....oh and a bunch of diodes.
Here's a quick sound sample, I haven't gotten the multiplexer in for an octave switch yet because I need to make room on my breadboard first.

Overall it does o.k., a lot more stable and precise than what I've ever been able to rig up with inverter oscillators and c.v.. But there is a variation of 7-8% for the tuning of some of the notes which, while close enough for rock 'n' roll, may be less than ideal.

While I'm at it, the keyboard I rigged up is a simple 12 spst microswitch-glued-onto-a-vhs-case number. Can anyone think of some brilliant and simple way to rig it up so that it only registers one key press at a time?


octavedividertest1.mp3
 Description:

Download
 Filename:  octavedividertest1.mp3
 Filesize:  545.21 KB
 Downloaded:  1183 Time(s)

Back to top
View user's profile Send private message
Cynosure
Site Admin


Joined: Dec 11, 2010
Posts: 966
Location: Toronto, Ontario - Canada
Audio files: 82

PostPosted: Sat Jan 14, 2012 5:23 am    Post subject: Reply with quote  Mark this post and the followings unread

sizone wrote:
Can anyone think of some brilliant and simple way to rig it up so that it only registers one key press at a time?

I might be able to help with that - I had mine working mono while testing, but wanted to go the poly route instead. Do you have a schematic?

Here is mine in case you haven't seen it yet:

http://www.jacobwatters.com/c-monster.php

I tried this method, but couldn't get it to work correctly and ended up using 12 individual oscillators and 12 4040 dividers (and I did that twice for 16' and 8').

_________________
JacobWatters.com
Back to top
View user's profile Send private message
sizone



Joined: Jun 09, 2009
Posts: 132
Location: Honolulu HI
Audio files: 48

PostPosted: Sat Jan 14, 2012 7:55 pm    Post subject: Reply with quote  Mark this post and the followings unread

Cynosure wrote:
sizone wrote:
Can anyone think of some brilliant and simple way to rig it up so that it only registers one key press at a time?

I might be able to help with that - I had mine working mono while testing, but wanted to go the poly route instead. Do you have a schematic?

Here is mine in case you haven't seen it yet:

http://www.jacobwatters.com/c-monster.php

I tried this method, but couldn't get it to work correctly and ended up using 12 individual oscillators and 12 4040 dividers (and I did that twice for 16' and 8').


Here's a diagram of the important bit, the diode array. I hope it makes sense to anyone other than myself (and that I didn't screw up when I was drawing it out).

Connections are really simple. Set up the 4046 as per Marco's design. Set up a 4040 getting power, ground, clock and the resistor to V+ on the reset line. Take a lead from the reset line and wire it to one side of twelve momentary switches. The outs on the switches correspond to the notes on your chromatic scale.

For reading my dreadful little diagram, the inputs are the leads out from the microswitches (C,C#,D.... ect..) and the outputs go to the corresponding pins on the 4040. This is not the most efficient or best way to lay out the diodes. I broke it up into two separate perf boards for one thing, there's a lot of duplication and it is by no means the lowest possible part count. It is (was), however, pretty easy for me to wire up and I can look at it and figure out what goes to where with a minimum of effort. Basically swapping understandability for simplicity.


It's been explained, but let me give my take on how the pitch division works:

Look at the wiring for C# (DO#), pins 4,7,12, and 13 are dioded. That's 2^7, 2^2, 2^9 and 2^8. 128+4+512+256=900, 900/2=450 (451, rounding up because of integer only division), 2,000,000/451=4435
Actual frequency of C#8 is 4434.92...Pretty close.

Edit: There was a minor goof on my drawing of the diode layout. I'll put it back up when I correct the bmp.

Last edited by sizone on Tue Jan 24, 2012 3:14 am; edited 1 time in total
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Moderators: jksuperstar, Scott Stites, Uncle Krunkus
Page 1 of 2 [40 Posts]
View unread posts
View new posts in the last week
Goto page: 1, 2 Next
Mark the topic unread :: View previous topic :: View next topic
 Forum index » DIY Hardware and Software
Jump to:  

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


Forum with support of Syndicator RSS
Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2003 through 2009 by electro-music.com - Conditions Of Use