Skip to content

midi-message timing not reliable using Ruby sleep method? #27

@illtellyoulater

Description

@illtellyoulater

Is there a more reliable way to time midi messages than the Ruby sleep method?

I have written some kind of cpu intensive logic to create beats to play but after many iterations you can feel it has slowly lost tiny fractions of tempo. I admit my code it's not optimized, but, shouldn't midi messages be synchronized through Midi Clock (or something like that?) Do you have any ideas how I can do that? Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions