[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sc-users] server actions problematic




(
f = { |s| "\n............ServerQuit says % quit\n\n".postf(s) };
g = { |s| "\n............ServerBoot says % booted\n\n".postf(s) };
ServerQuit.add(f, s);
ServerBoot.add(g, s);
)

s.reboot; // okay


	// but then
	// keep server s busy
b = { Buffer.read(s, "sounds/a11wlk01.wav") } ! 700;

	// it did NOT really quit and boot as reported !
	// the buffers exist
b.choose.dump.play;



	// free the many buffers
b.do { |b| b.free };

	// remove the actions
ServerQuit.remove(f, s);
ServerBoot.remove(g, s);



_______________________________________________
sc-users mailing list

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