Sampler first commit
Sampler almost done
Sampler: only one recoreder is used one, fix track replacement