Code Monkey home page Code Monkey logo

Comments (6)

corrados avatar corrados commented on September 26, 2024

I cannot reproduce this issue. With my Roland CY pad, I get good dynamics when I hit the rim.

from edrumulus.

3hhh avatar 3hhh commented on September 26, 2024

from edrumulus.

3hhh avatar 3hhh commented on September 26, 2024

So I went to some lengths to obtain proper samples from my Teensy with this code.
(Btw it would be useful to have some standardized way of obtaining samples in the repo.)

The results:
crash_rim_hard
crash_rim_med
crash_rim_soft
ride_bell_hard
ride_bell_med
ride_bell_soft
ride_rim_hard
ride_rim_med
ride_rim_soft

Unfortunately I cannot see any fault in my signals as their peak voltage clearly indicates the velocity. Also, the rim switch capacitor circuit correctly indicates that it was used - admittedly sometimes a bit earlier or later than the hit piezo.
So in total I still think that the issue must be with the edrumulus code...

Also, with regards to #126 the plots look neither good for the sample counting of the rim switch open time nor for the second threshold method to discern the bell from the edge. :-(
Maybe the velocity of the hit also has to be taken into account somehow, idk. Or use the hit piezo ripple length, but I don't understand the electronic background for that atm and it makes the different rim input impedances pointless.
Maybe I'll go back to the original circuit...

raw data download

from edrumulus.

corrados avatar corrados commented on September 26, 2024

Maybe it is an issue with the internal pad trigger parameters. Maybe Edrumulus detects the main peak at the beginning of the burst:
grafik
BTW, you should use logarithmic voltage-axis to better visualize the dynamics of the signal.

from edrumulus.

3hhh avatar 3hhh commented on September 26, 2024

from edrumulus.

3hhh avatar 3hhh commented on September 26, 2024

I went back to the original voltage divider circuit with my parameters and I now have good cymbal rim dynamics for the MPS750x pads again. So apparently this issue was a byproduct of my capacitor circuit for the rim switch.

The Lemon hihat is still not perfect imo, but I'll look into that separately. Maybe the parameters could be chosen a bit differently.

from edrumulus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.