Re: Pattern duration and: monospace pianoroll?
[email protected] Thu, 22 Apr 2021 16:31:14 +0200
| Newsgroups | gmane.comp.audio.supercollider.user |
|---|---|
| Message-ID | <[email protected]> |
[email protected] writes: > hi, > no, there is no simple way to calculate the duration of a pattern. they don't > keep a record and also don't know what's coming. > > with some trickery - and if your \dur is deterministic and finite - you can sort > of figure it out in advance by making a copy of the \dur pattern and > .asStream.all.sum. but i wouldn't recommend it. Ahh, thats totally fine as a solution. Thanks. > a more pattern oriented way is to limit the duration with Pfindur. I should have mentioned that I already use Pfindur to taper over the problem. But I wanted to fix the root cause instead of adding code to hide it. > as for your second question, i think it'd be amazing with a tracker style > pattern editor of some sort. i spent some time thinking about that but never > got around coding anything. I might come up with something based on Emacs. But that is probably a not very popular solution. Sort of sad that we never managed to put a toolkit agnostic widget abstraction in place, but I sort of understand that is out of scope for SC. -- CYa, ⡍⠁⠗⠊⠕ _______________________________________________ sc-users mailing list info (subscription, etc.): http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx archive: http://www.listarc.bham.ac.uk/marchives/sc-users/ search: http://www.listarc.bham.ac.uk/lists/sc-users/search/