Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: alex6679

Search: Search took 0.00 seconds.

  1. Replies
    42
    Views
    1,618

    Thank you for testing that. I am really sure now...

    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...
  2. Replies
    42
    Views
    1,618

    Ok, now I understand your setup. I didn't try to...

    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...
  3. Replies
    42
    Views
    1,618

    Thank you for the code and the information. The...

    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...
  4. Replies
    42
    Views
    1,618

    I am glad that it is working, but I am still...

    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...
  5. Replies
    42
    Views
    1,618

    Ok, I made now some changes at the asynchronous...

    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...
  6. Replies
    42
    Views
    1,618

    As far as I know, it's better to first initialize...

    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...
  7. Replies
    42
    Views
    1,618

    The main problem that caused the crash is a bug...

    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...
  8. Hi, regarding the AsyncAudioInputSPDIF3: If you...

    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...
  9. Replies
    42
    Views
    1,618

    Ah, ok. I think I understand. I also think that...

    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...
  10. Replies
    42
    Views
    1,618

    I think I don't completely understand what your...

    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...
  11. Replies
    42
    Views
    1,618

    Actually, I just remembered, that I used setup...

    Actually, I just remembered, that I used setup described above only for testing. Since everything is working, I integrated it into my diy surround processor. Here I am using the spdif input switch...
  12. Replies
    42
    Views
    1,618

    Hi, you probably already found out how to connect...

    Hi, you probably already found out how to connect a rca input, but for the sake of completeness: I use RCA. I implemented a kind of a standard spdif input circuit with a dual line inverter for level...
  13. Replies
    42
    Views
    1,618

    I had a brief look at the current spdif input to...

    I had a brief look at the current spdif input to check if it makes sense to make a combined class that could be configured as synchronous and asynchronous input. But I think that would make things...
  14. Replies
    42
    Views
    1,618

    Ok, I am using now DMAMEM for the input buffer...

    Ok, I am using now DMAMEM for the input buffer (+arm_dcache_delete((void*)src, sizeof(spdif_rx_buffer) / 2) in the isr) Also, I added the anti-aliasing attenuation + the minimum filter length of the...
  15. Replies
    42
    Views
    1,618

    Thanks for pointing out, that I should use...

    Thanks for pointing out, that I should use DMAMEM. I'll fix that tomorrow. If you really want to replace your version, then I can change the name. But resampling needs quite some ressourcen (Mostly...
  16. Replies
    42
    Views
    1,618

    I noticed that you already implemented a spdif...

    I noticed that you already implemented a spdif input some weeks ago, when Paul added it to the audio library. At that point I also already finished my implementation. However, as you mentioned: Since...
  17. Replies
    42
    Views
    1,618

    Since my last post in December, I improve the...

    Since my last post in December, I improve the asynchronous spdif input. Especially the PID controller, that adjusts the sampling distance to the current input frequency. I also added a short...
  18. Today I did some further tests. The last time I...

    Today I did some further tests. The last time I only checked if the channels are all in sync. This time I tried to test if channels get swapped sometimes. The minidsp usbstreamer that I use must be...
  19. Hi, I am also using an I2S input of the T4 and...

    Hi,
    I am also using an I2S input of the T4 and today I did some tests to check if the I2S channels are sometimes out of sync. My setup is: Laptop -> Minidsp usbStreamer -> (4 stereo i2s channels)...
  20. Replies
    0
    Views
    188

    Teensy 4 i2s quad to oct input working

    Hi,
    in addition to data channel 0 of sai1, I got the data channels 1/2/3 working. So it's possible to receive 2/4/6 of 8 audio channels with sai1 of T4. The problem is that the block that...
  21. Replies
    42
    Views
    1,618

    Hi, I finally published the code for the spdif...

    Hi,

    I finally published the code for the spdif input on github:
    https://github.com/alex6679/teensy-4-spdifIn
    There are also two very simple examples (example0.cpp and example1.cpp) that show how...
  22. Replies
    42
    Views
    1,618

    Hi, today I planned to make some final test with...

    Hi, today I planned to make some final test with the spdif input. I especially had a look at the behavior at different input frequency from 44,1 to 192kHz. I ended up with making various changes and...
  23. Replies
    42
    Views
    1,618

    Ok, I'll publish the code on Github tomorrow.

    Ok, I'll publish the code on Github tomorrow.
  24. Replies
    42
    Views
    1,618

    Teensy 4 SPDIF input + ASRC

    Hi,

    since this is my first post here, I would like to tell something about me. Regarding the teensy I am mainly interested in its audio capabilities. About one year ago I started my first DIY-DSP...
Results 1 to 24 of 24