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
    25
    Views
    767

    Regarding the used ide: About one year ago I...

    Regarding the used ide: About one year ago I switched from the Arudiono ide to Visual Studio Code.
    I think your results look good so far. The input frequencies are plausible and it sometimes takes a...
  2. Replies
    25
    Views
    767

    Yesterday I had time to do some tests. Since you...

    Yesterday I had time to do some tests. Since you lately thought that your problems are caused by your spdif connections, I setup a small program to test the spdif data transfer. I commited the...
  3. Replies
    25
    Views
    767

    Regarding your question about the clocking: I had...

    Regarding your question about the clocking: I had a brief look at the code usb input. The audio data is buffered in the usb input class and it never clocks the audio pipline. It looks like the Teensy...
  4. Replies
    25
    Views
    767

    Let's see if I can reproduce your issue on...

    Let's see if I can reproduce your issue on Sunday. I am sure that my spdif in- and out work properly and if I can't reproduce your problems with the same Teensy program, then they are probably...
  5. Replies
    25
    Views
    767

    I didn't mean 'tearing the hardware appart'. Are...

    I didn't mean 'tearing the hardware appart'. Are there that many connections? I thought about removing all software objects/ AudioConnections. I thought your problems are software problems. Regarding...
  6. Replies
    25
    Views
    767

    Regarding the 'clipping noise': I suggest that...

    Regarding the 'clipping noise': I suggest that you keep the noise shaping/ dither turned off for now. Currently I am not at home, but next Sunday I will be back home and will try to reproduce you...
  7. Replies
    25
    Views
    767

    I think the clipping is caused by the dither and...

    I think the clipping is caused by the dither and noise of the noise-shaping that added to the signal when noise shaping and dither is activated. I think I should set the default values at the...
  8. Replies
    25
    Views
    767

    Thank you for the test. If I understand you...

    Thank you for the test. If I understand you correctly, the signal flow at your first test was as follows: PC1 -> usbIn_Teensy1->spdif3Out_Teensy1->spdif3In_async_Teensy2->usbOut_Teensy2->PC2. Right?...
  9. Replies
    25
    Views
    767

    The reason why I am interested in the input...

    The reason why I am interested in the input frequency is that the input seems to regularly run out of input samples. One reason could be that the internal input frequency is much higher than the real...
  10. Replies
    25
    Views
    767

    Could you also please output the input frequency...

    Could you also please output the input frequency (getInputFrequency()) and if the input is locked all the time (isLocked())? Both functions are also used at the PassThroughAsyncSpdif-example. But...
  11. Replies
    25
    Views
    767

    Hi, the bug that you described is already fixed...

    Hi,
    the bug that you described is already fixed on the master branch of the teensy audio library. However, this version is not deployed with Teensyduino yet and you would need to manually replace...
  12. Replies
    42
    Views
    1,982

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

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

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

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

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

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

    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...
  19. 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...
  20. Replies
    42
    Views
    1,982

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

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

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

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

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

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

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

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

    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...
  29. Replies
    19
    Views
    1,061

    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...
  30. Replies
    19
    Views
    1,061

    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)...
  31. Replies
    0
    Views
    207

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

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

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

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

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

    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 35 of 36