[tmp] Add a README.
[tmp] Safeguard against wrong number of presamples.
[tmp] Add some print statements.