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 3 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: Previous 1, 2, 3
Author Message
Uncle Krunkus
Moderator


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

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

urbanscallywag wrote:
Cool.

9 flip flops for the main counter, and 13 flip flops for the outputs. 10 flip flops left.

Excuse me while I brush up on some fancy combinational logic...or switch to FPGA. Very Happy


I didn't want to rain on your parade here either, but I think you've underestimated the number of flip-flops needed. Each note will need it's own dedicated set of flip-flops as they are all reset at the end of each cycle, ie; you can't use some flip-flops to divide by one integer while some of them are being shared to divide by another integer, let alone sharing them across 12 notes. I estimate almost 108 flip-flops needed, not the 32 you've quoted above. I could of course be wrong, I have been before! Wink 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
urbanscallywag



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

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

No rain there, I am in agreement with you. I was probably unclear. Smile

I only estimated 22 flip flops, not 32 which is the number in the smallest CPLD.

The number I came up with was only based on the main 9-bit counter and flip flops on the actual output of each of the 13 divided clocks. I skipped the magic in between, showing that there were only 10 flip flops left in the smallest FPGA to actually derive each of the 13 output signals. So unless someone does some pretty fancy combinational logic it cannot be done with the remaining 10 flip flops.

The number you came up with is more realistic and closer to what I came up with. The $12 CPLD quoted above was done with these "proper" calculations.
Back to top
View user's profile Send private message
urbanscallywag



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

PostPosted: Tue Oct 21, 2008 10:57 pm    Post subject: Reply with quote  Mark this post and the followings unread

BOB-SNARE/anyone: If you're interested in keeping PLCC-44, why not divide the design into multiple pieces/chips? Luckily there is no reason the signals couldn't come from 2 or more CPLD.

I would opt for a large QFP and PCB if I were doing the design, but that would require the CPLD to be soldered and programmed by me, raising the price. It would be small and elegant though. Very Happy
Back to top
View user's profile Send private message
BOB-SNARE



Joined: Sep 26, 2008
Posts: 30
Location: Australia

PostPosted: Wed Oct 22, 2008 5:34 pm    Post subject: Reply with quote  Mark this post and the followings unread

urbanscallywag wrote:
BOB-SNARE/anyone: If you're interested in keeping PLCC-44, why not divide the design into multiple pieces/chips? Luckily there is no reason the signals couldn't come from 2 or more CPLD.

I would opt for a large QFP and PCB if I were doing the design, but that would require the CPLD to be soldered and programmed by me, raising the price. It would be small and elegant though. Very Happy


Like I said before Very Happy , I have been able to fit the 8-bit TOG into a single PLCC44 package.
I've simulated and synthesized and routed the design in the xilinx webpack. I just need to order the parts (and JTAG programmer or make a CheapTag programmer).
I'm still thinking about some optimisations for the 9-bit version, but it may need to be in 2 PLCC44 CPLDs.

I suppose it comes down to what DIYers want. TOG and Octave dividers in an all-in-one solution or just the TOG as a MK50240 replacement (at 5V).
Back to top
View user's profile Send private message
urbanscallywag



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

PostPosted: Wed Oct 22, 2008 6:42 pm    Post subject: Reply with quote  Mark this post and the followings unread

I think integrating the octave dividers makes sense, a half-CPLD half-CMOS approach seems like you should just be using all CMOS.

I will have to go back read what the differences in precision of the 8 and 9 bit counters are. Surprised
Back to top
View user's profile Send private message
theshaggyfreak



Joined: Oct 29, 2006
Posts: 48
Location: Centreville, VA

PostPosted: Thu Oct 23, 2008 11:15 am    Post subject: Reply with quote  Mark this post and the followings unread

Hey, if anyone is interested, I have a couple of 50240's that were purchased at Radio Shack in the 80s still in the blister packs. Anyone want to make me an offer? Smile
_________________
Shaggy
http://www.pureshift.com
http://www.bsodmusic.com
Back to top
View user's profile Send private message Visit poster's website
richardc64



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

PostPosted: Sun Jan 11, 2009 8:19 am    Post subject: Reply with quote  Mark this post and the followings unread

Beating a dead horse?

Would this be suitable?
http://www.datasheet4u.com/html/C/D/4/CD4059_TexasInstruments.pdf.html

Or, with a microcontroller, this?
http://www.measurementcomputing.com/PDFmanuals/82c54.pdf

The 82C53/54 counters are 16 bit, so they could provide octave selection as well as note division. They also have more modes than are needed for generating square waves, so a cpld "clone" could be much simpler. (Maybe.)

Two 82C53's and three CD4520's would give 6-note polyphony (or paraphony), and only 6 simple VCAs would be needed instead of X# of diodes per key.

I'm proposing a compromise between doing it all in hardware or all in software, which is beyond some people. (This one, fr'instance.)


8253.gif
 Description:
 Filesize:  8.39 KB
 Viewed:  8459 Time(s)

8253.gif



_________________
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
Scott Stites
Janitor
Janitor


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

PostPosted: Sun Jan 18, 2009 10:01 pm    Post subject: Reply with quote  Mark this post and the followings unread

http://matrixsynth.blogspot.com/2009/01/top-octave-generator-11.html
_________________
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 3 of 3 [58 Posts]
View unread posts
View new posts in the last week
Goto page: Previous 1, 2, 3
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