Yahoo Groups archive

SynthModules

Index last updated: 2026-04-28 23:14 UTC

Message

Re: semi-tone math

2004-05-20 by Michael A. Firman

Dave,

Here is a little tip (if you haven't figured it out already). You don't
want to "balance" the code between interrupt and base level. What 
you want to do is as little execution on interrupt as possible. On
interrupt you should just set flags or save simple values. You should
never do any long calculations or other intensive work. Your main,
base level loop should do all the work. It can check the flags that
you set on interrupt and then go and do what is needed.


--- In SynthModules@yahoogroups.com, "djbrow54" <davebr@e...> wrote:
> I'd be more than happy to send anyone the code I have.  It's not
> quite ready for prime time.  I sometimes miss events and I'm not sure
> why.  There is no debugging capability with interrupts so it's all
> trial and error.  I'll take help in debugging it.  I've tried to
> balance the code between the isr and main loops so there is ample
> time for both processes to run.
> 
> Dave
> 
> --- In SynthModules@yahoogroups.com, "john mahoney" <jmahoney@g...>
> wrote:
> > I've imagined a similar application. Before doing an arpeggiator, I
> want to make a CV delay ("echo").
> > --
> > john

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.