Well, you may want to elaborate on what you exactly want. Are you looking into connecting the VU meters to your DAW in order the show volumes of different tracks? Or is it a completely different application without using a DAW at all?
When it's...
The latter you can easily check by adding Serial.begin(9600); to void setup() like so:
void setup() {
Serial.begin(9600);
usbMIDI.setHandleControlChange(onCC);
< stuff deleted >
}
and by adding some Serial.print()s to void onCC(byte...
Is this the project you are referring to: https://www.bluecataudio.com/Blog/tip-of-the-day/building-a-midi-controlled-analog-vu-meter/ ?
What exactly does not work and what did you try? Can you share your code for review?
Are you sure the DAW...
Doesn't hurt to get the right cable, yes.
But where do you see that the 4pin connector is missing the 5V pin? There are two GND pins in the 5 pin connector where you can omitt one. The 4pin connector should also work.
Happy to hear it's working fine now.
Just connect SCK to GND at each DAC board. I have always used PCM5102A's in that configuration without any problems.
Distributing the 11.29 MHz MCK signal from Teensy to all 8 DAC boards may introduce other...
Thanks for the photo and your code.
1. please increase the number of audio buffers to 30 like so:
void setup() {
pinMode(LED_BUILTIN, OUTPUT);
AudioMemory(30);
}
2. is the Teensy 4.1 GND connected to the GND of the rest of your circuit...
Yes, that's my hope... especially coding time!
I'm not ready to think about any new products until Sparkfun has been shipping Teensy 4.0 and Teensy 4.1 for a while. We've been pouring a lot of work into this transition for the last few months...
Could you show us a photo of your setup and wiring? These I2S signals are pretty fast; BCLK is running at 2.824 MHz.
So far you did not share your code for us to look at - can you show a minimal sketch which generates the bad audio?
Paul
We are excited to announce the expansion of our partnership with SparkFun Electronics to include the manufacturing of all Teensy products. Teensy 4.0, Teensy 4.1 and related accessories will now be manufactured by SparkFun in Colorado, USA...
If you're using CAN3 you should initialize the FlexCAN Bus object like so:
FlexCAN_T4<CAN3, RX_SIZE_256, TX_SIZE_16> canBus; // Teensy's built-in CAN3
Paul
OK, thanks for the clarification.
Perhaps the elapsedMillis timers[numPedals]; function is colliding with the static elapsedMillis displayUpdateTimer; function?
What happens if you set if (displayUpdateTimer > 50) to if (displayUpdateTimer >...
Did you also copy boards.txt?
If I understand the instructions correctly you need to copy the cores folder from Github over your existing cores folder and the boards.txt file.
Paul
It looks like not being possible.
Uploaded the small program below to a Teensy 4.0:
#include <Bounce.h>
Bounce button0 = Bounce(0, 10);
void setup() {
pinMode(0, INPUT_PULLUP);
}
void loop() {
button0.update();
if (button0.fallingEdge())...
That sounds to me there is a short on the 3V3 line somewhere on the board. Did you visually check for shorts, e.g. solder blobs, metal particles, flux residue, etc?
I think the regulator is still operating - in current-limit mode though.
Paul