¿ªÔÆÌåÓý

Re: Radio S32LE samples don't go negative?


 

Hi Farhan,

I'm discussing about the samples I'm reading and writing from/to the wm8731 through ALSA API, not to do with high level software processing.

On 2/3/24 14:09, Ashhar Farhan wrote:
We zero out all bins except the central bins as a part of convolution filtering.

On Sat, Feb 3, 2024, 6:35 PM Rafael Diniz <rafael@...> wrote:

And for transmit / speaker, should such offset be used or 0 centered
sample signal can be used?

- Rafael

On 2/3/24 12:56, Ashhar Farhan wrote:
> This offset will show as dc spike (and it does) on bin zero. We
don't
> display or use that bin at all.
> - f
>
> On Sat, Feb 3, 2024, 5:01 PM Rafael Diniz
<rafael@...> wrote:
>
>? ? ?There seem to be an offset according to capture level and signal
>? ? ?intensity, but I can not (at least not easily) determine the
offset.
>
>? ? ?- Rafael
>
>? ? ?On 2/3/24 09:37, Gordon Gibby wrote:
>? ? ?> Is there a constant offset?? ?Try listening to a steady
carrier
>? ? ?which should result in a sine wave in the audio.
>? ? ?>> On Feb 3, 2024, at 04:21, Rafael Diniz
<rafael@...>
>? ? ?wrote:
>? ? ?>>
>? ? ?>> ?There is something wrong. I'm looking at the samples I get
>? ? ?from the radio rx path - I don't see negative samples, just
>? ? ?positive ones, but the sample format is signed 32 bits. When
>? ? ?reading from loopback, for example, I get the negative and
>? ? ?positive samples, as expected. This explains weird behaviors
I was
>? ? ?experiencing. Anyone can confirm this issue?
>? ? ?>>
>? ? ?>> Cheers,
>? ? ?>> Rafael
>? ? ?>>
>? ? ?>>
>? ? ?>>
>? ? ?>>
>? ? ?>>
>? ? ?>>
>? ? ?>>
>? ? ?>
>? ? ?>
>? ? ?>
>? ? ?>
>
>
>
>
>
>





Join [email protected] to automatically receive all group messages.