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


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:
-
dur partitions 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:
History
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_2025_partitiongranularity, author="Wolfram Research", title="{PartitionGranularity}", year="2016", howpublished="\url{https://reference.wolfram.com/language/ref/PartitionGranularity.html}", note=[Accessed: 16-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_partitiongranularity, organization={Wolfram Research}, title={PartitionGranularity}, year={2016}, url={https://reference.wolfram.com/language/ref/PartitionGranularity.html}, note=[Accessed: 16-August-2025]}