Forum Rule: Always post complete source code & details to reproduce any issue!
Tab Content
  • alex6679's Avatar
    06-06-2020, 10:36 AM
    Thank you for testing that. I am really sure now that the delay is not caused by a bug of the spdif input. I think the following happens: Your program slightly exceeds the capabilities of the teensy if dither is...
    42 replies | 1518 view(s)
  • alex6679's Avatar
    06-05-2020, 08:54 PM
    Ok, now I understand your setup. I didn't try to reproduce exactly your setup, but had closer look at delays and compared some waveforms with and without dithering. My reasoning was that maybe I also had the delay but...
    42 replies | 1518 view(s)
  • alex6679's Avatar
    06-05-2020, 06:54 PM
    Thank you for the code and the information. The buffered time, input frequency,... are totally normal. The processor usage of the audio library is quite low, but we don't know how many recources are needed by the other...
    42 replies | 1518 view(s)
  • alex6679's Avatar
    06-04-2020, 08:13 PM
    I am glad that it is working, but I am still wondering about that high latency in combination with dithering/noise-shaping. Is your setup quite performance demanding? Did you have a look at the processor usage? Are you...
    42 replies | 1518 view(s)
  • alex6679's Avatar
    06-03-2020, 07:44 PM
    Ok, I made now some changes at the asynchronous input. It is now also a friend class of the AudioOutputSPDIF3 and uses (as the other spdif input) also config_spdif3() of the output class to configure the spdif input. I...
    42 replies | 1518 view(s)
  • alex6679's Avatar
    06-03-2020, 09:11 AM
    As far as I know, it's better to first initialize the input object, so that they are updated first during the audio processing. If the outputs are initialized first, some additional latency is introduced. But I am not...
    42 replies | 1518 view(s)
  • alex6679's Avatar
    06-03-2020, 08:56 AM
    The main problem that caused the crash is a bug in the async spdif input. The spdif receiver is configured after the dma transfer is already started, but the receiver should be configured first. I can't remember at...
    42 replies | 1518 view(s)
  • alex6679's Avatar
    06-02-2020, 08:09 PM
    Hi, regarding the AsyncAudioInputSPDIF3: If you post a minimalistic example that crashes here: https://forum.pjrc.com/threads/58539-Teensy-4-SPDIF-input-ASRC, I will try to reproduce it. Maybe I am able to find out what...
    11 replies | 338 view(s)
  • alex6679's Avatar
    05-31-2020, 05:48 PM
    Ah, ok. I think I understand. I also think that only using the Teensy is probably the simplest solution. The funny thing is, I think that I use a setup that is very similar to the one you first planned: I use 4 Teensys....
    42 replies | 1518 view(s)
  • alex6679's Avatar
    05-31-2020, 10:26 AM
    I think I don't completely understand what your task is. You want to use the Teensy as a slave? Does that mean that you want to use the spdif input signal to clock the audio pipeline? One feature of asynchron resampling...
    42 replies | 1518 view(s)
No More Results
About alex6679

Basic Information

Statistics


Total Posts
Total Posts
24
Posts Per Day
0.07
Last Post
Teensy 4 SPDIF input + ASRC 06-06-2020 10:36 AM
General Information
Last Activity
Today 12:46 PM
Join Date
08-11-2019