Re: [sigrok-devel] improvements to tdm_audio

2023-05-07 Thread Massimiliano Cialdi
Hi Palmu, For the extracted data; I would just output the binary data in a such way > that it ends up in pulseview decoder binary view > this is exactly what I would like to achieve (and can also be dumped > with sigrok-cli) then you can use a audio software to play it or process > it further. I

Re: [sigrok-devel] improvements to tdm_audio

2023-05-07 Thread Vesa-Pekka Palmu
Put the decoder in a some git repository and post the link in here. Currently we are lacking code reviewers, so it would also help if someone else could go and take a look at the code. Remember to also include relevant test data in the sigrok-dumps repo and regression tests in sigrok-test. For the

Re: [sigrok-devel] improvements to tdm_audio

2023-05-06 Thread Massimiliano Cialdi
hello Cedric 1) I'm not sure I understand what you're saying, or rather, I don't understand what you have in mind for which you need such a thing. Anyway, this problem had occurred to me as well. I have TDM16 @48kHz, so BCLK @24. 576MHz. The sample rate I use is 250MHz. So I can output one analog

Re: [sigrok-devel] improvements to tdm_audio

2023-05-06 Thread Cedric de Wijs via sigrok-devel
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 th

[sigrok-devel] improvements to tdm_audio

2023-05-06 Thread Massimiliano Cialdi
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 p