make samplesmixin more generic and add some useful transformers

4 jobs for samplemixin-extra-args in 7 minutes and 59 seconds (queued for 6 seconds)