Hi,
I have lists of numbers all of which are rounded to the nearest 0.5 which I would like to convert to time signatures, each of which with a denominator of 8 or 16. For example (2 3 4) → 2/8 3/8 4/8 and (2.5 3.5 4.5) → 5/16 7/16 9/16. This is easy when the list contains only floats with a final .5 (i.e. multiply by 2 and use 16 as the denominator) but more difficult when the list is mixed i.e. (2 2.5 4 5.5). Is there an easy way to do this?
Many thanks,
Peter
Many thanks for that. Yes, that works perfectly! Well, for the most part - I neglected to add that because of a rounding function earlier in the patch the list is always a list of floats (eg (3.5 4.5 5.5 3.0 3.0) ) so that is causing issues with the division by zero in your patch. I can’t seem to find a way around that. Is it possible to convert the numbers with a .0 to integers before they go into the ratio2ts patch?
Thanks,
Peter
