Search results

  1. L

    Teensy 4.1 - two piezo snare code

    Thank you for taking the time to review this, I really appreciate the feedback. This is very much an experimental phase - I'm building the code step by step, testing each addition against real playing before moving on. Once all pads are working and parameters are settled, I plan to refactor...
  2. L

    Teensy 4.1 - two piezo snare code

    // ======================== ACTIVE PADS ================= #define PAD_SNARE #define PAD_SNARE_RIM //#define PAD_KICK // ======================== MIDI ======================== const int channel = 10; // ======================== SNARE ======================= const int snareNoteHead = 38...
  3. L

    Teensy 4.1 - two piezo snare code

    Hey everybody, I am working on this code and need some honest review from you guys. Thanks in advance! /* * TeensyDrum v0.8 - Snare: Head + Rim * * v0.8: Retrigger detection in aftershock. * If signal jumps by retriggerThresh in one read = new hit, * exit aftershock immediately so IDLE...
  4. L

    T 4.1 two piezos crostalk problem

    MarkT sorry for delay.
  5. L

    T 4.1 two piezos crostalk problem

    https://forum.pjrc.com/index.php?threads/test-code-for-piezo.48308/post-161683
  6. L

    T 4.1 two piezos crostalk problem

    Thanks, what to do with my current circuit, to replace completely with your?
  7. L

    T 4.1 two piezos crostalk problem

    I have two piezo sensors positioned one above the other, with some degree of physical isolation. When the first sensor is struck, its signal is stronger than that of the second sensor, which receives the hit partially through mechanical transfer, and vice versa. So, there is crosstalk but also a...
  8. L

    T 4.1 two piezos crostalk problem

    I am looking for a way to separate signals from the sensors; physically, it's not possible to a greater extent. There is a difference in signal strength because the strike on one sensor is stronger than the vibration that is transmitted to the other, and there is also a slight delay. The third...
  9. L

    T 4.1 two piezos crostalk problem

    There are two piezos mounted on acoustic snare, one under the mesh head and second on the shell. Works ok but with crosstalk, false triggering. What is the best general approach to overcome this problem in the code? I am using Teensy Piezo Drum code, modified for two sensors. Thanks.
  10. L

    How to Serial Monitor without board connected?

    I would like, for code learning/testing purposes, to be able to print and see results without Teensy board connected. Is it possible?
  11. L

    MIDI over UDP (Teensy 4.1 + Ethernet Kit)

    Thank you MatrixRat. I will try my best and will come back with results but it will be better if someone more experienced than me come with answers...
  12. L

    MIDI over UDP (Teensy 4.1 + Ethernet Kit)

    Thank you. You mean this one https://github.com/lathoub/Arduino-ipMIDI I understand it is for receiving midi messages, maybe I am wrong?
  13. L

    MIDI over UDP (Teensy 4.1 + Ethernet Kit)

    Sorry, I done it now.
  14. L

    MIDI over UDP (Teensy 4.1 + Ethernet Kit)

    Hello! I want to send midi messages via ethernet to be received by ipMidi on pc side. Going thru Teensy Examples but I can't find exact code for this. What library to include and how to alter this code to get this work? const int channel = 10; // General MIDI: channel 10 = percussion sounds...
  15. L

    [Tutorial] How to use PlatformIO / Visual Code Studio for Teensy

    Found it, everything arduino/teensy is under vMicro toolbar, of course.
  16. L

    [Tutorial] How to use PlatformIO / Visual Code Studio for Teensy

    I am in VS + VM now and can not find Teensy Examples. Please help.
  17. L

    Piezo midi drum trigger module with Teensy 4.1

    Great, thank you Mark! Piezo sensors will be mounted on acoustic drums and there will be a lot of vibrations and crosstalk issues. Do you think highpass filter in conditioning circuit will be good solution?
  18. L

    Piezo midi drum trigger module with Teensy 4.1

    Thanks Mark. Velocity curves have to be implemented for dynamic response control (not in conditioning circuit). Here is example: Please note that I am looking to this project from musician point of view, sorry.
  19. L

    Piezo midi drum trigger module with Teensy 4.1

    I also would like to know is it possible to write code for different velocity curve types?
  20. L

    Piezo midi drum trigger module with Teensy 4.1

    Thanks Mark. I already tried op-amp circuit and output it to soundcard for testing (did not played with Teensy yet). It was easy job but I worry is it fast enough. I would like to get max 5ms roundtrip latency (from piezo to loudspeaker). Please tell me does your circuit eliminate negative...
  21. L

    Two Teensy 3.6 to work together

    Sorry for delay, I am back to forum now. I never build that midi xylophone, sorry.
  22. L

    Piezo midi drum trigger module with Teensy 4.1

    Hy everyone, Lestra here, 59 year old drummer who wants to build piezo/drum trigger module (to get midi output from piezo) but I am so scared :confused: because I know almost nothing about using Teensy so please be gentle. What I have so far Teensy 4.1 (new) and recommended Accessories: USB...
  23. L

    Two Teensy 3.6 to work together

    Remcoh thank you so much for response. Any chance to show any image/video/instruction or code please? Could you share your experience?
  24. L

    Two Teensy 3.6 to work together

    Thank you everybody for helping me. I realized that building good midi xylophone is very hard job. I think something like this https://www.alternatemode.com/malletkat/ or this http://pearldrum.com/products/kits/electronics/malletstation/ Mallet dampening, aftertouch...almost impossible for...
  25. L

    Two Teensy 3.6 to work together

    PaulStoffregen thank you so much for your time and effort. I find that one of the best electronic xylophone (MalletKAT) use FSR instead of piezo. Please tell me your opinion, which sensor is better for this job?
  26. L

    Two Teensy 3.6 to work together

    Yes piezos.
  27. L

    Two Teensy 3.6 to work together

    Theremingenieur thank you so much for response. As a musical instrument xylophone must be able to play 4 notes (with 4 mallets) at the same time. Please tell me is "external multi channel ADC" some sort of analog inputs extended "device"? And could you please point me to good one? Thanks.
  28. L

    Two Teensy 3.6 to work together

    Hi everybody, I am so excited to be here for the first time but be aware I am total newbie! I want to build Midi Xylophone and my questions to you guys is: Is it possible to connect/merge two Teensy 3.6 to work together? It is because I need 48 analog inputs in total. If two Teensy works...
Back
Top