I am trying to use an efficient notation for the timing of sounds that i can play in Mathematica.
I would like to parse the string
as the list
The idea is that the sublists should have a duration equal to a single element of their enclosing list.
This seems straightforward, but I cannot see a simple way to do it.
I could use
ToExpression if I could turn
into the string
but I am having trouble doing that. I am confident that I can solve this with something klunky, but I suspect that there is an elegant way to do it.