Discussion:
ClearBuf == 0
Rohan Drape
2014-10-10 04:37:23 UTC
Permalink
dear list,

could ClearBuf be made to copy it's input rather than write zero?

i think this'd just mean changing the first line of "void
ClearBuf_Ctor(ClearBuf *unit)" from:

OUT0(0) = 0.f;

to

OUT0(0) = ZIN0(0)

this'd make ClearBuf(LocalBuf(n)) work where at the moment we need to
write LocalBuf(n).clear

it's simpler (in some contexts) to have fewer "root" nodes in graphs

thanks,
rohan

ps. it line 785 of "server/plugins/DelayUGens.cpp"

_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: http://www.listarc.bham.ac.uk/marchives/sc-users/
search: http://www.listarc.bham.ac.uk/lists/sc-users/search/
Rohan Drape
2014-10-10 04:43:51 UTC
Permalink
ps. to be super clear, this isn't a request to change the .clear
method, just the actual ugen

_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: http://www.listarc.bham.ac.uk/marchives/sc-users/
search: http://www.listarc.bham.ac.uk/lists/sc-users/search/
Rohan Drape
2014-10-10 04:48:07 UTC
Permalink
pps. clearer again, i don't this can break anything because ".clear"
hides the ClearBuf ugen, and ClearBuf(LocalBuf(...)) doesn't work
without this change (it throws away the buffer number).

_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: http://www.listarc.bham.ac.uk/marchives/sc-users/
search: http://www.listarc.bham.ac.uk/lists/sc-users/search/

Loading...