Simple sample play block
[sim,y] = ld_play_simple(sim, events, r)
plays the sequence stored in r
each time event 0 occurs the next value of r is put out