Jump to content

PIC hybrid synthesizer


MyCo
 Share

Recommended Posts

Hi!

It's saturday, I'd nothing to do, so I brought some ideas to paper:

pic_hybrid.gif

This is my concept of a modular hybrid synthesizer using 3 PIC, EPROM and some cheap logic and analog components. I think that works fine, and the PICs have much time to calculate their parts.

How it should work:

Each µC-Board listens to the same midiconnection, and each of them use only the data it needs, eg board 1 only takes note-on and note-off events. Each board calculates independently. The PIC on board 2 uses the timer to read the input and to output the results.

Board 3 & AOUT are the things TK made already.

The clock generator is basicaly a downcounter with 2 latches using a high frequency crystal to work. There is a similar board here:

http://www.cgs.synth.net/modules/cgs20_dco.html

The wavetable is an EPROM driven by a counter, similar to this:

http://www.cgs.synth.net/modules/wavetable.html

VCF ... I don't know, there are a lot of schematics...

DAC is simple IC, eg DAC0830, DAC0832...

So, what do you professionals  ;D think about it? Does it work, or am I wrong?

It is a modular hybrid wavetable synthesizer, you could add additional digital parts between board 2 and the DAC, you could also add analog parts between DAC and VCF... I guess it would be realy cool, if it works that way  ;D

THX

Maik

Link to comment
Share on other sites

  • 2 weeks later...

Hi,

If I may suggest:

Implement a 8 bit wavetable in the ROM internal to PIC#1 (using "retlw" instructions) and output an analog waveform using PIC#1's CCP1 and CCP2 PWM output. This allows for 2 channels.

Implement the amplitude env+mod with a simple VCA with control voltage coming from an Aout Channel associated with PIC#3.

This removes the need for PIC#2 and external ROM and DAC. You could duplicate PIC#1 for more voices.

cheers

Link to comment
Share on other sites

The idea of using pwm as analog output is good, but I guess that there are a lot of errors in the signal, because the caps may be to slow. I don't know, I'd never tried it.

I'm working on my selfmade testboards with AVR at the moment. I think it is possible, to generate waveforms with 1 AVR, and without an external EEPROM. When I use the slowest prescale timer, I can get a sampling rate around 16kHz and have 1024 cpu cycles to generate each sample. When I use precalculated waves from the internal EPROM or SRAM, I guess that works.

I've seen PICs with 40MHz. When an AVR isn't enough, then these PICs may be the solution.

My biggest problem is the DAC. I've around 20 DACs flying arround, but I'd never get one to do what it should do  ;D

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...