csv stuff for getting samples to onset