piclist 2003\02\12\130551a >
Thread: Rounding the square wave
www.piclist.com/techref/index.htm?key=rounding+square
flavicon
face BY : Ned Konz email (remove spam text)



On Wednesday 12 February 2003 07:52 am, you wrote:

> I need to be able to round off the square wave coming from the HWPM
> on my PIC. The HPWM output is being used to generate sound. I am
> currently using the standard 2 Rs + 2 caps which works in a fashion
> but is still rather harsh. The freq range is potentionaly from 247
> hz up to 12.5 kHz so an active filter is needed (I think). Can any
> body point me in the right direction?

Another strategy is to use a PIC that has two HW PWMs and use one to
drive the clock on a clock-programmable digital active filter IC
(like the Maxim MAX7490).

>
> In return for the favour I can post a rather neat interrupt routine
> for the PIC 18 series that will take a series of MIDI codes and
> time statements in a DB list and turn that in to a tune on RC2.
> Just give it a tune no, set the start flag and away it goes all by
> it's self. It includes sub looping!

I'd love to see it!

--
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics
<200302120952.48426@ned.bike-nomad.com> 7bit

In reply to: <MBBBKLDKPJNIHEMNOOEGEEDCCKAA.Tim@tjbsystems.com>
See also: www.piclist.com/techref/index.htm?key=rounding+square
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) Rounding the square wave

month overview.

new search...