cut.AsspDataObj: Cut out a portion of an SSFF object

View source: R/ssff.R

cut.AsspDataObjR Documentation

Cut out a portion of an SSFF object

Description

Cut out a portion of an SSFF object

Usage

## S3 method for class 'AsspDataObj'
cut(obj, where, n_preceeding, n_following)

Arguments

obj

An in-memory object of class AsspDataObj.

where

The time point (relative to the signal's total duration) where the cutout will be centered (0.0-1.0)

n_preceeding

The (maximum) number of data samples to include in addition to, and before, the sample closest to the where time point.

n_following

The (maximum) number of data samples to include in addition to, and after, the sample closest to the where time point.

Value

an AsspDataObj object that contains just the data samples at, and possibly surrounding, the where relative time reference in the input obj, but with time references relative to the timeline of the original object.


humlab-speech/superassp documentation built on May 8, 2024, 2:27 p.m.