unitFeatureSet.setInt("target_end",
(int) (s.getFeatures().getFloat("end")
* clunitDB.getSampleInfo().getSampleRate()));
// Associate debug info about unit origin if available:
UnitOriginInfo unitOrigin = clunitDB.getUnitOriginInfo(unitEntry);
if (unitOrigin != null) {
unitFeatureSet.setString("origin", unitOrigin.originFile);
unitFeatureSet.setFloat("origin_start", unitOrigin.originStart);
unitFeatureSet.setFloat("origin_end", unitOrigin.originEnd);
}