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 
go to the radio page Live at electro-music.com radio 1 Please visit the chat
  host / artist show at your time
today> Twyndyllyngs tonight Chez Mosc
 Forum index » DIY Hardware and Software
DIY Top Octave Generator
Post new topic   Reply to topic Moderators: jksuperstar, Scott Stites, Uncle Krunkus
Page 1 of 3 [58 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, 3 Next
Author Message
Scott Stites
Janitor
Janitor


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

PostPosted: Sat Oct 04, 2008 7:30 am    Post subject: DIY Top Octave Generator
Subject description: Can we build one?
Reply with quote  Mark this post and the followings unread

Another thing that I think would sell, but it totally beyond my ability, but might be easy for other members to implement (I don't know):

A TOG (Top Octave Generator) board/IC. I would think there would be a way to do it with one of them there programmable ICs. That whole area of synthesizers has just DIED along with the disappearence of the TOG IC. It would reintroduce something to Synth DIY that is practically unobtainium these days.

It seems to me organ repair centers do sort of the same thing, but they do it in the price range of the valued limb/first born.

Nothing fancy, just something that divides down to a high octave of twelve steps. Either a programmed IC, or a little board for it. I think that'd sell once people realized what they could do with it (for one thing, use JH's Solina thing to make a nice little string machine). Paraphonic would be back, baby, and that would be a good thing (IMO).

_________________
My Site
Back to top
View user's profile Send private message
Uncle Krunkus
Moderator


Joined: Jul 11, 2005
Posts: 4761
Location: Sydney, Australia
Audio files: 52
G2 patch files: 1

PostPosted: Sat Oct 04, 2008 3:35 pm    Post subject: Reply with quote  Mark this post and the followings unread

Great ideas Scott,
Although I'm very slow with actually getting around to doing anything, both of these ideas have featured in my head soup over the last year or so. Well,... in a round about kind of way.
The first one sounds like a distant cousin of the Graphic ENV generator I told you about. (For everyone else, it's a collection of vertical sliders which are ganged together to form a custom ENV of however many stages you like)
The second one is related to the discussions Loss1234 and I have had about deriving chromatic tones by multiplying up and dividing down by various integer values. It's obvious to me now, both from what Scott just said, and Ian's new wavetable VCO, that just simply starting from a VHF signal and dividing down is the way to go. Of course, I'd prefer to implement it in common CMOS chips rather than a PIC. I just like them better. They take up more space, but present a lot less hard work IMHO.
I think I'll get a spreadsheet happening today!

_________________
What makes a space ours, is what we put there, and what we do there.
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: Sat Oct 04, 2008 6:49 pm    Post subject: Reply with quote  Mark this post and the followings unread

You're preaching to the choir about CMOS Laughing

However, this is one of those cases where you'd have one hell of a huge board just to get the frequencies you wanted (there's a lot of dividing going on, and I'm not all that convinced multiplying signals is the best way to go).

You'd want something that started an octave or two above hearing, then divide down from that. That would be plenty of CMOS to wrap your iron around if you think about it. The waves would be pulse waves, but you could think about constructing sawtooths out of those waves as they divide down. Methinks some of the TOG synths did just that, with low notes being rich in sawtooth, and becoming more pulse-like as the frequency went up (because there were fewer pulse waves available to construct the harmonics for the sawtooth).

Another way to go about it, without TOG, would be to make standard boards that divided a specific, divided down note range. JH did this with his PS3XXX clone, IIRC. That would be a good selling point in a way - you would need twelve of them to construct a paraphonic synth.

I'd kill for freely available TOGs, though.

Cheerios,
Scott

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


Joined: Apr 03, 2004
Posts: 24509
Location: The Netherlands, Enschede
Audio files: 298
G2 patch files: 320

PostPosted: Sat Oct 04, 2008 7:44 pm    Post subject: Reply with quote  Mark this post and the followings unread

Scott Stites wrote:
and I'm not all that convinced multiplying signals is the best way to go).


Depends upon the scale you want, for a pythagorean scale it could make sense actually. You'd use rate multipliers for the multiplication then, which actually is division Laughing Any other scale would be horror with multipliers I think to figure out a good approximation ...

Using a processor to do it is not entirely trivial either, it better be a fast one, but having that you could make many scales which would be interesting as well and ... impossible ... with CMOS. The division itself in CMOS for one scale might be doable, but it's pretty large numbers you'll want to divide by, so it will be some of board space indeed.

_________________
Jan
also .. could someone please turn down the thermostat a bit.
Posted Image, might have been reduced in size. Click Image to view fullscreen.
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: Sat Oct 04, 2008 8:49 pm    Post subject: Reply with quote  Mark this post and the followings unread

I was thinking about the scale that fits on the white and black keys Laughing

I do have an old copy of Polyphony that covers even temperment using CMOS following a TOG, and that portion of it isn't tiny. Multiplication with CMOS can be tricky in certain instances, but if you have something to divide down, it wouldn't be an issue.

I was hoping FPGA's had come far enough? Division beyond that could be done with standard CMOS - a lot, but not an awful lot. You'd need to divide down six to eight times per note in a scale. The right counters would help to keep the parts count low.

_________________
My Site
Back to top
View user's profile Send private message
Uncle Krunkus
Moderator


Joined: Jul 11, 2005
Posts: 4761
Location: Sydney, Australia
Audio files: 52
G2 patch files: 1

PostPosted: Sat Oct 04, 2008 9:50 pm    Post subject: Reply with quote  Mark this post and the followings unread

You'd need a separate set of counters for each note yeah?
So, say you start with 14080Hz, you get top A for free.
Don't you just use a couple of 8 bit counters for each note? Set a certain number through diodes to reset. And take the signal off whatever MSBs you like the sound of yeah? 2^14 is 16384, so you only need a 14 bit counter each. That's an 8 plus a couple to make up.
Have I missed something?

_________________
What makes a space ours, is what we put there, and what we do there.
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: Sat Oct 04, 2008 10:11 pm    Post subject: Reply with quote  Mark this post and the followings unread

Quote:
Have I missed something?


Resolution. A TOG starts off at a very high frequency (in the MHz range) and divides down from that, because it's difficult (impossible) to divide to within a few cents of what you actually need without doing so. Each note is 1.059 times the frequency of the next lower note, which takes a lot of horsepower. No TOG actually divides to the exact amount, but gets close enough for horseshoes. And that's starting from RF land...

_________________
My Site
Back to top
View user's profile Send private message
Uncle Krunkus
Moderator


Joined: Jul 11, 2005
Posts: 4761
Location: Sydney, Australia
Audio files: 52
G2 patch files: 1

PostPosted: Sat Oct 04, 2008 10:55 pm    Post subject: Reply with quote  Mark this post and the followings unread

Here are the frequencies down from a high A: -
A - 14080.0000
G# - 13289.7503
G - 12543.8540
F# - 11839.8215
F - 11175.3034
E - 10548.0818
Eb - 9956.0635
D - 9397.2726
C# - 8869.8442
C - 8372.0181
B - 7902.1328
Bb - 7458.6202
A - 7040.0000
If, for example, we reset at 13289, that's G accurate to 5 decimal places! That's a lot closer than horseshoes. How much more accurate should it be?
Most tuners don't go to 1/100th of a cent.

BTW I think we should split this off from the EM-PCB thread. Can I do that?

_________________
What makes a space ours, is what we put there, and what we do there.
Back to top
View user's profile Send private message Visit poster's website
Uncle Krunkus
Moderator


Joined: Jul 11, 2005
Posts: 4761
Location: Sydney, Australia
Audio files: 52
G2 patch files: 1

PostPosted: Sat Oct 04, 2008 11:48 pm    Post subject: Reply with quote  Mark this post and the followings unread

I just checked the numbers, and if you bite the bullet and go for 2*8bit counters per note, then your division power goes up to 65536.
So, to make the most of it, take it all up by two octaves and two semitones to the B at 63217Hz.
But,....
I just checked, and we have a 14bit counter in the CD4020! So, if we stick with the "just inside audible" top note of B at 15804Hz, we've got the top octave from just 11 chips! and a shitload of diodes!! Rolling Eyes
Come on Scott!? This could be fun! Laughing

_________________
What makes a space ours, is what we put there, and what we do there.
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: Sun Oct 05, 2008 12:16 am    Post subject: Reply with quote  Mark this post and the followings unread

It's late here so i may not be thinking the clearest right now, but reset at 13289? Wouldn't you be dividing 14080 by 13289 if you did that?

Wouldn't you want to reset every time the 14080 frequency counted 1.0595 steps or something along those lines?

_________________
My Site
Back to top
View user's profile Send private message
Uncle Krunkus
Moderator


Joined: Jul 11, 2005
Posts: 4761
Location: Sydney, Australia
Audio files: 52
G2 patch files: 1

PostPosted: Sun Oct 05, 2008 2:00 am    Post subject: Reply with quote  Mark this post and the followings unread

No, actually you're right. Embarassed
I've just completely mixed up what the hell I was trying to work out!
Sometimes my brain just doesn't work as well as it used to.
Maybe it's the drugs! Shocked Laughing

What I was thinking is completely wrong. So utterly wrong I should wipe these posts! And, worse than that, it shows that I have absolutely no idea what the problem actually is. Still don't.

_________________
What makes a space ours, is what we put there, and what we do there.
Back to top
View user's profile Send private message Visit poster's website
Uncle Krunkus
Moderator


Joined: Jul 11, 2005
Posts: 4761
Location: Sydney, Australia
Audio files: 52
G2 patch files: 1

PostPosted: Sun Oct 05, 2008 2:07 am    Post subject: Reply with quote  Mark this post and the followings unread

Okay,
I think my brain fart has subsided.
Next question, what's the highest frequency you can clock a 4020 with?
I'll see if I can find out for myself, but at least you know I'm thinking about it the other way up now. Laughing

_________________
What makes a space ours, is what we put there, and what we do there.
Back to top
View user's profile Send private message Visit poster's website
blue hell
Site Admin


Joined: Apr 03, 2004
Posts: 24509
Location: The Netherlands, Enschede
Audio files: 298
G2 patch files: 320

PostPosted: Sun Oct 05, 2008 5:48 am    Post subject: Reply with quote  Mark this post and the followings unread

Not chop it off to a public place then?

3.5 MHz @ 5V upto 12 MHz at 15 V.

_________________
Jan
also .. could someone please turn down the thermostat a bit.
Posted Image, might have been reduced in size. Click Image to view fullscreen.
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: Sun Oct 05, 2008 6:58 am    Post subject: Reply with quote  Mark this post and the followings unread

If I had a nickel for every time my brain farted, I'd own this board. Laughing

Anyway, now you're thinking. This is why I still wonder if an FPGA didn't have enough gates to crunch out the hard divisions. If not, I think you could with a fist-full of counters. It would be a board that replaced an IC, but, hell, you can't get the ICs any more, so.....


magic.PNG
 Description:
 Filesize:  40.14 KB
 Viewed:  12720 Time(s)

magic.PNG



_________________
My Site
Back to top
View user's profile Send private message
Uncle Krunkus
Moderator


Joined: Jul 11, 2005
Posts: 4761
Location: Sydney, Australia
Audio files: 52
G2 patch files: 1

PostPosted: Sun Oct 05, 2008 2:59 pm    Post subject: Reply with quote  Mark this post and the followings unread

Blue Hell wrote:
Not chop it off to a public place then?

3.5 MHz @ 5V upto 12 MHz at 15 V.


Yeah,.... Chop it!

_________________
What makes a space ours, is what we put there, and what we do there.

Last edited by Uncle Krunkus on Sun Oct 05, 2008 7:18 pm; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
Uncle Krunkus
Moderator


Joined: Jul 11, 2005
Posts: 4761
Location: Sydney, Australia
Audio files: 52
G2 patch files: 1

PostPosted: Sun Oct 05, 2008 3:35 pm    Post subject: Reply with quote  Mark this post and the followings unread

Scott Stites wrote:
If I had a nickel for every time my brain farted, I'd own this board. Laughing

Anyway, now you're thinking. This is why I still wonder if an FPGA didn't have enough gates to crunch out the hard divisions. If not, I think you could with a fist-full of counters. It would be a board that replaced an IC, but, hell, you can't get the ICs any more, so.....


I had such a brain turn around last night, that I set up a dynamic spreadsheet and I was actually very close to finding these numbers!
Now that you've gone and spoilt my fun, I'm gonna make it my mission to find the 10bit set!

But first I think we should settle on a chip! The way I see it, we're gonna have a counter per note, so why not go to 14bit and use the 4020? I'll tell you why not!
8bit to audible means starting around 2Mhz
14bit to audible means starting around 128Mhz!! Shocked

But 10bit to audible could start around 8Mhz Wink

As Jan pointed out, (and I confirmed BTW) 8Mhz is okay if we're up around 15V. But can we control tuning at that frequency? Could we have a pre-count tuning mechanism which simply wasted clock cycles? I'll do some more number crunching.

_________________
What makes a space ours, is what we put there, and what we do there.
Back to top
View user's profile Send private message Visit poster's website
Kassen
Janitor
Janitor


Joined: Jul 06, 2004
Posts: 7678
Location: The Hague, NL
G2 patch files: 3

PostPosted: Sun Oct 05, 2008 6:24 pm    Post subject: Reply with quote  Mark this post and the followings unread

Ok, I feel guilty now... I've been using 2Ghz and 64bit floats... and using it to tune to integer multiples of 200Hz... and really liking that scale. Sorry. :¬)
_________________
Kassen
Back to top
View user's profile Send private message Send e-mail Visit poster's website
blue hell
Site Admin


Joined: Apr 03, 2004
Posts: 24509
Location: The Netherlands, Enschede
Audio files: 298
G2 patch files: 320

PostPosted: Mon Oct 06, 2008 4:39 am    Post subject: Reply with quote  Mark this post and the followings unread

Integer multiples of 200 Hz sound good because it tunes well with the mains hum I guess ... and 440 Hz is obviously a mistake ... or is 50 Hz the mistake ...
_________________
Jan
also .. could someone please turn down the thermostat a bit.
Posted Image, might have been reduced in size. Click Image to view fullscreen.
Back to top
View user's profile Send private message Visit poster's website
Uncle Krunkus
Moderator


Joined: Jul 11, 2005
Posts: 4761
Location: Sydney, Australia
Audio files: 52
G2 patch files: 1

PostPosted: Mon Oct 06, 2008 5:12 am    Post subject: Reply with quote  Mark this post and the followings unread

I reckon they should split the difference and change to a standard of 55hz which wouldn't hurt much existing equipment, and is 3 octaves below A @ 440. Then we might finally "teach the world to sing, in perfect harmony! Grow apple trees, and honey bees, and la la la la la,........" Laughing

BTW Can you still chop this off Jan? From the bit about TOGs onwards. Maybe put Mosc's on topic post back afterwards. Oh, and I'll have a coffee too while you're at it, and are there any chocolate biscuits? Very Happy

_________________
What makes a space ours, is what we put there, and what we do there.
Back to top
View user's profile Send private message Visit poster's website
Uncle Krunkus
Moderator


Joined: Jul 11, 2005
Posts: 4761
Location: Sydney, Australia
Audio files: 52
G2 patch files: 1

PostPosted: Tue Oct 07, 2008 3:38 am    Post subject: Reply with quote  Mark this post and the followings unread

Scott,
what ideas have you got about the master clock?
Is there an easy way to hook up an 2, 4, or 8Mhz crystal to a chip and get a nice clean clock out? Could you tweak the frequency on a crytal based clock generator like that?
Does the first note out of a TOG have to be any one in particular?
I was thinking about the 40103. Using a programable down counter such as that would simplify the board heaps as you wouldn't need to do external testing with diodes and/or gates.
I can't see how to up the bit count to 9 or maybe 10 without using external testing, which will mean gates, and diodes, and a lot more complicated layout. Unless we can find a 10bit programmable counter, or make the 40103 act like one?
Maybe it is the perfect place to go for the simplicity of 8bit for this reason, but I was kind of thinking that if we go to the hassle of making a DIY TOG, then we should make it better than the obsolete ones. What do you think?
I'm still working on finding the "magic" 10bit dividers. Maybe they don't exist, and then going up to 10bit would be a waste of time. Confused
I'll attach the spreadsheet I've been using, maybe you'll get inspired. Very Happy


Note Ratios TOG.xls
 Description:

Download (listen)
 Filename:  Note Ratios TOG.xls
 Filesize:  62.5 KB
 Downloaded:  262 Time(s)


_________________
What makes a space ours, is what we put there, and what we do there.
Back to top
View user's profile Send private message Visit poster's website
Rykhaard



Joined: Sep 02, 2007
Posts: 1290
Location: Canada

PostPosted: Tue Oct 07, 2008 7:23 am    Post subject: Reply with quote  Mark this post and the followings unread

This might seem quite silly but a year or more ago, in my investigations towards building my own string machine, I played with generating squarewaves from the simple but useful CD40106. Smile
It were stable! I'd set one up with 2 or 3 individual oscillators at different frequencies and they held their frequencies over a few hours, with no troubles at all.

1 x CD40106 = 6 different frequencies? That'd only be 2 of them for an octave. ??? Smile

For divide down - have your entire top octave done with 2 x CD40106's and then divide by 2 for each note of each octave below / etc.

No? Smile (What's wrong with this thought line of mine. I'm not awake enough yet, to figure any problem out. Surprised Smile )

EDIT: A few minutes after having typed this and I remember that out in the garage, I have the Farfisa VIP 400 that I still have to bring in to the studio - give it it's missing fuse and fuse holder and there's my 'string machine'. Doh. Surprised Wink Laughing
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
richardc64



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

PostPosted: Tue Oct 07, 2008 7:46 am    Post subject: Reply with quote  Mark this post and the followings unread

(Where was this thread split from?)

A board of a dozen or more ICs isn't going to be much of an improvement over the original 50240 and it might be worth it to accept the exorbitant price the organ repair co's want for a replacement. That, or persuade someone with the skills to provide a CPLD or FPGA recreation.

btw, 8-bit division is definitely not good enough and 9-bits is only "better."

That's surprising and good news about the 40106 osc stability. All could be tuned simultaneously with techniques discussed in the Lunetta forum.

_________________
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
Rykhaard



Joined: Sep 02, 2007
Posts: 1290
Location: Canada

PostPosted: Tue Oct 07, 2008 8:13 am    Post subject: Reply with quote  Mark this post and the followings unread

richardc64 wrote:

That's surprising and good news about the 40106 osc stability. All could be tuned simultaneously with techniques discussed in the Lunetta forum.


That was using metalized polyester film caps. Smile (1n or 2n2. Can't remember which one.)
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
urbanscallywag



Joined: Nov 30, 2007
Posts: 317
Location: sometimes

PostPosted: Tue Oct 07, 2008 9:38 am    Post subject: Reply with quote  Mark this post and the followings unread

Scott Stites wrote:
I was hoping FPGA's had come far enough?
A $1 CPLD would do it.
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 Oct 07, 2008 10:59 am    Post subject: Reply with quote  Mark this post and the followings unread

Quote:
(Where was this thread split from?)


Ed Space. We were wondering about other products we could put in the store to help support the forum.

Quote:
A $1 CPLD would do it.


That makes the most sense to me, though it's entirely out of my grasp to actually do it.

Let a thousand paraphonics bloom.... Very Happy

_________________
My Site
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 3 [58 Posts]
View unread posts
View new posts in the last week
Goto page: 1, 2, 3 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