Hi There,
I'm working with the MIDIcontroller library example for FSR sensors. My sensors are wired as suggested (10K Resistor )
So far I've been unable to get the FSR to send a MIDI velocity any...
Type: Posts; User: digitalelements
Hi There,
I'm working with the MIDIcontroller library example for FSR sensors. My sensors are wired as suggested (10K Resistor )
So far I've been unable to get the FSR to send a MIDI velocity any...
Thanks Mark,
I'm just trying to get my head around it all. There will likely be times I'm using various FSRs and may need individual thresholds. but great to know I can "shrink" things down a bit...
Thank for the reply Mark. I'll give it a try .. I assume that in this setup, the threshold becomes global (for all pads) ?
Thanks
Hi folks,
Just wondering if this bit of code can/should use more arrays ? Or, does it need to be this way to retain separate Note numbers and thresholds per
input. I'm using Teensy 4.0 and FSRs...
Hi There,
I've been working on a project for several weeks here using the Bounce library. I did recently update the Teensyduino IDE.
As I always do I, Checked the code with Verify before loading...
Thanks so much Oddson : ) ... I'll have a go right away !
Hey Oddson .. Understood .. I am constantly debugging and experimenting. The IDE helps me a lot when there is an error and gives me a clue to what might be missing. I really do appreciate the time...
Thank Oddson,
I've added your adjustments to the code ... I've also changed the Serial print messages so they read better and print to single lines.
For some reason, I have yet to get the code...
Understood .... I started to realize that maybe some of this code should be indented but, My knowledge of the best way to do this is next to nothing.
Ooooops !!!
Still chiseling away ... hopefully things are at least in the right case.
// ControlPad Message WIP
Still tweaking and trying things ... Of Course this one does NOT work. But, I'm just trying to figure things out with trial and error.
// ControlPad Message WIP
#include <Bounce.h>
...
So this is what I"m tinkering with today .... please don't laugh if you can help it ;)
!digitalread0 ... works ... but !digitalread1 ... not so much
// ControlPad Message WIP
Hmmm OK ....
I'm struggling pretty heavily with this one .. can't seem to figure out how to switch the message sent by the control pad with !digitalRead.
there are only 4 messages that get sent...
Ahhh ok ... sorry ... are you referring to that snippet in the Piezo portion of the code. Or in general ?
Indeed it is meant to stop ( Non-Wrappping ) of the heist value.
Does the line make...
pgcNum < 127;
pgcNum++;
PGC stands for Program Change as in MIDI Program Change. The behavior is actually what I'm looking for. I've looked at the output in a MIDI scope and
used it to...
Hey Oddson,
I've taken a step back ( in Code ) .. I've got my piezo drum input and trying to explore where I might define the Mod1 & Mod0 variables to
make the switches happen. Here's a look at...
Hi Oddson,
Thanks so much for the replies!.. I really appreciate your time.
No worries !... maybe I didn't do so well in explaining myself.
So ... I've made some progress. ( thank you Oddson! ) the code does allow me to toggle the message that is sent by pressing another button. my next goal is to have the message change happen...
Thank you Kindly Oddson !!! : ) .... I'll work this in and report back
Thank you Oddson. ... I'll try and do some research on how to do that.
Or maybe Someone can give me an Idea/clue as to how to properly use the "Update" in the Bounce Library ?
//How To Check Button Press
#include <Bounce.h>
const int channel = 1;
Hi There,
I hoping for some suggestions and guidance in coding. I have two momentary buttons that when pressed, send out their MIDI note on messages.
I'd like to change the MIDI note message of...
Thanks Gibbedy !!! ... I'll try and recreate the Inc/Dec behavior inside enc1.available block with your suggestions
Hi Vadim,
Thanks for the info. Thats very good to know ... Although I do believe we're waiting on USB_MIDI for the Teensy 4?
Thanks so much for the reply Gibbedy I really don't want to miss any pulses if I can help it..... The only reason I placed my USB stuff there !! (aside from being a beginner with code) was it seemed...
Ahhhhhh ... thank you very much ... Both solutions ( Neuro & VJ ) are working as I had hoped.
Hey Pete !
Thanks for the corrections .... I'm looking to get this behavior at each fallingEdge if that makes sense ? ... so fallingEdge, Note 60 Next fallingEdge Note 61.
Hi VJ,
trying this now ... Still continuous stream but a single note number ...
Hi Neuro,
thanks for the reply and code .... nice little snippet for sure !! .. but, I'm hoping to toggle/alternate using only fallingEdge or risingEdge .. if that makes sense?
Hi Vj,
Thanks so much for chiming in here. It appears to start streaming as soon as the sketch starts. I'm watching the output with MIDI monitor.
Hi,
I'm trying to create a momentary button that will alternate/toggle between two fixed MIDI messages in code.
I'm using the Bounce Library and would like to use either Falling or Rising edge to...
Greetings !
After several days of research, Some trial and error, I've landed on using the Encoder Template written by Theremingenieur. It really does clean things up quite a bit when using not so...