Hey Max,
I would inject the decoded values into a math channel. For the following
two reasons this is not possible at the moment:
1) The samplerate of the decoder is much lower than the sample rate of
the digital signal used as source. I think the math channel has to run
at the frequency of the analog input channels, and I suspect that's also
the samplerate of the digital inputs. The decoder rarely has a new value
for the math channel, so the math channel needs persistent memory that
can hold the last samplevalue from the decoder. I've made this feature
request for that: https://sigrok.org/bugzilla/show_bug.cgi?id=1836
2) The Math channels currently only can use analog inputs and the output
of other math channels as inputs. So there needs a way for the equation
in the math channel to choose theĀ output of the decoder. I've made this
feature request for that: https://sigrok.org/bugzilla/show_bug.cgi?id=1840
I don't know about the preferred channel for contributions.
Cheers,
Cedric
On 5/6/23 15:21, Massimiliano Cialdi wrote:
hello,
I would like to contribute some improvements to the tdm_audio decoder.
With the current decoder, it is only possible to set the data sampling
edge with respect to BCLK. In addition, the maximum number of channels
per frame is 8.
I have already started to add the ability to change the FSync polarity
as well, have up to 32 channels per frame, also I am going to add
bit_shift (similar to i2s) and other options.
I would also like to give an "analog" representation of the decoded
data. That is, I would like to reconstruct the audio waveform of a
given channel. Is it possible to do such a thing?
For contributions on decoders what is your preferred channel? Can I do
pull requests on git?
best regards
Max
--
Et nunc, auxilium solis, vincam!
Oppugnatio solaris!
VIS!
Massimiliano Cialdi
_______________________________________________
sigrok-devel mailing list
sigrok-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sigrok-devel
_________________________________________________________________
________________________________________________________
Your E-Mail. Your Cloud. Your Office. eclipso Mail & Cloud.
https://www.eclipso.de
_______________________________________________
sigrok-devel mailing list
sigrok-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sigrok-devel