when calling Document-text from the realtime thread it returns not a
string, but
the document itself.
d = Document.new;
Routine {
d.string.class.postln;
defer {
d.string.class.postln;
}
}.play;
maybe this should be caught? it took me a while to track this down.
--
.