Adding quad input#40
Open
julia-m-stephenson wants to merge 10 commits into
Open
Conversation
Initial placeholder for Passthrough test, this is currently the output test with some tweaks for T41-EP
Moving to be closer to the Teensy PassThrough example
Can receive data from MIC and RX IQ inputs simultaneously and peak readings change.
This now works. With TAA MIC -> TAA Headphones PCM1808 Input -> PCM5102 output
Original library just input 16Bit values in the DMA engine now changed to 32bits. Need to remove the scaling as not needed I2S automatically puts 16bit and 24bit numbers in the MSBits.
Example now should support two TAA devices or 1 TAA and 1x PCM1808 + PCM5102 as used on the T41-EP
TAA and PCM1808/PCM5102 all seem to work at 192000 on Teensy 4.1
Just some formatting
Mic gain set to 0dB to prevent feedback to headphones! Added first guess for GUI don't know what else is required.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This code provides a new object which allows 4 channel x 32 Bit transfers from I2S bus into the OpenAudio_Arduino Library framework.
An example project is provided.
The driving force was adding support for 24Bit ADCs to the T41-EP (hardware) and T41-EEE (software) projects.
The new Object is heavily based on work by Terrance Robertson who wrote an object that supported 4 channel x 16 Bit Transfers. Any mistakes are of course my own!
The example app is based on the Stereo Passthrough Example, it loops audio from the MIC input on the SGTL5000 to the headphone output and on a T41-EP loops audio from the PCM1808 ADC to the PCM5102 DAC.
This has been tested at up to 192kbits sample rate on the V10 T41-EP hardware.
I wrote this out of frustration with the T41-EPs claims at supporting 24Bit ADC only to find it didn't extend to the software! This is why OpenSource rules!
Thanks to Greg Raven for the T41-EEE project and I hope this will improve the project.