added source and stream indexing functions, consolidated this into python rather than supercollider code