scorePreprocessor: Generic method for preprocessing score layers

View source: R/internaldf.R

scorePreprocessorR Documentation

Generic method for preprocessing score layers

Description

Generic to do extra needed processing and calulation for a specific sonlayer shape.

Usage

  scorePreprocessor(sonlayerscore, opts, ...)

Arguments

sonlayerscore

The score generated for a specific sonlayer by .getSonlayerScore()

opts

The options passed as shape parameters in a sonlayer

...

Other things to pass to scorePreprocessor. Currently ignored.

Value

A score after shape-specific processing has been completed.

Note

all scorePreprocessor methods must calculate length of sonification and return that as an attribute length of the data frame.


statisfactions/playitbyr documentation built on Jan. 27, 2024, 1:33 p.m.