AudioPartition
AudioPartition[audio,dur]
partitions an audio object into non-overlapping segments of duration dur.
AudioPartition[audio,dur,offset]
generates segments with specified offset.
Details and Options
- AudioPartition returns a list of Audio objects.
- AudioPartition[audio,dur,…] generates as many audio partitions of duration t as possible, padding incomplete segments at the end.
- The specifications dur and offset can be any of the following:
-
dur time given in seconds Quantity[dur,"unit"] time given in "unit" compatible with seconds Quantity[dur,"Samples"] time given as number of samples - AudioPartition[audio,{dur}, …] can create up to duration dur segments.
- AudioPartition accepts a Padding option. See the reference page for AudioPad for possible settings.
Examples
open allclose allBasic Examples (2)
Scope (2)
Wolfram Research (2016), AudioPartition, Wolfram Language function, https://reference.wolfram.com/language/ref/AudioPartition.html.
Text
Wolfram Research (2016), AudioPartition, Wolfram Language function, https://reference.wolfram.com/language/ref/AudioPartition.html.
CMS
Wolfram Language. 2016. "AudioPartition." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/AudioPartition.html.
APA
Wolfram Language. (2016). AudioPartition. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/AudioPartition.html