Replies: 2 comments 13 replies
-
I'm using 60mm 10kΩ faders on an Arduino Leonardo and I have no noise at all. If you do get noise, this is probably a hardware issue (too high potentiometer resistance, noisy power supply, long wires, etc.) The default PBPotentiometer class uses a resolution of 10 bits: Control-Surface/src/MIDI_Outputs/PBPotentiometer.hpp Lines 11 to 25 in feee931 If you lower that number, you should see less noise. Other techniques to increase filtering are described here: https://forum.arduino.cc/index.php?topic=697324.msg4687860#msg4687860 I would try to fix this in hardware first, though. |
Beta Was this translation helpful? Give feedback.
-
Hello, I juts found this post as i am currently having some issues with the pitch bend setup. i think i have some "noise" as well, but i wonder if @jonvog can check my video and say if this is noise or not. i see constant reading with the MIDI monitor, and when i move the wheel, the Monitor crashes Should i try the last code of @tttapa ? where should i add that code? This is my current code; `#include <Control_Surface.h> #include <AH/Hardware/MultiPurposeButton.hpp> BluetoothMIDI_Interface midi; // Instantiate a PBPotentiometer object MultiPurposeButton btn{ {0} }; MultiPurposeButton btn2{ {35} }; void setup() { btn2.setLongPressDelay(550); void loop() { switch (btn.update()) {
case btn.LongPress: Control_Surface.sendControlChange({MIDI_CC::General_Purpose_Controller_1, CHANNEL_2}, 0);
} switch (btn2.update()) {
case btn2.LongPress: Control_Surface.sendControlChange({MIDI_CC::General_Purpose_Controller_1, CHANNEL_4}, 0);
} Control_Surface.loop(); }` Thank you |
Beta Was this translation helpful? Give feedback.
-
Hello,
I'm very new to this so I could possibly do something wrong here. But I'm getting very noisy pb data. I'm aware of this example: https://tttapa.github.io/Control-Surface-doc/Doxygen/d3/d4e/Pitch-Bend-Potentiometer_8ino-example.html
I tried to dial in the "middle" setting, but no chance. I tested it also with large 100mm faders, but it's impossible to get a clear 0 / 8192 / middle value.
Maybe it is the wiring, but it actually should be ok, with CC data I don't get any noise (I know that it's 7 bit vs 14 bit but still).
Am I missing something here? Is there a way of making more "space" around 8192 to get rid of the noise when the pb wheel is untouched?
Thanks a lot!
Beta Was this translation helpful? Give feedback.
All reactions