PartitionGranularity

PartitionGranularity

is an option for audio analysis functions that specifies the partitioning of the audio.

Details

  • PartitionGranularity can specify the length of partitions and how much they overlap, as well as a smoothing applied to partition samples.
  • Typical settings include:
  • "Coarse"coarse granularity
    "Fine"fine granularity
    durpartitions of length dur seconds and automatic overlap
    {dur,offset}uses the specified offset
    {dur,offset,wfun}applies wfun to each partition
  • Specifications for dur and offset can be scalars, time quantities or "Samples" quantities.
  • Offset specification can also be Scaled[s], which is equivalent to s×dur.
  • The smoothing window wfun can be specified using a window function, such as HannWindow, that will be sampled between and or a list of the same length as dur.

Examples

Basic Examples  (1)

Control the partitioning parameters in AudioLocalMeasurements:

In[2]:=
Click for copyable input
In[7]:=
Click for copyable input
Out[7]=

See Also

AudioTimeStretch  AudioPitchShift  AudioIntervals  AudioLocalMeasurements  AudioPartition  Duration  HannWindow

Introduced in 2016
(11.0)