-
Notifications
You must be signed in to change notification settings - Fork 408
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make AudioOutputSPDIF3 sync to AudioInputSPDIF3 to avoid glitches #446
base: master
Are you sure you want to change the base?
Make AudioOutputSPDIF3 sync to AudioInputSPDIF3 to avoid glitches #446
Commits on Sep 18, 2022
-
Make AudioOutputSPDIF3 sync to AudioInputSPDIF3 to avoid glitches
AudioOutputSPDIF3 can use the Teensy audio clock at 44.1kHz, OR, if an AudioInputSPDIF3 object (which derives its clock from the incoming audio stream) is instantiated, it can and must be synchronised to that. This approach allows a glitch-free system using SPDIF I/O only. The design GUI has been modified to allow this combination to pass conflict checks; a better implementation may be required.
Configuration menu - View commit details
-
Copy full SHA for 0697e6d - Browse repository at this point
Copy the full SHA 0697e6dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f7f2cf - Browse repository at this point
Copy the full SHA 6f7f2cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 81a7262 - Browse repository at this point
Copy the full SHA 81a7262View commit details -
Merge branch 'feature/sync-SPDIF-IO2' of https://github.com/h4yn0nnym…
…0u5e/Audio into feature/sync-SPDIF-IO2
Configuration menu - View commit details
-
Copy full SHA for 7bbbbbb - Browse repository at this point
Copy the full SHA 7bbbbbbView commit details
Commits on Sep 19, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 2bb4e53 - Browse repository at this point
Copy the full SHA 2bb4e53View commit details
Commits on Oct 8, 2022
-
Fix S/PDIF Tx clock to follow Rx clock
Was just passing audio through, which was not what was wanted at all! This update feeds the Rx clock back through SAI1 MCLK[3], which seems to be the valid way to do it; SAI2 or SAI3 would also work. As yet untested is the concept that this will sync the entire audio system to the S/PDIF Rx clock, so it becomes possible to use the audio shield too. More clock trickery is probably needed...
Configuration menu - View commit details
-
Copy full SHA for 25ab85e - Browse repository at this point
Copy the full SHA 25ab85eView commit details -
Correct internally-clocked S/PDIF output
Also copy across code which removes need for a dummy I²S object
Configuration menu - View commit details
-
Copy full SHA for 5df2c36 - Browse repository at this point
Copy the full SHA 5df2c36View commit details
Commits on Oct 10, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 3849eed - Browse repository at this point
Copy the full SHA 3849eedView commit details -
Configuration menu - View commit details
-
Copy full SHA for af4ea73 - Browse repository at this point
Copy the full SHA af4ea73View commit details
Commits on Oct 12, 2022
-
Remove resource clash indicators
I²S on SAI1 will now work with S/PDIF input as master clock
Configuration menu - View commit details
-
Copy full SHA for 5c8fe25 - Browse repository at this point
Copy the full SHA 5c8fe25View commit details
Commits on Oct 16, 2022
-
Configuration menu - View commit details
-
Copy full SHA for e65310b - Browse repository at this point
Copy the full SHA e65310bView commit details -
Merge branch 'feature/sync-SPDIF-IO2' of https://github.com/h4yn0nnym…
…0u5e/Audio into feature/sync-SPDIF-IO2
Configuration menu - View commit details
-
Copy full SHA for 2feb851 - Browse repository at this point
Copy the full SHA 2feb851View commit details
Commits on Oct 17, 2022
-
Merge branch 'feature/sync-SPDIF-IO2' of https://github.com/h4yn0nnym…
…0u5e/Audio into feature/sync-SPDIF-IO2
Configuration menu - View commit details
-
Copy full SHA for 02dbac2 - Browse repository at this point
Copy the full SHA 02dbac2View commit details
Commits on Oct 19, 2022
-
Various tries at getting S/PDIF MCLK master
...all unsuccessful
Configuration menu - View commit details
-
Copy full SHA for 7e1d128 - Browse repository at this point
Copy the full SHA 7e1d128View commit details -
Add offset to clock used by output_spdif3.cpp, which changes the interference rate It looks like it's slipping 1 sample every so often, so if the SPDIF and PLL4 clocks are e.g. 77Hz different then clicks occur at 77Hz But why?!
Configuration menu - View commit details
-
Copy full SHA for 3de0215 - Browse repository at this point
Copy the full SHA 3de0215View commit details
Commits on Oct 21, 2022
-
Tidy up and update Design Tool info
Note the comment above the assignment of fs in AudioOutputSPDIF3::config_spdif3() (lines 231-236). For some reason the internal (PLL4-derived) clock has an audible effect, even if the system sample rate is supposedly being derived from the S/PDIF input. The effect seems fairly minor, with the occasional missing or extra samples rather than huge glitches, but it's not hi-fi, and I can't figure out the root cause!
Configuration menu - View commit details
-
Copy full SHA for 168926e - Browse repository at this point
Copy the full SHA 168926eView commit details
Commits on Nov 14, 2022
-
Configuration menu - View commit details
-
Copy full SHA for d0f30cb - Browse repository at this point
Copy the full SHA d0f30cbView commit details -
Merge branch 'feature/sync-SPDIF-IO2' of https://github.com/h4yn0nnym…
…0u5e/Audio into feature/sync-SPDIF-IO2
Configuration menu - View commit details
-
Copy full SHA for 07de5bd - Browse repository at this point
Copy the full SHA 07de5bdView commit details
Commits on Dec 29, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 64ac682 - Browse repository at this point
Copy the full SHA 64ac682View commit details
Commits on Sep 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8e47bb3 - Browse repository at this point
Copy the full SHA 8e47bb3View commit details