### mohammed chalil (@chalil)

Hi, I would suggest you apply slew on the boundary and then simply concatenate. Slew shall be a dissenting ramp and end and ascending ramp at the beginning. In...

Hi, one approach would be to convert the audio clip (after removing silence resampling to ref fs, etc) to mel spectrogram. for example, if you have the ref clip...

cool.one of the easiest way to verify that the interconnections are correct is to create a tone generator schematic to play that through the speakers. when...

hope you're trying to use SigmaStudio for SHARC to program ADSP-21489 Ezkit. If that is the case, in addition to the EzKit, you need to have USBi connector, SigmaStudio™...

Hi, you can try ZoomFFT or CZT (chirp z-transform) which can do DFT from f1 to f2 with higher resolution. Hope it helps.Regards,Chalil

hi, test with rand is required. additionally include different tones to cover Nyquist range. test using a chirp is also useful. the easiest way to test is to take...

If you're planning IF <200kHz, simplest, imo, will be to go with one of the SigmaDSP from ADI, such as ADAU170x. merits :no programming requiredrich DSP library,...

I would suggest any one of the following or their combinations, for audio:1. check the power in FFT domain before taking IFFT. if the power is higher than -3dBFS...

an IF of the order 455kHz would require high rate IO (with DMA) to drive the DAC. GPIO won't serve the purpose at this rate. typically,if you'are using PCM kind...

looks like you are talking about something very specific. I'm attaching one sample code which computes fixed point log(x). it uses simple curve fit approach and...

as mentioned by @bholzmayer you may need to do sub instead of div.the sample calculation may help:x = 0.54000. log(x) = -0.61619 ...

to get the expected result one needs to perform the CIC add and sub as int operations. you won't get he expected results if you do the operations with float. to...

int cic_int(int *pX, int *pY, int r, int n, int BlockSize)
{
static int S[MAX_STAGES] = {0};
int out = 0;
static int count = 0;
int countOut = 0;
for (int i...

my 5c,1. How the decimations effect the intermediate frequency?Decimation in general will give you the frequency if the frequency is less than half of the final...

Hi Sara, adding to many valuable comments, here is my 5c:in general, complex numbers are 2-dimensional extension of real numbers. complex numbers further extended...

fully agree. as long as the register in question has enough bits as per the table (there is a script also to compute the widths) you're safe. makesure that you...

as any other system, if you can define the IO transfer characteristics right you're half done. a non-linear system of this type can be defined by a combination...

Hi, you may want to check your spectrogram setting, mainly the y axis setting. this kind of display can come even come when you open the stream with different...

Hi, may not be an helpful tip. just curious, Looking at the data, the system doesn't seems to be linear. for example, the DC gain or steady state gain is not same...

simplest approach would be to use allpass filter(s).for different allpass filter most of them suitable for audio like application is covered in https://www.dsprelated.com/freebooks/pasp/Allpass_Filters.html hope...

Hi, you may check your mac. CIC expects the addition to be signed int add without saturation, ie if the value overflows it should wrap instead of saturation. overflow...

may be I'm missing something here. may i ask you one question : why are you feeding I & Q signal as Real and Imag. typical case, I & Q itself will have...

Let me try if I can help you with your Qs:>> Perhaps a dummy question : mixing can take place in the discrete time domain ? Yes. possible in discrete time...

The sinusoidal signals for which you want to measure the phase is contained in same channel or they are acquired through two different channels ? Let me assume...

Phil, getting accuracy of 1Hz at 500MHz is difficult to achieve with cordic or LUT with interpolation. However, i feel, if you have wider accumulator, then following classical...

there is yet another approach which can be helpful for several practical cases: stated problem is to find y = 2**x. look for one more level higher than the 2**x....

in general, for the cases like this, there are 2 things which are required to be addressed. 1. jitter in the clock and 2. long term drift in the clock abs values. Jitter...

PetterJohn, they are not the same. However, i/q approach can give you Hilbert pairs which gives you two mutually orthogonal signals. Hilbert transform is a narrowband operation...

Thinking little differently, is there any reason not to believe (at least think think) that irrational numbers exists due to representational aberration. If there...

ADI had extended the SigmaStudio GUI programming environment for SHARCs. Not sure if this is still live. try https://www.analog.com/en/design-center/evaluation......

Hi Sudarshan, may not be fully inline with your problem statement. however, here a formula which may help at least in another similar situation. take the part...

[editing to correct the data rate descripancies]here is my 2 cent - here, you at least two problems to solve:a. interface high speed ADC to a low-power ARM. b....

I'm assuming you're referring to inverse quantization process as in audio, video or image CODECs. if that is the case, if you know quantization then you can guess...

some of the effects which you can solve by basic DSP theory are :* filters - lowpass/bandpass/highpass/shelving/EQ/peaking/etc. * dynamic processors - Limiter,...

Hi, Though it's not clear the term 'self noise', i'm assuming you're looking for noise / harmonics content in your signal. if that is the case, you can use the THD...

total_delay[n] = org_delay[n] + const_delay[n]org_delay[.] = a 3 cycle sawtooth with pp of +/-60 degree.const_delay[.] = half cycle sawtooth starting with 0 and...

IIR allpass filters wold help here in general. for example, if your sampling rate is 16k, then your delay is less an sample and you need a fractional delay. http://users.spa.aalto.fi/vpv/publications/icassp00-fd-slides.pdf...

you my use windowing before fft so that cycle alignment is not required. choose the window type, for phase, hanning should be a good try. in addition to this you...

Ben, Hope you have resolved this at your side on the generic aspects. You can also drop a mail into mdchalil13@yahoo.com in case you need to take this further on...

Though I didn't do it myself, one option to leverage the arrival time-stamp to decide more accurate re-sampling factor would be to 'fit' incoming time-stamp against...

The approach with asrc which we discussed in our conversation so far performs asynchronous re-sampling to adjust the effect of time base changes. This scheme is...

best way is to use Audio Precision which can be set to give you signals with jittery clocks.alternate options are many,like:a. perform upsampling and downsampling...

Before I answer your Qs, let's assume an API for the ASRC call. int asrc_resample(int *p_in, int *p_out, uint n_in, uint n_out); >> how to decide on how...

There is no need to estimate the instantaneous drift. As long as the effect of drift is averaged out in the right way is fine. For example, consider the following...

One way to handle consumption of audio signals from two systems with two different clock is to use ASRC in one path. There are multiple ways to use asrc. One...

Nice plots Fred. This particular plot gives a feel that fir is superior to cic. As a homework, the number of sample used for my computation and computation and the...

Thanks again Fred. It gave 3.5dB improvement in THD; still behind. Please see the attached plots. the right bottom is the frf version, rest are the same...the changed...

Thanks Fred for further tips. I changed the freq from 1k to 1001. and added low amp white noise. the modified thd is attached. A) top left - with cicB) right -...

Thank you Fred. I tried to apply the hybrid approach as in your paper. the result is attached. fig2.JPG the bottom one is the new plot which uses pre fir filter...

Thank you Fred. Please attach the paper once again. Looks like the document is missing in the thread.

while testing with a synthetic PDM (like sigma-delta) signal, I came across an interesting result. The CIC filter with N=5 and M=1 is going to give better performance...

feed a signal with clear envelop variation, like an am signal. measure the delay in envelope mid points. hope it helps.

I see. so you don't have coherent fc. try converting the input to ssb by a lpf at input. then add carrier and apply envelop detection. since carrier is addition...

>> i need to know an algo to shift a signal of X (232) Hz.Algorithm to shift a signal by a freq f1 is to simply multiply the signal in time domain and perform...

I used windowing for multiple signal processing purposes. the most frequent one is windowing prior to FFT. I was using FFT to determine the spectral strength of fundamental...

you can use Parabolic or Gaussian interpolation to get the bin in the neighborhood of 3 spectral bins. there are several articles about it. just google http://cds.cern.ch/record/720344/files/ab-note-200...i...

folks, fully agreeing to the fact that connecting SFDR to Jitter is difficult analytically. However, some connection can be established based on intuition which...

looks like, you're assuming L&R can be directly be used as I&Q - not explicitly made any statement about this in your mail - you may want to validate this...

you're in the right track, i guess. before deciding the platform you should simulate the cases using reference code. so the sequence can be:1. write your algorithm...

another related question "can we make a linear system which contains one or two non-linear stages?"let's take audio decoder system with classD power amplifier...

>> It seems that you're averaging 128 samples and sliding the windows over time span of 32,000 samples. as part of ETS, the first step is reshuffling the...

yep, you are right, THE solution lies in some adaptive algorithm, like LMS or variations. but i need to prepare little bit more to move forward in that direction....

almost there. however, the interference can come anywhere even between f1 and 4f1. AWG noise is also present throughout. this will make the FIR filter more complex. to...

Fred, thanks for followup . i thought it is clear from the first mail.i'll try again. may be i mixed problem and solutions in my conversation. first of all, keep...

more complete view of the solution and its effectiveness. I used ETS on 32k samples with averaging 128. assumed input freq with 1ppm freq error from f1. note (4th...

another result for sharp waveform features. here, the input contains w0 @1000, 4w0 @500, noise @100 and 1M@100 and an amplitude 'dip' of at w0 rate. I used ETS...

that exactly is the point, i need to estimate ω0 with min cost and tune the rest such that the only nω0 comes out. note : I just edited numbers in the original...

Fred, i will explain how my problem migrated from filtering to frequency estimation. thanks for your patients and all supporting valuable technical points related...

the second waveform. i don't know why it is not getting displayed in the prv post. to answer your q, the freq is required to compute the period of fundamental...

i tried simple matlab code with synthetic signal as described in the original post. it seems ok. the first figure is output before averaging (all rearranged...

since the signal which i'm interested in periodic ( tone with it's harmonics) it need to take care of only one cycle. in fact this is key aspect. i'm trying with...

FIR it tool costly at 250M. and IIR will kill my wave shape.my case is like that in a CRO, you want to view a small duration of a signal with *all possible* details....

Use this form to contact **chalil**

Before you can contact a member of the *Related Sites:

- You must be logged in (register here)
- You must confirm you email address