Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| From | Martin Brown <|||newspam|||@nezumi.demon.co.uk> |
|---|---|
| Newsgroups | comp.dsp, sci.electronics.design |
| Subject | Re: Waveform interpolation |
| Date | 2015-08-12 10:18 +0100 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <mqf31k$bsr$1@speranza.aioe.org> (permalink) |
| References | <55c7a3de$0$29180$4c5ecfc7@frugalusenet.com> <wXsyx.30008$2J4.28171@fx02.iad> |
Cross-posted to 2 groups.
On 11/08/2015 21:30, Robert Baer wrote: > bitrex wrote: >> Suppose I have some sampled signal data in a ROM on a microcontroller or >> something, and I'm reading it out to a DAC. Let's say that for some >> reason, I'd like to begin reading this data at some random position, go >> for a while, and then stop at a random stopping point and jump to >> another random position in the ROM and continue reading, and so on, to >> obtain pseudorandom variations on the waveform data. >> >> 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 might be able to get away with nothing. Early CD players used mute if the CRC error was uncorrectable then smarter ones used last sample. You could easily see it on an oscilloscope but for a short glitch event it was all but inaudible. Without knowing the nature of the waveforms being manipulated it is impossible to choose the best way to do it. By comparison the burst of loud almost ultrasonic clicks or boiling mud when DAB/DTV sound goes haywire is really irritating. > With arbitrary point values, there is no "easy" solution,other than > the crude use of average of the 2 values (last of past points, first of > "jump" points). > If one had the time between "normal" samples, one could take the > previous (say) 5 points,and the "next" (to be used) points and calculate > previous slope, and calculate "next" after-"jump" slope. Then use slopes > and values to fake intermediate values; might be hokey-sounding > transition, but a lot better than the one-point fake mentioned. Nearest neighbour will be more than good enough on a potentially noisy signal. Derivatives of numeric data are pretty ropey to begin with. -- Regards, Martin Brown
Back to comp.dsp | Previous | Next — Previous in thread | Find similar | Unroll thread
Waveform interpolation bitrex <bitrex@de.lete.earthlink.net> - 2015-08-09 15:02 -0400
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 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 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