Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Circuit question #9

Closed
thijstriemstra opened this issue Nov 13, 2021 · 12 comments
Closed

Circuit question #9

thijstriemstra opened this issue Nov 13, 2021 · 12 comments

Comments

@thijstriemstra
Copy link
Contributor

hi, I'd like to give this a try but is this disclaimer still up to date or are there changes to the diagram?

Screenshot from 2021-11-14 00-43-46

@corrados
Copy link
Owner

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

const int analog_pins[] = { 36, 33, 32, 25, 34, 39, 27, 12, 15 };

and
const int analog_pins_rimshot[] = { 35, -1, 26, -1, 14, -1, 13, -1, -1 };

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

enum Epadtype // note that the enums need assigned integers for MIDI settings transfer

If you have self-made pads, Edrumulus might not perform well at all.

@thijstriemstra
Copy link
Contributor Author

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!

@corrados
Copy link
Owner

Do you want to use the ESP32 or the Teensy? I would recommend the Teensy, actually.

@thijstriemstra
Copy link
Contributor Author

i have a esp32 devkit v4 i wanted to use but i can try teensy as well.

@thijstriemstra
Copy link
Contributor Author

thijstriemstra commented Nov 14, 2021

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?

edrumulus

@corrados
Copy link
Owner

do you have the source of that fritzing sketch and could you add it to the repository?

Here it is:
edrumulus_new.zip

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 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.

I really like these: https://www.ebay.com/itm/324731292802

Wow, this looks really professional. Even Roland modules do only use the simply types.

Also, is it possible to trigger this in a DAW using MIDI?

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.

@bzass
Copy link

bzass commented Nov 14, 2021

If you have self-made pads, Edrumulus might not perform well at all.

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!

@corrados
Copy link
Owner

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?

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.

That would be much appreciated and make it possible for a broader community to tune them to their pads.

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.

@thijstriemstra
Copy link
Contributor Author

Thanks for the feedback!

I would recommend the Teensy, actually.

Any reason? Faster? Cheaper?

Wow, this looks really professional. Even Roland modules do only use the simply types.

Yea! Found 6 for $14 that I'll give a try.

@corrados
Copy link
Owner

Any reason? Faster? Cheaper?

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.

@bzass
Copy link

bzass commented Nov 14, 2021

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.

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.

@thijstriemstra
Copy link
Contributor Author

thijstriemstra commented Nov 14, 2021

I did not see such issues with the Teensy.

thanks, didn't know that. I'll get a teensy 4.0.

teensy

Repository owner locked and limited conversation to collaborators Nov 21, 2021

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants