Hello again Paul,
the BCLK/LRCLK ratio of 64 is working now. (It was either a wiring problem or the fact I removed the unneeded libaries and only left Audio.h as in your code listing)
The problem of the left channel appearing on every other output cycle could be an oscilloscope measuring problem: by adjusting the trigger holdoff the signal appears either (correctly) every cycle or every other cycle.
(The fact the Raspberry Pi has a very bad LRCLK clock probably doesn't help)
The main remaining problem is that I still get audio only on the left channel with the 32 bit setup (Raspberry) whatever signal (Left or Right) I pass through.
If you still have your setup wired, for peace of mind, could you kindly run the Sine wave through the right channel also? Thanks
B.
PS just tested the output through the whole audio chain (TDA1543 DAC)
When both channels patched, audio on Left Speaker only
When only Left channel patched, audio on Left Speaker only (with lower volume)
When only Right channel patched, audio on Left Speaker only (with lower volume)
(I do this by commenting // in front of AudioConnection )
the BCLK/LRCLK ratio of 64 is working now. (It was either a wiring problem or the fact I removed the unneeded libaries and only left Audio.h as in your code listing)
The problem of the left channel appearing on every other output cycle could be an oscilloscope measuring problem: by adjusting the trigger holdoff the signal appears either (correctly) every cycle or every other cycle.
(The fact the Raspberry Pi has a very bad LRCLK clock probably doesn't help)
The main remaining problem is that I still get audio only on the left channel with the 32 bit setup (Raspberry) whatever signal (Left or Right) I pass through.
If you still have your setup wired, for peace of mind, could you kindly run the Sine wave through the right channel also? Thanks
B.
PS just tested the output through the whole audio chain (TDA1543 DAC)
When both channels patched, audio on Left Speaker only
When only Left channel patched, audio on Left Speaker only (with lower volume)
When only Right channel patched, audio on Left Speaker only (with lower volume)
(I do this by commenting // in front of AudioConnection )
Last edited: