Hi list!
I have a table which contains a wavelet waveform which is not symmetric. I need to displace this waveform to the right in order to make the waveform symmetric. Somebody knows how to displace to the right an array a specify number of samples?
Saludos!
Hallo raul!
I have a table which contains a wavelet waveform which is not symmetric. I need to displace this waveform to the right in order to make the waveform symmetric. Somebody knows how to displace to the right an array a specify number of samples?
You could do that e.g. with the iem_tab external (pd-cvs/externals/iem/iem_tab) !
LG Georg
Georg Holzmann wrote:
Hallo raul!
I have a table which contains a wavelet waveform which is not symmetric. I need to displace this waveform to the right in order to make the waveform symmetric. Somebody knows how to displace to the right an array a specify number of samples?
You could do that e.g. with the iem_tab external (pd-cvs/externals/iem/iem_tab) !
or if performance does not matter, you can do it with [tabread] and [tabwrite]. if you want to do it in-place (source- and destination-data are in the same array), make sure to not overwrite the data before you have read it. e.g. when right-shifting start reading (and writing) from the right side.
mf.asdr IOhannes
Hallo, raul diaz hat gesagt: // raul diaz wrote:
I have a table which contains a wavelet waveform which is not symmetric. I need to displace this waveform to the right in order to make the waveform symmetric. Somebody knows how to displace to the right an array a specify number of samples?
Dump the original table sample by sample then write each sample to a shifted position in a different table. See attached patch.
Frank Barknecht _ ______footils.org_ __goto10.org__
Thanks!
I have use the Frank's tabread-tabwrite scheme with some modifications and now I have my symmetric wavelet waveform.
Best regards.
2006/8/22, Frank Barknecht fbar@footils.org:
Hallo, raul diaz hat gesagt: // raul diaz wrote:
I have a table which contains a wavelet waveform which is not symmetric. I need to displace this waveform to the right in order to make the
waveform
symmetric. Somebody knows how to displace to the right an array a specify number of samples?
Dump the original table sample by sample then write each sample to a shifted position in a different table. See attached patch.
Ciao
Frank Barknecht _ ______footils.org_ __goto10.org__
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
On Tue, 22 Aug 2006 12:30:55 +0200 "raul diaz" raul.lete@gmail.com wrote:
Hi list!
I have a table which contains a wavelet waveform which is not symmetric. I need to displace this waveform to the right in order to make the waveform symmetric. Somebody knows how to displace to the right an array a specify number of samples?
I'm curious. What are you using it for? Or should I say how are you going to use it?
Jamie