You are reading the RMS result thousands of times a second even when it is not available. Try changing your loop function to this:
void loop()
{
if(rms1.available()) {
x = rms1.read();
if(x != 0.0 && s ==...
I tried your code with an M-Audio keyboard which has a modwheel. No matter how much I roll the wheel and play chords and arpeggios, the total note count is always zero at the end.
You didn't include your...
#define LockB 35
#define LockLed 30
These two pins are on the bottom of the T4.0. Are you actually using them? Looks like you have spare pins on the top which would be a lot easier to use.
Pete
Artnet.h #includes Ethernet.h which conflicts with NativeEthernet.
Don't know how to fix this but I would try meddling with Artnet.h and where it references Ethernet, change it to NativeEthernet. Might work.
Pete
No it won't. You've fixed the index but you can't treat queue1.readBuffer() as an array. You have to save the address in a pointer and then use it as I showed in #12.
Pete
(float)(queue1.readBuffer())
This won't work. readBuffer returns the address of a buffer, if one is available, and returns NULL otherwise.
Using 'i' as an array index will also fail because it will have very large...
You aren't using the most recent version of the Arduino IDE and Teensyduino. The version of Teensyduino you are using does not have the play() function in the Audio library AudioPlayQueue.
You should upgrade to Arduino...
It's not clear to me what the hardware setup is like. Do you have two completely separate installations, one works and the other doesn't. When you exchange the T3.2 between the two setups, the problem switches with the...
What do you mean by "firmware reference"? The firmware is your code.
Distinguish which one from which other one? If you mean the T3.2, they should be the same.
If you mean the code in each T3.2, you can't get at...
And the code @defragster used on a T4.1 also works on a T3.2
Part of the problem may be that you are running the most recent version of Teensyduino on a rather old version of the Arduino IDE. The current version of...