[mtr] and overdub

    Dec 09 2020 | 5:31 pm
    Here is a question about best practices with [mtr].
    Let's imagine I have a 1-track mtr and I want to implement a kind of overdub function. Read overdub here as in "always add data, never delete it" - this is slightly different from the "touch" built-in feature. See below the patch I came up with. Since I'm using a "touch"-based kind of trick, there is a chance that if a new event arrives at exactly the same time as a previously recorded event, the latter would be erased, right?
    In mtr, is there a way to query a track asking "what is the current time?" - in that case I could use and addevent function instead of a touch trick?
    Any advice appreciated, thanks!