DIYstompboxes.com

DIY Stompboxes => Building your own stompbox => Topic started by: Peter Snowberg on January 22, 2004, 06:05:22 PM

Title: LFO DSP
Post by: Peter Snowberg on January 22, 2004, 06:05:22 PM
I started sketching out the final implementation notes for a high quality digital LFO last week and even had thoughts of offering it as a preprogrammed chip for the DIY crowd that would just need a resistor ladder D/A and some pots added to make it useful.

If I end up offering this chip, it will be a commercial product just to keep the code under wraps from other boutique makers (sorry). With Guyatone now using a digital LFO, I guess it's finally time.

Feel free to make any comments or suggestions, but I may use them in the chip. ;)


This is what is planned so far:

- Different chips with different capabilities
- low power
- up to 8 analog adjust inputs with 10 bit resolution
- resistor ladder (parallel), HC595 serial, or other outputs
- output widths from 1 to 16 bits
- multiple outputs available including inverted and phase shifted
- LFOs modulating LFOs
- Sine, Asymmetric Sine, Cosine, Square, Triangle, Hyper Triangle, Asymmetric Triangle, Sawtooth, Reverse Sawtooth, Integrator, and LFSR Noise waveforms
- Wavetables can be stored in external E2PROM ;) (limited by internal RAM or EEPROM speed)
- 32 bit internal resolution
- Wide range of mixing oscillators
- Modulate wave speed and/or amplitude via external 0-5 VDC input
- Modulate wave speed and/or amplitude via half or full wave rectifiers on the audio
- Mode Switching via regular switches and analog pots
- FET switching driver-debounce-flipflop (if the pins are there)
- status LEDs available via direct out or HC595 serial
- LFO DSP chips will be based on Atmel devices
- Preset store/recall to EEPROM
- tap tempo (Thanks to MikeB of Prophecysound Systems)

I'll be using these chips in my own pedals, so as they become available I’ll let you know the details. If there is interest before that point, I might make them available faster.

Pricing will be minimal above part cost.

Take care,
-Peter
Title: LFO DSP
Post by: mikeb on January 22, 2004, 06:19:42 PM
Possibly an option for tap-tempo? That's what I've got under development in mine .... ;)

Mike
Title: LFO DSP
Post by: Peter Snowberg on January 22, 2004, 06:28:11 PM
Cool 8)! Nice idea. Thanks.

Your Infinitphase is just jaw dropping! Beautiful pedal!!! :D

Take care,
-Peter
Title: LFO DSP
Post by: ExpAnonColin on January 22, 2004, 08:00:22 PM
:D That sounds excellent, Peter.  I'd definitely give them a try if you could keep the cost below $20.

-Colin
Title: LFO DSP
Post by: Peter Snowberg on January 22, 2004, 08:40:57 PM
DIY Community Only Pricing:
The cost of the most basic DLFO units should be about $8 while the more complex chips with internal 2Kx16bit wavetable storage and I/O for LOTS of switches and options should be about $21. A mid range should be roughly $13.

The $8 chips should give most people everything they ever wanted in a universal LFO and more. The big problem is configuring controls.

With so many options, I may just make a web form for specifying custom parts. :D There might be a one time cost of a few dollars for a new part, but all reorders would be a standard price.

DIY pricing will be available exclusively to users here and in DIY quantities. Chips will cost commercial vendors a little more, but not much.

All parts will be available in TQFP with more basic parts available in DIP28 & DIP40.

Take care,
-Peter
Title: LFO DSP
Post by: Peter Snowberg on January 22, 2004, 08:51:41 PM
Additional Features:

- MIDI Conrol
- Serial Control
- Clock Analog Muxes with any waveform (just use parallel 4 bit output + a mux or two :))
Title: LFO DSP
Post by: ExpAnonColin on January 22, 2004, 09:39:28 PM
Nice, Peter, I can't wait.  Where's the datasheet  :lol:

If I make a design I like with it and want to sell it through NSFX, does that still count as DIY?

-Colin
Title: LFO DSP
Post by: drew on January 22, 2004, 09:57:08 PM
Nice work Peter... I'd like to check one out. Are you gonna make a rudimentary board to go with it, in the same vein as a "prototype kit" that's available for a lot of commercial chips? (if you did, I'd almost certainly get a couple to use with pedals/synths.)


drew
www.toothpastefordinner.com
Title: LFO DSP
Post by: Peter Snowberg on January 22, 2004, 10:42:30 PM
Thanks for the comments. :)

Quote from: anonymousexperimentalistIf I make a design I like with it and want to sell it through NSFX, does that still count as DIY?
If you're selling that's no longer DIY, but don't worry, the commercial licenses will be similar for low volume. I'll program limited numbers of chips, but any real volume would be done by license and somebody else would burn the chips. If you're just selling a few pedals, you're still pretty much DIY.

Quote from: drewAre you gonna make a rudimentary board to go with it, in the same vein as a "prototype kit" that's available for a lot of commercial chips? (if you did, I'd almost certainly get a couple to use with pedals/synths.)
Hmmmm I hadn't thought of doing that. I'm really just making some chips I'm already going to be working with available to others and offering to make custom versions too. I'll sure have app notes showing how the chips could be integrated into any situation via opamps, optos, JFETs, MOSFETs, or BJTs, and I will do an ExpressPCB layout for an evaluation board that could be used in the real world, but I don't think I'll go much beyond that. It's all pretty textbook microcontroller D/A stuff. Hook up power, some pots, optionally some switches, and some resistors to form a D/A. Level shift with an opamp or transistor, and use the signal.

My intent is to create something with as much analog feel as possible in both operation and interfacing (except for MIDI or serial interfaces ;))

Take care,
-Peter
Title: LFO DSP
Post by: troubledtom on January 22, 2004, 11:10:29 PM
peter do you really know .......what you're getting yourself into .... this could be very fun . DANN GREEN is also on the diy forfront ,he's been doing this stuff for years.
  he's a friggen great designer.
              wishing all the pedalpals the best,
                       - tom :P  

ps: the work you do will never have an end. prepare fro it. : )
Title: LFO DSP
Post by: drew on January 23, 2004, 12:13:00 AM
Peter- ok! Couldn't tell whether you were doing a PIC/similar thing or an actual fabbed chip. Originally I thought you were making a new die/etc and was intensely impressed... :)

If it's a preprogrammed microcontroller I guess it would be pretty easy to hook up on perf. I have put together some simple stuff like midi-din converters, midi-cv converters using PICs and they are pretty straightforward and simple. Of course, I'm sure that's partly due to the programming...


drew
www.toothpastefordinner.com
Title: LFO DSP
Post by: Gripp on January 23, 2004, 05:33:56 AM
Yes!!!! Indeed nice work Peter!
You've got a buyer here.

Best!
/ Pelle Garpebring
Title: LFO DSP
Post by: Mark Hammer on January 23, 2004, 09:01:49 AM
That sounds like an extremely worthwhile project/product.  I might point out that there is a huge modular analog synth community/market that would probably welcome a small "modulation design" module that could supply a wide variety of designable modulation waveforms.  I posted a versionof such a module from way back - the Elektor SEWAR - on my site, but the amount of stuff you have to incorporate to generate a wide variety of waveforms in the analog domain is costly, huge, and often less flexible than you'd think.  What you propose just makes a huge pile of sense (and hopefully a huge pile of cents!).

Obviously there are limits to what can be stuffed into a PIC-like controller, but I'd like to suggest one additional feaure that I *think* can be readily implemented.  Over the last few years, a number of people have posted queries about how one would go about "freezing" a sweep on demand, then resuming.  Seems to me that in the digital domain, it's a simple matter of reading an input (i.e., a momentary switch), latching the current wavetable data ("freeze"), then continuing the readout from the wavetable conditional on the designated startup signal (which could be release of the momentary switch or pressing it again).

For an even more generic modulation source, it would be nice to have some means to skew or stagger two modulation outputs, such that they can range anywhere between 0 and 180 degrees different in phase.  That would incorporate in-phase, antiphase, quadrature, and all points in between.

Of course, the desire is to keep it small simple and cheap, so I'll shut up now.  :wink:
Title: LFO DSP
Post by: mattv on January 23, 2004, 09:25:40 AM
Thanks Peter!
Title: re: LFO DSP
Post by: toneman on January 23, 2004, 09:29:48 AM
As long as were dreaming...
What about LED outputs that R Plug-N-Play(?)

To make the *look* of that stompbox from NAMM
with the 2 columns of LEDs (recently mentioned)(?)

That MoogerFooger MURF could use some LEDs also.  LOL!

All the Wierd Synth Modlules have/had a "knight Rider",
or could it be a "cylon"  eye(?)

BTW, remember the PAIA "Sheppard Generator"

No LEDs, but
8-phases of  modulation output!!
2 waveforms, 4 phases!
No fancy chips.

dream, dream, dream
tone
Title: LFO DSP
Post by: R.G. on January 23, 2004, 02:25:00 PM
Good going. That's exactly the kind of thing I had in mind with the ASMOP stuff.

One thing you might want to consider. I am partial to the PIC series, largely because that's what I learned on. They have an eight pin version that I think I can get to put out a PWM LFO output. For DIY, the small chip footprint is going to be a real advantage. It's simple enough to program different chips for different waveforms.

The simplicity of getting anything you can think of inside a microcontroller rapidly leads me to the onset of creeping featurism, so I have a background task running that pops in from time to time with a "How *small* can we make this?" while I'm designing.
Title: LFO DSP
Post by: amz-fx on January 23, 2004, 07:01:57 PM
Peter, I have a working model of a digital LFO on my workbench right now... it is not as full-featured as your plans though:

Atmel AT90S2313
8-bit output resolution
R2R digital-analog conversion
EEPROM wavetable
Sine, triangle, square, sawtooth, hypertriangle waves
32-bit maximal length LSFR digital random noise
0.3Hz to 78Hz frequency range
status LED
no tap tempo but I'm working on that...

Here's a pic of my homemade programmers:

(http://209.124.248.167/media/proggies.jpg)

I'd offer my assistance but I'm sure you are probably more capable in this area than I.

regards, Jack
Title: LFO DSP
Post by: R.G. on January 23, 2004, 07:47:25 PM
Jack,

Good to see others lining up behind ASMOP.

Do think about getting it into a smaller package if Atmel offers that. It's OK to have several different models, each of which does the one or two LFO waveforms that work in a pedal.

Also, there is quite a bit of merit in having the LFO waveform swallowed into the chip. For instance, the outputs can be just the PWM outputs directly if you're going to use a switched-capacitor or modulated resistor to control something on the effect. External LFO voltage is most useful in strict retrofitting on voltage controlled pure analog things, as in using an LFO output voltage directly into a smoothed voltage input on a VCA for something like tremolo, cross and multi fading or morphing, or multi mixing.
Title: LFO DSP
Post by: doug deeper on January 23, 2004, 08:28:19 PM
how do you get into this stuff!!!
i want to learn!!!
need new noise!!!
doug
Title: LFO DSP
Post by: Peter Snowberg on January 24, 2004, 04:05:26 AM
Thanks for all the replies and PMs everyone. This stuff is more of a hot topic than I thought. :)


Quote from: troubledtompeter do you really know .......what you're getting yourself into .... this could be very fun .
That’s the problem with electronics. I was hooked by age 5. :lol: Does Dan Green have a URL? I’ve heard his name associated with the 4ms guys.


Quote from: drewPeter- ok! Couldn't tell whether you were doing a PIC/similar thing or an actual fabbed chip. Originally I thought you were making a new die/etc and was intensely impressed... :)
:D Oh no, I’m just a Bozo. I do PALs/GALs and I’m trying to start with Xilinx but VHDL is way beyond me at the moment. After that, it’s a matter of big cash. I’ll be able to do digital custom by the end of the year, but I’ll never approach anything analog custom. :D You need to be a wizard for that. The digital stuff is all automated. Enter your schematic, synthesize, verify, sell a kidney, and send the files to Mosis. http://www.mosis.org/Orders/Prices/price-list-domestic.html

The chips will all be Atmel and most may be ATMEGA series microcontrollers. Jack may have something planned with an AT90 series chip! We’ll have to see.


Quote from: GrippYes!!!! Indeed nice work Peter!
You've got a buyer here.
Many thanks Pelle! Greetings to Sweden. â€" Peter Snöberg ;)


Quote from: Mark HammerThat sounds like an extremely worthwhile project/product.
….
Of course, the desire is to keep it small simple and cheap, so I'll shut up now.  :wink:
Thanks for all your comments Mark. I hadn’t thought of sales to the synth community, but that’s a jolly good idea. :D Thank you. One thing that inspired this was seeing the process and availability of chips like the CEM3340 and CEM3310. Now that digital oscillation and dynamics processing is easy and relatively cheap, it might be the right window of opportunity for something like this.

A freeze switch! :D 8) What a wonderful idea! I was already planning a “reset” function that would sweep to a predetermined point and start in a predetermined direction from there, but a freeze command is wonderfully elegant! Thanks! Hmmm… maybe a little deceleration on the freeze and a little acceleration on the resume. :) That could of course be extended to high frequencies where a moderate slow-down would be like a rotating drum slowing down. At flanger sweep speeds you would want the halt a little shorter I would think.

One of the things I want to do with this is modulate the modulation. Phase offset and modulation are in there. :D I was thinking of a vibrato/tremolo for a Leslie simulator that would try to address the directionality of the rotating drum & cone a little more by using two synced LFO waves. I was wondering how many Leslie simulators combine both vibrato and tremolo?

I’ll take a look at the SEWER on your site. Thanks!


Quote from: tonemanAs long as were dreaming...
What about LED outputs that R Plug-N-Play(?)
For some models, there will be direct LED outputs. Just use a resistor to limit to 20ma MAX! other models will use 74HC595 serial/parallel chips to drive the LEDs without requiring a huge and expensive microcontroller. I like LEDs too. :D

If you wanted to get a “cylon” scan of an analog mux, that can be done with a triangle wave. I suppose there’s no reason why an 8 or 16 position LED bar graph meter couldn’t just be hung with one or two 74HC595s.

I’ll have to look up the Sheppard Generator. This series will also have up to 8 outputs of any phase, but with up to probably 32 or 64 oscillators of a number of basic wave shapes or wavetable data that can also be mixed, but it sounds like that one is an analog “uncle” of this sort of design. Think of this as a POD for LFOs. ;)


Quote from: mattvThanks Peter!
You’re welcome. I’ll be very happy to see people post pedals with a DLFO! :D


Quote from: R.G.Good going. That's exactly the kind of thing I had in mind with the ASMOP stuff.
Thanks for the comments RG and the background task! :) When you realize you can do that and that and that and that and….. well… :D Luckily I’ve made a living doing embedded systems so I’m aware of the firmware limitations, but when these chips start having 128K of flash in them, well…. Feature creep can be an issue.

I’ve been doing PICs for close to 10 years (in two months) and while they’re neat, other chips have caught my eye recently. I got heavily into the Scenix SX28 and did a 230.4KHz DPLL with 20ns resolution controlling a software UART that read FM0 HDLC coded serial (LocalTalk + software version of the Zilog 8530). Cool chips.

For the past year, it’s been Atmel for me. I got a JTAG ICE box and I’m loving it.

What I may do is just macroize the code and use a web form to specify custom parts with a wide range of capabilities. Select your device, I/O style, features, and configuration data. Each of these chips may have some config registers accessible via serial. A couple serial commands should be able to customize operation for any set of switches or controls.

In terms of packages…. TQPF gets pretty small and I have yet to try soldering a MLF package. MLF gives you 32 pins in about the same form factor as a DIP-8.


Quote from: amz-fxPeter, I have a working model of a digital LFO on my workbench right now... it is not as full-featured as your plans though:
That’s great Jack! Are you going to make that a project and release source etc? I was thinking of concentrating on the 12-16 bit end. It looks like your chip is what most people will be looking for I think. Very cool 8). It sounds like they’re very similar but the AT90 chips are cheaper and if 8 bits is enough, then why hassle with larger more expensive parts? I’m thinking more of the MEGA parts right now and of integration into my pedal designs. I really appreciate the offer of help, but since this is for my commercial ends, I must respectfully decline. I thank you much though.


Quote from: doug deeperhow do you get into this stuff!!!
i want to learn!!!
need new noise!!!
The Atmel AVR chips are pretty cool and fairly easy to program. There are lots of web sites about getting started and the tools are pretty cheap now. Check out Digikey (get a free catalog!). Try the ATSTK500 for $79 here: http://dkc3.digikey.com/PDF/T041/0288.pdf

It takes a while to get going, but once you do, there’s nothing like DIY embedded computers. ;) If you’re more adventurous, you could always build a programmer like Jack’s two examples above, but the Atmel ATSTK500 will make life MUCH easier.

You may also want to check out PICs. Cool chips with lots of features and a low price.


Take care,
-Peter
Title: LFO DSP
Post by: Paul Perry (Frostwave) on January 24, 2004, 06:18:22 AM
Don't forget the one/F noise generator!! and I bet you could sell a lot of long cycle shift register noise chips, the old Motorola ones are out of production and sounded bad to boot...
Title: LFO DSP
Post by: R.G. on January 24, 2004, 08:56:28 AM
QuoteIn terms of packages…. TQPF gets pretty small and I have yet to try soldering a MLF package. MLF gives you 32 pins in about the same form factor as a DIP-8.
Aye, there's the rub. The DIP package is just about as fine a pitch as the typical DIYer can handle. That's one reason I never put any of my surface mount stuff out in public. There would be three (about) successful builders and a hundred thousand people who never could get it soldered right.

QuoteDon't forget the one/F noise generator!! and I bet you could sell a lot of long cycle shift register noise chips, the old Motorola ones are out of production and sounded bad to boot...
This is one where the eight pin 12C5xx series shines. You can make a sixty four bit shift register noise generator in about fifty lines of code.  It's substantially easier than a sine or other table look up LFO if you count the work to generate the table. And a noise generator only three pins: power, ground, and digital out.

In working with programmable uControllers, you quickly learn that it's not the function that's the problem, it's feeding the function out through the limited number of pins.

One thing I've been messing with is a bass drone pedal, similar to the Taurus.  There's a "top octave generator" set of source code for the PIC on the net. It actually generates a middle octave because of speed limitations, but it's pretty simple to get it to make lower octaves. How about a three-chip pedal that has twelve momentary footswitches and puts out a bass note when you press the "key"? Actually, for a CD4046 and a CD4024 per note, this chip does generate all octaves, as you can phase lock the notes up from the octave it does generate.

sigh... so many designs, so little time...
Title: LFO DSP
Post by: amz-fx on January 24, 2004, 09:45:00 AM
QuoteAre you going to make that a project and release source etc?
My plans were to make it a project but not release the source...  for some of the reasons you mentioned but also because a user would have to build a programmer in addition to the project and then learn how to use the software to program the AVR...  it's simpler just to sell programmed chips.

re: the noise generator
A 32-bit max length LSFR will have a  2^32 - 1 cycle length, or 4,294,967,295  bits  or 536,870,912 8-bit words. At the fastest rate of 78Hz, it can run for 6,882,960 seconds without repeating (114,716 minutes, 1912 hours, 79.66 days)!

The top-octave was another project I had on my list but as you said, so little time!

regards, Jack
Title: LFO DSP
Post by: doug deeper on January 24, 2004, 02:32:13 PM
hmmm....still dont really follow....
i wish there was a site like this one concerning stompbox dsp....one of you
well versed fellas should make a diy project using dsp....like mabey an electra dist emulator :] hehehe....
naw....if there is any other info around id love to get into this stuff...
like what does the programing intale????
(software ect.)
and why would the $79 programmer be better than the diy one thats would cost about a buck fifty???
thanks alot,
doug
Title: LFO DSP
Post by: Peter Snowberg on January 24, 2004, 06:51:08 PM
Quote from: R.G.Aye, there's the rub. The DIP package is just about as fine a pitch as the typical DIYer can handle.
This is a very good point, but as I'm really just offering my own semi-custom parts for others to tinker with, my focus is on my apps. After doing a bunch of projections, this idea just isn't a money maker in any way unless the chips are in pedals sold in decent volume (make that rather large volume). For DIY with ease, there are the DIP-28 and DIP-40 parts. Other adapter solutions like "surfboards" come into play too. :)


Quote from: Paul Perry (Frostwave)Don't forget the one/F noise generator!!
White noise is pretty easy and with an external RC filter, you can get pink. The chips just aren't fast enough to do the lowpass filtering in digital at any reasonable bandwidth.

A few months back EDN published this http://www.reed-electronics.com/ednmag/contents/images/di3227.txt which at least gets a white source on a PIC. :)


Quote from: amz-fxMy plans were to make it a project but not release the source...  for some of the reasons you mentioned but also because a user would have to build a programmer in addition to the project and then learn how to use the software to program the AVR...  it's simpler just to sell programmed chips.
Understood. :) Since neither of us is looking at releasing the code, perhaps there is some good room for a collaboration on some articles about the subject? There are so many MCUs out there and the concepts are all quite similar.


Quote from: doug deeperhmmm....still dont really follow....
i wish there was a site like this one concerning stompbox dsp....one of you
well versed fellas should make a diy project using dsp....like mabey an electra dist emulator :] hehehe....
naw....if there is any other info around id love to get into this stuff...
like what does the programing intale????
Say you were building a car... it would be easier if you started with an engine and transmission that you know works. Building embedded systems is similar. If you get the real eval board from the device maker, the assembler/compiler is known to work with it, and you can generally load up example code and get it working right away.

I gave up on DIY development systems for things like this a long time ago. If I'm going to program chips, I get a real-deal chip programmer. It's neat that you can program many chips with less, but if your time is worth absolutely anything, it's really a question of the $79 unit from the chip maker, or the $1500 unit you build with $1.50 in components that still doesn't work as well in the end.

The $79 unit not only works flawlessly, but there's a LOT more going on there than with those $1.50 programmers.

When I got started with AVR processors, I bought the ATSTK-500, the ATSTK-502, and the JTAG ICE. I think it came to about $500, but the thought of replacing the functionality of these tools in a DIY context for less than $20,000 :shock: is highly laughable. I'm being quite serious about that too.

Oh, and the Atmel stuff runs from their environment which is called “AVR Studio”. Download it free at http://www.atmel.com :D

When I got heavily into the DSP56001, I bought a NeXT Cube because it came with the best DSP56K tools available and it had the chip on the motherboard. It still makes a good bookend. :lol:

On DSP....

Notice the name is DIYStompBoxes and not DIYAnalogStompBoxes. ;) I'm going to try adding some digital in there because it's a new set of tools that does different things. There have been several DIY DSP sites out there, but they all seem to deal with non-stompbox uses. There is quite a bit about effects, but mostly in different contexts. Google around and you'll find lots.

DSP will be showing up more and more in the months to come. These DLFO chips use a combination of sequencers and DSP techniques to do their work, but I have a DIY DSP project in the wings that will come out as soon as I can get some extra cash (I'm really broke right now). It uses a couple Alesis DSPs for a wide variety of multi-effects at an amazingly low cost for what you get. The cost is less than $20 (in singles) for a complete A/D-DSP-D/A subsystem that handles reverbs as well as filters and other effects; and that's 48K, 24 bit :D. If you don't want to wait for me, Alesis-Semiconductor sells evaluation boards for their DSPs, but they cost a couple hundred.

When it comes down to it, programming microcontrollers takes some real study if you haven't worked in that area before, and DSP programming is quite non-trivial. It can be very hard to understand and amazingly complex when you consider that the "program" is really more of a machine description of a piece of calculus. I'm hoping the availability of DIY DSP effects hardware to serve as a starting point will help people to understand DSP and make useful effects without so much pain.

One place to start learning is to look at the PDF files here: http://www.stanford.edu/~dattorro/ (don’t read anything here if you have a headache ;))
Audio Engineering:
http://www.stanford.edu/~dattorro/EffectDesignPart1.pdf
http://www.stanford.edu/~dattorro/EffectDesignPart2.pdf
http://www.stanford.edu/~dattorro/EffectDesignPart3.pdf
Save them to your hard drive. :) Part 1 caused a big stir when it was published by AES because it may have let out some Lexicon reverb trade secrets. AES does not offer it as a re-print. Part 3 is about digital oscillators.

One neat thing about DSP in filtering is you use the same type of math you would for figuring out resistor and cap values, they just turn into coefficients instead parts values.

In closing, my micro-rant on digital emulation: DSPs are really good at doing chaos math, but distortion I feel is about entropy rather chaos. DSPs don't understand entropy except via statistical correlation. DSPs are good at making digital distortion effects, but when it comes to emulating those screaming red-hot electrons in a tube or the behavior of other materials, DSP just doesn’t cut it (at less than ultra-computer levels, once you can throw teraflops at the problem with enough samples entropy and chaos math emulating entropy, all bets are off).

DSP may be a good desert topping, but it makes a lousy shoe polish.

Take care,
-Peter
Title: LFO DSP
Post by: Paul Perry (Frostwave) on January 25, 2004, 02:39:35 AM
I'm not a programmer, but here is a fun thing with PICs and perhaps other micros: you can use the external clock as a master time control.
(yeah I found that out by putting 8Mhz crystals in a ckt that wnated a 20MHz clock.. everythign worked perfectly except the midi, of course.. took me "too long" to spot what was happening there :oops:
just struck me as a fun idea to have a variable 'master' clock!