Code Monkey home page Code Monkey logo

Comments (2)

pschatzmann avatar pschatzmann commented on August 15, 2024

I suggest you have a look at the examples which read audio (e.g. this).
There you see how to specify the input device with AUDIO_HAL_ADC_INPUT_LINE2 or AUDIO_HAL_ADC_INPUT_LINE1

from arduino-audiokit.

IsiTapier avatar IsiTapier commented on August 15, 2024

Thanks a lot, you savaed me a lot of time trying useless tings, it was a lot easy then assumed.
It seems like LINE_1 are the microphones and LINE_2 is the aux in. (LINE_IN mode is probably internally sending the line_in directly to the outputs without sending them to the esp)
Maybe it would reduce confusion to clearly mark this in code, I found the description mic input to adc channel 2 and the name AUDIO_HAL_CODEC_MODE_LINE_IN at audio_hal.h (line 66, 73, 74) especially confusing. (Shall I do a pull request for that)

A few more little things:

  1. Do you know why after uploading to the board, it first continues executing the old code, untill I press RST?
  2. Is it possible to reduce the background noise? (When I stop my audio source I hear some)
  3. When uploading it allways doing the old Connecting......_____......_____....... stuff, and only stops after pressing BOOT + RST, is there a way to prevent this?

from arduino-audiokit.

Related Issues (20)

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.