extract sp and f0 from raw