Yahoo Groups archive

SynthModules

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

Message

SAH w/ Quantizing and Gate/Trigger, etc. - More description

2004-01-28 by Brice D. Hornback

Mike,

Check out the file I just uploaded to the Sample and Hold section.  (It was
there yesterday but I put more comments into it and made a couple changes.)
It has the INIT routines for Start/Stop.  It's basically just a four channel
Chromatic quantizer that holds the note for the length of time as defined in
the BPM variable.  It also outputs 5V on the AUX jack to use as a
Gate/Trigger.  When you start the program, the red/green lights flash back
and forth, resets the DAC values, and waits for you to start the program.
There is also a subroutine added (not used in this program) that outputs a
tone on the AUX jack that can be used for tuning.

It's easy to add the subroutines to the other programs.  Just copy and paste
in the "new" subroutines and call them from within the main running portion
of the program.  Make sure if you do copy/paste in any new subroutines that
you also have the appropriate VARiables and CONstants defined at the
beginning of the code.

- Brice
http://www.SynthModules.com

----- Original Message ----- 
From: "bdhornback" <bdh@cyberbound.net>
To: <SynthModules@yahoogroups.com>
Sent: Wednesday, January 28, 2004 7:26 AM
Subject: [SynthModules] Re: New file uploaded to SynthModules


> Mike,
>
> You read that correctly.  In this program, the start and stop buttons
> do nothing.  Once you load that program it stays loaded until you
> load another program.  When you power up your synth, it is a four
> channel chromatic quantizer.
>
> Remember, all this code can be used as building blocks.  Other
> examples use the buttons to start the program running and to stop it
> from running.  Would you like to see an example of the Chromatic
> Quantizer that uses the buttons?
>
> - Brice
> http://www.SynthModules.com
>
>
> --- In SynthModules@yahoogroups.com, "Mike Marsh" <mmarsh@w...> wrote:
> > OK, so the way I read the code the program does this:
> >
> > * get signal from the 4 input pins
> > * scale, then quantize the signals
> > * stage the signals to the output
> > * pulse the dac to send the signal
> > * go back and do it again infinitely (goto start)
> >
> > So my question is, how do you stop this program?  Does pressing the
> > stop button halt execution without having to poll the button?
> >
> > Thanks,
> >
> > Mike
> >
> > --- In SynthModules@yahoogroups.com, SynthModules@yahoogroups.com
> > wrote:
> > >
> > > Hello,
> > >
> > > This email message is a notification to let you know that
> > > a file has been uploaded to the Files area of the SynthModules
> > > group.
> > >
> > >   File        : /PSIM-1 Programs/Quantizer/BASICQU2.BAS
> > >   Uploaded by : bdhornback <bdh@c...>
> > >   Description : 4 channel chromatic quantizer - fast version
> > >
> > > You can access this file at the URL
> > >
> > > http://groups.yahoo.com/group/SynthModules/files/PSIM-1%
> > 20Programs/Quantizer/BASICQU2.BAS
> > >
> > > To learn more about file sharing for your group, please visit
> > >
> > > http://help.yahoo.com/help/us/groups/files
> > >
> > > Regards,
> > >
> > > bdhornback <bdh@c...>
>
>
>
>
> Yahoo! Groups Links
>
> To visit your group on the web, go to:
>  http://groups.yahoo.com/group/SynthModules/
>
> To unsubscribe from this group, send an email to:
>  SynthModules-unsubscribe@yahoogroups.com
>
> Your use of Yahoo! Groups is subject to:
>  http://docs.yahoo.com/info/terms/
>
>

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.