[Sc-devel] changing Event-play and integrating Routines with
EventStreams
James Harkins
jamshark70 at gmail.com
Tue Nov 6 08:30:06 PST 2007
On Nov 5, 2007, at 9:46 AM, ronald kuivila wrote:
> The reason I am posting this email is that we also need to add the
> rule that using
> setDelta or stretchDelta must be written as follows to allow
> SimpleNumbers to work.
>
> event = event.setDelta(val);
> event = event.stretchDelta(factor);
Hmm... not sure where I stand on this. On the one hand, eventPut
would be more general. Without it, something like Pset(\xyz, Pwhite
(0.0, 1.0, inf), Prout({ ... })) where the routine returns a number
would throw an error... but maybe it should halt because Pset is
meaningless in that context.
Which is more important -- alerting the user to a nonsensical usage
(via an error) or allowing harmless (albeit superfluous) operations
to proceed? The former is easier to debug, but one more failure point
for live coders.
While this is an interesting gotcha, it would only affect users
writing new patterns that modify existing events. So I think the
damage would be contained.
hjh
: H. James Harkins
: jamshark70 at dewdrop-world.net
: http://www.dewdrop-world.net
.::!:.:.......:.::........:..!.::.::...:..:...:.:.:.:..:
"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal." -- Whitman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.create.ucsb.edu/pipermail/sc-devel/attachments/20071106/16df1727/attachment-0001.htm
More information about the Sc-devel
mailing list