External Jack Input Teensy Audio shield

Status
Not open for further replies.

Skester96

Member
hello.jpg
jhghj.png
Untitled.jpg
scheme.png

Hello,

I'm trying to make an effect unit for an input. For the input I followed the mic tutorial and tried wiring a mono jack input to the Line In R and G input of the audio shield, but I can't hear anything, any ideas why this is?

Should I try soldering the wires to the Mic and G input next to the headphone output?
 

Attachments

  • Annotation 2019-12-24 115839.jpg
    Annotation 2019-12-24 115839.jpg
    26.1 KB · Views: 86
Forum Rule: Always post*complete source code*& details to reproduce any issue!

Sorry, my bad! Here it is:

// Advanced Microcontroller-based Audio Workshop
//
// http://www.pjrc.com/store/audio_tutorial_kit.html
// https://hackaday.io/project/8292-microcontroller-audio-workshop-had-supercon-2015
//
// Part 2-4: Using The Microphone

#include <Audio.h>
#include <Wire.h>
#include <SPI.h>
#include <SD.h>
#include <SerialFlash.h>

// GUItool: begin automatically generated code
AudioInputI2S i2s2; //xy=154.00000381469727,44.0000057220459
AudioOutputI2S i2s1; //xy=436.0000114440918,48.0000057220459
AudioConnection patchCord1(i2s2, 0, i2s1, 0);
AudioConnection patchCord2(i2s2, 1, i2s1, 1);
AudioControlSGTL5000 sgtl5000_1; //xy=221,295
// GUItool: end automatically generated code



void setup() {
Serial.begin(9600);
AudioMemory(8);
sgtl5000_1.enable();
sgtl5000_1.volume(0.5);
sgtl5000_1.inputSelect(AUDIO_INPUT_MIC);
sgtl5000_1.micGain(36);
delay(1000);
}

void loop() {
// do nothing
}
 
change
Code:
sgtl5000_1.inputSelect(AUDIO_INPUT_MIC);
to
Code:
sgtl5000_1.inputSelect(AUDIO_INPUT_LINEIN);
 
Status
Not open for further replies.
Back
Top