Giter Club home page Giter Club logo

rpi-i2s-stereo's Introduction

I2S Stereo Microphone setup for the RPi3

Based on the the RPi forum "I2S Success (at last)!" thread.

See instructions.md for a copy of the instructions from there.

Connectivity

Check out the diagram here for i2s pins on the RPi3 header.

Usage

rpi-i2s-stereo's People

Contributors

ryankurte avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

rpi-i2s-stereo's Issues

I2S on RPi

Hello,
I apologize in advance that this is not an issue with your code, but I have found no other way to contact you for assistance in I2S programming.

I am an undergraduate computer engineering student at Louisiana State University. I am currently in the process of planning a design project for a studio speaker controller which will be able to receive input and output multiple digital formats as well as analog, which includes the use of I2S on the Raspberry Pi. After reading through the code you have on RPi stereo microphone setups, I see that you are quite knowledgeable in implementing I2S on the RPi. After tirelessly searching the internet over the past month, I can't seem to find any concrete info on what I am trying to do with the RPi so my last resort is to attempt to personally contact someone who is skilled in I2S/RPi implementation, like yourself. I understand you may be busy with your own personal matters and if so please read no further, but if you wouldn't mind sharing your knowledge of I2S with me, I would be forever grateful.

So here is what I am trying to do:
Our speaker controller will have two microprocessors, the first being a Raspberry Pi 3 Model B, the second being an XMOS xCore-200 Multichannel Audio Platform. The XMOS board, being designed for all sorts of audio formats, has built in libraries of functions to easily implement I2S, so that is not the problem. What I wish to program the RPi to do is to receive audio input from a USB sound card (via a 3.5mm analog audio plug) and send it to the XMOS board via I2S. Additionally, the RPi must be programmed to receive I2S audio signal from the XMOS and send it out via the USB sound card (also 3.5mm analog audio jack). The USB sound card has one analog audio input and one analog audio output jack on it and is supposedly automatically configured to the RPi (does not require drivers).

So my first question would be, is this possible? I have seen several implementations of RPis sending I2S audio out to DACs but never seen one where the RPi receives I2S audio. Though the RPi has a DIN and a DOUT pin (38 and 40 respectively), I assume there is some way to do it.

And if there is a way to do it, how would you think I should go about it? Would a simple modification to your code suffice? Would this also be implemented as a module?

Additional info: the XMOS board in this case is the Master device and the RPi is the slave device, thus the XMOS generates the clock signal to be sent to the device. Also, these signals will not be routed at the same time, the RPi will be programmed to either send audio out or receive audio in, not both at the same time.

Thank you in advance for considering helping me,
If you wish to discuss further, either post here or, if you don't mind, email me at [email protected]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.