Hello, I've made a code, that works alright. Here it is:
http://www.pastie.org/984709
I'm having problem about plotting data. When I plot iChannel0LeftIn and
iChannel0LeftOut I get the same data, only that iChannel0LeftOut is a bit
late.
I want diagram that would show the signal that was before, and what it is like
after processing.
How can I make this, how I should rework it?
Becouse i can't see delay, chorus, flanger or vibrato effect on data at the
output.
Please help me.
Problem with plotting
Started by ●May 31, 2010
Reply by ●May 31, 20102010-05-31
Measure your processing delay: put in a delta function and see how many
samples it takes to come out. You should be able to estimate the
processing delay if you know how many clock cycles there are between
samples in and samples out, but measurement is easier.
Once you know the processing delay, subtract that from the output channel.
Then when you plot the in vs out graph, the timing will be reasonably well
lined up.
A real delta function is just a single sample wide pulse, but you can go
up to two samples wide to make sure you don't miss it (assuming the source
signal is not tied to the sampling clock).
Patience, persistence, truth,
Dr. mike
On Sun, 30 May 2010, liabasis wrote:
> Hello, I've made a code, that works alright. Here it is:
> http://www.pastie.org/984709
>
> I'm having problem about plotting data. When I plot iChannel0LeftIn and iChannel0LeftOut I get the same data, only that iChannel0LeftOut is a bit late.
>
> I want diagram that would show the signal that was before, and what it is like after processing.
> How can I make this, how I should rework it?
>
> Becouse i can't see delay, chorus, flanger or vibrato effect on data at the output.
>
> Please help me.
samples it takes to come out. You should be able to estimate the
processing delay if you know how many clock cycles there are between
samples in and samples out, but measurement is easier.
Once you know the processing delay, subtract that from the output channel.
Then when you plot the in vs out graph, the timing will be reasonably well
lined up.
A real delta function is just a single sample wide pulse, but you can go
up to two samples wide to make sure you don't miss it (assuming the source
signal is not tied to the sampling clock).
Patience, persistence, truth,
Dr. mike
On Sun, 30 May 2010, liabasis wrote:
> Hello, I've made a code, that works alright. Here it is:
> http://www.pastie.org/984709
>
> I'm having problem about plotting data. When I plot iChannel0LeftIn and iChannel0LeftOut I get the same data, only that iChannel0LeftOut is a bit late.
>
> I want diagram that would show the signal that was before, and what it is like after processing.
> How can I make this, how I should rework it?
>
> Becouse i can't see delay, chorus, flanger or vibrato effect on data at the output.
>
> Please help me.