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 window applied to partition samples.
  • Typical settings include:
  • 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:

Wolfram Research (2016), PartitionGranularity, Wolfram Language function, https://reference.wolfram.com/language/ref/PartitionGranularity.html.

Text

Wolfram Research (2016), PartitionGranularity, Wolfram Language function, https://reference.wolfram.com/language/ref/PartitionGranularity.html.

CMS

Wolfram Language. 2016. "PartitionGranularity." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/PartitionGranularity.html.

APA

Wolfram Language. (2016). PartitionGranularity. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/PartitionGranularity.html

BibTeX

@misc{reference.wolfram_2024_partitiongranularity, author="Wolfram Research", title="{PartitionGranularity}", year="2016", howpublished="\url{https://reference.wolfram.com/language/ref/PartitionGranularity.html}", note=[Accessed: 24-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_partitiongranularity, organization={Wolfram Research}, title={PartitionGranularity}, year={2016}, url={https://reference.wolfram.com/language/ref/PartitionGranularity.html}, note=[Accessed: 24-November-2024 ]}