D
DeletedUser
Guest
Newbie here in this forum. Hi, everyone!
A week so far, I had been struggle to code snippet or modify from some examples of Neotrellis M4 library. My project goal is to have Neotrellis M4 board as standalone. One time, my sons and I played Sixteen Step Sequenencer (example from https://learn.adafruit.com/trellis-m4-beat-sequencer/sixteen-step-sample-seqeuncer) There are eight buttons to record. My son wanted to record but had to pulled my headphone out to speak on microphone built-in, that is why I wanted to have mic onboard speak to Neotrellis M4 instead of drag out of my headphone. Hence, the first step is to have a Adafruit microphone amplifier onboard then later speaker and lipo-battery with charger on board.
I had set up- Adafruit Microphone Amplifier to Neotrellis M4 STEMMA port : GND to GND, VCC to VCC, OUT to SDA, and GAIN to GND
....... hmm, it won't allow me upload my photo of my simple setup....Odd... it is JPG file. Oh, well.
I modified one thing to AudioInputAnalog MicAmp(A4, INPUT_PULLUP); from AudioInputStereo audioInput(MIC,0); and got the error messages "'AudioInputAnalog' does not name a type; did you mean 'AudioInputAnalogStereo'?"
View attachment trellis_audio_fft_motified.ino
Please let me know if you are able to view the code that I had attached. I am very new to this forum place, I had been to other places but this one is only my hope to get answer soon since Neotrellis M4 rely on PJRC a lot.
A week so far, I had been struggle to code snippet or modify from some examples of Neotrellis M4 library. My project goal is to have Neotrellis M4 board as standalone. One time, my sons and I played Sixteen Step Sequenencer (example from https://learn.adafruit.com/trellis-m4-beat-sequencer/sixteen-step-sample-seqeuncer) There are eight buttons to record. My son wanted to record but had to pulled my headphone out to speak on microphone built-in, that is why I wanted to have mic onboard speak to Neotrellis M4 instead of drag out of my headphone. Hence, the first step is to have a Adafruit microphone amplifier onboard then later speaker and lipo-battery with charger on board.
I had set up- Adafruit Microphone Amplifier to Neotrellis M4 STEMMA port : GND to GND, VCC to VCC, OUT to SDA, and GAIN to GND
....... hmm, it won't allow me upload my photo of my simple setup....Odd... it is JPG file. Oh, well.
I modified one thing to AudioInputAnalog MicAmp(A4, INPUT_PULLUP); from AudioInputStereo audioInput(MIC,0); and got the error messages "'AudioInputAnalog' does not name a type; did you mean 'AudioInputAnalogStereo'?"
View attachment trellis_audio_fft_motified.ino
Please let me know if you are able to view the code that I had attached. I am very new to this forum place, I had been to other places but this one is only my hope to get answer soon since Neotrellis M4 rely on PJRC a lot.