Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.electronics.design > #505946

Re: square wave to sine filter

From "Tim Williams" <tiwill@seventransistorlabs.com>
Newsgroups sci.electronics.design
Subject Re: square wave to sine filter
Date 2018-05-19 23:47 -0500
Organization A noiseless patient Spider
Message-ID <pdqukm$6to$1@dont-email.me> (permalink)
References <d0n0gdhcfmsiukt0eufh92ovlnh0kfa24v@4ax.com> <e4f45bb6-6c18-4d2a-9073-c31b4dc848c0@googlegroups.com> <Zt5MC.148443$T14.17529@fx44.iad>

Show all headers | View raw


"bitrex" <user@example.net> wrote in message 
news:Zt5MC.148443$T14.17529@fx44.iad...
> I've looked at those papers every once in a while for a decade or so but
> for the life of me I've never once seen him simply post some source code
> that does what the documents say in e.g. portable ANSI C.
>

He gives away the source code.

It's in PostScript.

;-)

Incidentally, I've not been too terribly excited about those sequences, 
since as soon as you need a slightly different waveform -- even amplitude --  
the whole thing goes to pot.

It's a perfectly soluble problem today, where you can throw a friggin' dual 
core ARM9 plus FPGA at a stupid power converter, and save all the power 
consumption and cost of that brain on the few points of efficiency you gain 
in turn.

But if you're going to such lengths, it's worthwhile also to spend much more 
time figuring it out yourself, or hiring a guy to.  You can do worse than 
write the solver in Python, and run it on a platform like that.

Or for that matter, fill a ROM table with 256+ precalculated sequences, and 
just let that be that.

More generally, there are optimal-trajectory algorithms in the literature, 
which can run in real time on FPGAs.  That's good for high efficiency audio, 
say.

Tim

-- 
Seven Transistor Labs, LLC
Electrical Engineering Consultation and Contract Design
Website: https://www.seventransistorlabs.com/ 

Back to sci.electronics.design | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

square wave to sine filter John Larkin <jjlarkin@highlandtechnology.com> - 2018-05-19 10:31 -0700
  Re: square wave to sine filter George Herold <gherold@teachspin.com> - 2018-05-19 15:17 -0700
  Re: square wave to sine filter "Tim Williams" <tiwill@seventransistorlabs.com> - 2018-05-19 18:46 -0500
    Re: square wave to sine filter bitrex <user@example.net> - 2018-05-19 21:09 -0400
    Re: square wave to sine filter John Larkin <jjlarkin@highlandtechnology.com> - 2018-05-19 18:34 -0700
  Re: square wave to sine filter bitrex <user@example.net> - 2018-05-19 21:04 -0400
    Re: square wave to sine filter John Larkin <jjlarkin@highlandtechnology.com> - 2018-05-19 18:32 -0700
    Re: square wave to sine filter "Tim Williams" <tiwill@seventransistorlabs.com> - 2018-05-19 23:37 -0500
      Re: square wave to sine filter bitrex <user@example.net> - 2018-05-20 01:47 -0400
      Re: square wave to sine filter John Larkin <jjlarkin@highlandtechnology.com> - 2018-05-20 08:35 -0700
  Re: square wave to sine filter bill.sloman@ieee.org - 2018-05-19 19:20 -0700
    Re: square wave to sine filter bitrex <user@example.net> - 2018-05-19 22:56 -0400
      Re: square wave to sine filter bill.sloman@ieee.org - 2018-05-19 20:49 -0700
      Re: square wave to sine filter "Tim Williams" <tiwill@seventransistorlabs.com> - 2018-05-19 23:47 -0500
        Re: square wave to sine filter bitrex <user@example.net> - 2018-05-20 01:33 -0400
          Re: square wave to sine filter bitrex <user@example.net> - 2018-05-20 01:41 -0400

csiph-web