Potney Switters
Potney Switters

Reputation: 3062

Real time parse of midi input - Rhythmic differentiation

I am developing a real-time drum composing application with JAVA. The main issue I am trying to counter is to determine what is the rhythmic value of the note. I am having accuracy issues because I am considering even 32th notes in a metronome of 100bpm. This gives interval among notes of 75 ms. I am not 100% sure that the theoritical approach of considering time segments and assigning a rhythmical value can be scaled to every bpm or time interval. Do you think it is doable, by also taking into consideration the human factor of playing? I guess this is a very specific/empirical question that goes for guys that developed similar apps.

Upvotes: 1

Views: 195

Answers (1)

Hakan Serce
Hakan Serce

Reputation: 11256

Standard Java is not a suitable language for real-time operations, and if accuracy of timing is so important for you this means you should not use Java directly(at least). Especially the non-deterministic behaviour of garbage collection complicates matters on the Java side for real time applications.

Upvotes: 1

Related Questions