Circuit question #10
Replies: 18 comments 19 replies
-
I am no hardware design expert. So, yes, the disclaimer is still valid. All I can say is that it works well for me. Please note that this schematic does not show you all the needed components nor the input ports to the ESP32 are correct. There is just one schematic given for any piezo trigger and one for the hi-hat controller. If you want to use, e.g., 6 pads with stereo piezo support, you need to build the circuit for the piezo input 12 times and use the correct ESP32 input ports as given in Line 60 in 10fa7ff and Line 61 in 10fa7ff Please also note that Edrumulus is still just experimental software. It works ok but there is still a lot of room for improvement. Also, I only support the pads given in the enum Line 26 in 10fa7ff If you have self-made pads, Edrumulus might not perform well at all. |
Beta Was this translation helpful? Give feedback.
-
i would like to test with my roland cy-5, roland pd-5 and pd-125bk. looks like this project is worth a try so ordering components for this project today! |
Beta Was this translation helpful? Give feedback.
-
Do you want to use the ESP32 or the Teensy? I would recommend the Teensy, actually. |
Beta Was this translation helpful? Give feedback.
-
i have a esp32 devkit v4 i wanted to use but i can try teensy as well. |
Beta Was this translation helpful? Give feedback.
-
ps. do you have the source of that fritzing sketch and could you add it to the repository? and any advice on what type of piezo trigger/hhat control ports? A 1/4 stereo jack female pcb mount with 2 pins? or 3? I really like these: https://www.ebay.com/itm/324731292802 Also, is it possible to trigger this in a DAW using MIDI? |
Beta Was this translation helpful? Give feedback.
-
Here it is:
I am using normal stereo jack ports which are soldered to a small PCB as seen in the following picture: https://github.com/corrados/edrumulus/blob/main/algorithm/images/jackboard.jpg. These PCBs are taken from an old patchbay.
Wow, this looks really professional. Even Roland modules do only use the simply types.
Edrumulus just sends out MIDI notes over serial to the host PC. If you are using Windows, you need the Hairless MIDI tool to convert it to a MIDI stream which a DAW can use. In my Linux script, I am using the ttymidi tool and send the MIDI signal to Drumgizmo. |
Beta Was this translation helpful? Give feedback.
-
Hi, I'm also super impressed by your work - thanks for sharing this project and your active contributions! I would like to give it a try with ESP32 and a custom pad based on the Open Edrums project by Ryo Kosaka. I know that those are not currently supported. Would it be possible for you one day to write or record a short tutorial about your methodology of tuning parameters to the other pads or at least a practical explanation of parameters to allow for manual tuning? That would be much appreciated and make it possible for a broader community to tune them to their pads. Thanks once again! |
Beta Was this translation helpful? Give feedback.
-
At present time it would be better that you record a wave file of your piezo trigger signal captured with a sampling rate of 8 kHz and hitting the pad according to the rules defined in https://github.com/corrados/edrumulus/tree/main/algorithm#test-signals. I could then add your wave file in the "signals" directory of the Git repo: https://github.com/corrados/edrumulus/tree/main/algorithm/signals. I could then tune the parameters for you.
The problem is that the algorithms are not yet fix. I want to improve the positional sensing and also want to tune some other parts of the algorithm. Each change of the algorithm will most probably require the pad parameters to be adjusted. Therefore it does not make sense to fine-tune the parameters yet. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the feedback!
Any reason? Faster? Cheaper?
Yea! Found 6 for $14 that I'll give a try. |
Beta Was this translation helpful? Give feedback.
-
The ESP32 has some unsolved hardware issues. The ADC multiplexer seems not to separate the inputs good enough. E.g., if I move the Hi-Hat pedal it changes the DC offset of another piezo trigger input which is bad. I did not see such issues with the Teensy. Also, the ADC spikes are much smaller for the Teensy. |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot for your reply. Fully understood, I will wait for things to get more stable. It would be great to get some docs/tutorials after it happens so that we don't need to bother you with parameters for custom pads. Thanks again for this great contribution. |
Beta Was this translation helpful? Give feedback.
-
thanks, didn't know that. I'll get a teensy 4.0. |
Beta Was this translation helpful? Give feedback.
-
I have moved this discussion to the discussion forum. |
Beta Was this translation helpful? Give feedback.
-
On a Git side branch I am currently re-writing large portions of the Edrumulus signal processing code. I'll remove the Hilbert filter and use the scan/mask times in a more "standardized way", i.e., the scan time starts from the point the signal crosses the threshold (previously, it was started from the first main peak) and the mask time starts at the and of the scan time (previously, was also started from the first main peak). The first part of this change is done now, i.e., the rework of the "drumtrigger.m" file. Now, I have to port this new code to edrumulus.m and the micro processor C++ code.
This is definitely on my list. |
Beta Was this translation helpful? Give feedback.
-
@corrados maybe the disclaimer should reflect this. |
Beta Was this translation helpful? Give feedback.
-
This might be a silly question, but are there any requirements for amount of ampere for my power supply? I have a 5v 1.0A laying around I'd like to use. |
Beta Was this translation helpful? Give feedback.
-
I see Teensy can be used as a MIDI USB device: https://www.pjrc.com/teensy/td_midi.html
Is this something that could be supported or does it introduce (too much) latency etc? |
Beta Was this translation helpful? Give feedback.
-
@corrados any idea what 1, 2, and 3 represent on these plugs? More pictures on https://www.ebay.com/itm/124892424978 How does it tie into your circuit? |
Beta Was this translation helpful? Give feedback.
-
hi, I'd like to give this a try but is this disclaimer still up to date or are there changes to the diagram?
Beta Was this translation helpful? Give feedback.
All reactions