FIX: n samples raw
FIX: read write n_samples