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
    32
    Views
    1,058

    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...
  2. Replies
    32
    Views
    1,058

    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...
  3. 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...
  4. Replies
    32
    Views
    1,058

    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...
  5. Replies
    32
    Views
    1,058

    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...
  6. Replies
    32
    Views
    1,058

    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...
  7. Replies
    32
    Views
    1,058

    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...
  8. Replies
    32
    Views
    1,058

    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...
  9. Replies
    32
    Views
    1,058

    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...
  10. Replies
    32
    Views
    1,058

    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...
  11. Replies
    32
    Views
    1,058

    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...
  12. Replies
    32
    Views
    1,058

    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...
  13. 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...
  14. 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)...
  15. Replies
    0
    Views
    166

    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...
  16. Replies
    32
    Views
    1,058

    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...
  17. Replies
    32
    Views
    1,058

    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...
  18. Replies
    32
    Views
    1,058

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

    Ok, I'll publish the code on Github tomorrow.
  19. Replies
    32
    Views
    1,058

    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 19 of 19