Re: Pattern duration and: monospace pianoroll?
[email protected] Thu, 22 Apr 2021 14:18:32 -0400
| Newsgroups | gmane.comp.audio.supercollider.user |
|---|---|
| Message-ID | <CAK6yb7baZJ6qnH+jwk7z4Bdya731D6A-jh_CpYfucFb3dFOZCQ@mail.gmail.com> |
Off topic buuut - I've always wanted to build a quick interface for creating GUI's from SC. Something that listens for communication from sclang and will build up a GUI as needed. Qt is great but I'd love a more robust implementation which, as you mention, is well outside the scope of SC. On Thu, Apr 22, 2021 at 10:32 AM <[email protected]> wrote: > [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/ >