Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > sci.electronics.design > #372395
| From | Clifford Heath <no.spam@please.net> |
|---|---|
| Newsgroups | sci.electronics.design |
| Subject | Re: Waveform interpolation |
| References | <55c7a3de$0$29180$4c5ecfc7@frugalusenet.com> <50ea15b6-e71b-499f-8237-085130306076@googlegroups.com> <55c7b54c$0$29233$4c5ecfc7@frugalusenet.com> <mq9tgt$v8j$1@speranza.aioe.org> |
| Message-ID | <TMayx.27732$bg4.22417@fx29.iad> (permalink) |
| Organization | TeraNews.com |
| Date | 2015-08-11 09:51 +1000 |
On 10/08/15 20:13, Martin Brown wrote: > On 09/08/2015 21:17, bitrex wrote: >> On 8/9/2015 4:05 PM, John Miles, KE5FX wrote: >>> On Sunday, August 9, 2015 at 12:02:59 PM UTC-7, bitrex wrote: >>>> What sort of interpolation algorithm might be appropriate to use in a >>>> situation like this to smooth the discontinuity between the two jump >>>> points? >>> >>> You won't be able to jump at random samples, just at the zero >>> crossings. If you jump around randomly, the output data will no >>> longer represent samples of a band-limited signal, and no >>> postfiltering process can remove the influence of the jumps. >>> >>> If you really have to support arbitrary branches, the best approach is >>> probably to continue reading from both the original and destination >>> points and blend the data gradually. > >> >> Yes. I could try the former, but then I guess I'd need to store >> metadata on where the zero crossings are. I'd like to do this on a >> little 8 bit microcontroller, and space is kind of limited. And the >> metadata would have to be regenerated if I were ever to change the >> original data. > > Unless the thing is very slow clock rate you can afford to switch stream > at/near a zero and run along the new source waveform until you reach a > suitable position. Provided the CPU has some spare capacity available > this shouldn't be too hard without storing metadata. >> >> Could the latter approach work on a processor with limited resources? > > Or as someone else suggested fade one out and the other in over a number > of samples comparable with a few wavelengths. Any artefacts of the cross fade would cluster around 1/(cross-fade-time) in Hz, so pick a time and LPF away the artefacts. There's probably some cross-fade curve that minimises the effect, but that'll also depend on the LPF filter characteristics. I expect that's how frequency-shifters work, am I wrong?
Back to sci.electronics.design | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Waveform interpolation bitrex <bitrex@de.lete.earthlink.net> - 2015-08-09 15:02 -0400
Re: Waveform interpolation Ilya Kalistru <stebanoid@gmail.com> - 2015-08-09 12:12 -0700
Re: Waveform interpolation Martin Brown <|||newspam|||@nezumi.demon.co.uk> - 2015-08-09 20:36 +0100
Re: Waveform interpolation Robert Baer <robertbaer@localnet.com> - 2015-08-11 13:33 -0700
Re: Waveform interpolation Martin Brown <|||newspam|||@nezumi.demon.co.uk> - 2015-08-11 22:29 +0100
Re: Waveform interpolation spope33@speedymail.org (Steve Pope) - 2015-08-12 05:14 +0000
Re: Waveform interpolation rickman <gnuarm@gmail.com> - 2015-08-09 15:40 -0400
Re: Waveform interpolation "John Miles, KE5FX" <jmiles@gmail.com> - 2015-08-09 13:05 -0700
Re: Waveform interpolation bitrex <bitrex@de.lete.earthlink.net> - 2015-08-09 16:17 -0400
Re: Waveform interpolation Martin Brown <|||newspam|||@nezumi.demon.co.uk> - 2015-08-10 11:13 +0100
Re: Waveform interpolation Clifford Heath <no.spam@please.net> - 2015-08-11 09:51 +1000
Re: Waveform interpolation Martin Brown <|||newspam|||@nezumi.demon.co.uk> - 2015-08-11 08:26 +0100
Re: Waveform interpolation piglet <erichpwagner@hotmail.com> - 2015-08-11 09:13 +0100
Re: Waveform interpolation Robert Baer <robertbaer@localnet.com> - 2015-08-11 13:51 -0700
Re: Waveform interpolation Clifford Heath <no.spam@please.net> - 2015-08-12 10:11 +1000
Re: Waveform interpolation rev.11d.meow@gmail.com - 2015-08-09 14:14 -0700
Re: Waveform interpolation "John Miles, KE5FX" <jmiles@gmail.com> - 2015-08-09 17:15 -0700
Re: Waveform interpolation rev.11d.meow@gmail.com - 2015-08-09 17:34 -0700
Re: Waveform interpolation Robert Baer <robertbaer@localnet.com> - 2015-08-11 13:39 -0700
Re: Waveform interpolation Rev. 11D Meow! <rev.11d.meow@gmail.com> - 2015-08-11 21:27 -0700
Re: Waveform interpolation DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2015-08-12 00:52 -0400
Re: Waveform interpolation Rev. 11D Meow! <rev.11d.meow@gmail.com> - 2015-08-11 23:01 -0700
Re: Waveform interpolation Robert Baer <robertbaer@localnet.com> - 2015-08-11 13:34 -0700
Re: Waveform interpolation Rev. 11D Meow! <rev.11d.meow@gmail.com> - 2015-08-11 21:31 -0700
Re: Waveform interpolation DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2015-08-12 00:54 -0400
Re: Waveform interpolation Rev. 11D Meow! <rev.11d.meow@gmail.com> - 2015-08-11 22:59 -0700
Re: Waveform interpolation Les Cargill <lcargill99@comcast.com> - 2015-08-09 16:12 -0500
Re: Waveform interpolation John Larkin <jlarkin@highlandtechnology.com> - 2015-08-09 14:36 -0700
Re: Waveform interpolation John Larkin <jlarkin@highlandtechnology.com> - 2015-08-09 14:41 -0700
Re: Waveform interpolation Les Cargill <lcargill99@comcast.com> - 2015-08-09 17:36 -0500
Re: Waveform interpolation robert bristow-johnson <rbj@audioimagination.com> - 2015-08-09 21:25 -0400
Re: Waveform interpolation bitrex <bitrex@de.lete.earthlink.net> - 2015-08-09 22:09 -0400
Re: Waveform interpolation David Brown <david.brown@hesbynett.no> - 2015-08-10 09:26 +0200
Re: Waveform interpolation bitrex <bitrex@de.lete.earthlink.net> - 2015-08-10 06:58 -0400
Re: Waveform interpolation David Brown <david.brown@hesbynett.no> - 2015-08-10 14:31 +0200
Re: Waveform interpolation bitrex <bitrex@de.lete.earthlink.net> - 2015-08-10 09:45 -0400
Re: Waveform interpolation krw <krw@nowhere.com> - 2015-08-10 12:53 -0400
Re: Waveform interpolation spope33@speedymail.org (Steve Pope) - 2015-08-10 20:20 +0000
Re: Waveform interpolation DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2015-08-10 16:35 -0400
Re: Waveform interpolation Rev. 11D Meow! <rev.11d.meow@gmail.com> - 2015-08-11 23:03 -0700
Re: Waveform interpolation whit3rd <whit3rd@gmail.com> - 2015-08-09 22:56 -0700
Re: Waveform interpolation Rev. 11D Meow! <rev.11d.meow@gmail.com> - 2015-08-11 22:57 -0700
Re: Waveform interpolation bitrex <bitrex@de.lete.earthlink.net> - 2015-08-12 06:54 -0400
Re: Waveform interpolation whit3rd <whit3rd@gmail.com> - 2015-08-12 13:05 -0700
Re: Waveform interpolation glen herrmannsfeldt <gah@ugcs.caltech.edu> - 2015-08-10 06:45 +0000
Re: Waveform interpolation bitrex <bitrex@de.lete.earthlink.net> - 2015-08-10 07:10 -0400
Re: Waveform interpolation Jasen Betts <jasen@xnet.co.nz> - 2015-08-10 08:16 +0000
Re: Waveform interpolation "David Eather" <eather@tpg.com.au> - 2015-08-11 14:15 +1000
Re: Waveform interpolation Randy Yates <yates@digitalsignallabs.com> - 2015-08-11 09:30 -0400
Re: Waveform interpolation Robert Baer <robertbaer@localnet.com> - 2015-08-11 13:30 -0700
Re: Waveform interpolation Martin Brown <|||newspam|||@nezumi.demon.co.uk> - 2015-08-12 10:18 +0100
csiph-web