({{, (RefLink[CepstrogramArray, paclet:ref/CepstrogramArray])[data] 
computes an array of cepstra on data.}, {, (RefLink[CepstrogramArray, paclet:ref/CepstrogramArray])[data,n] 
uses partitions of length n.}, {, (RefLink[CepstrogramArray, paclet:ref/CepstrogramArray])[data,n,d]
uses partitions with offset d.}, {, (RefLink[CepstrogramArray, paclet:ref/CepstrogramArray])[data,n,d,wfun]
applies a smoothing window wfun to each partition.}, {, (RefLink[CepstrogramArray, paclet:ref/CepstrogramArray])[data,n,d,wfun,m]
pads partitions with zeros to length m prior to the computation of the transform.}})

OpenersNotesSection(Spacer1)Details and Options

Cepstrogram is an array of power cepstra computed on partitions of data.

Power cepstrum for each partition is computed as the squared inverse Fourier transform of the log-power spectrum.

Use (RefLink[Cepstrogram, paclet:ref/Cepstrogram]) to directly plot the array of cepstra.

The partition length n and offset d can be expressed as an integer number (interpreted as number of samples) or as time or sample quantities.

(RefLink[CepstrogramArray, paclet:ref/CepstrogramArray])[list] uses partitions of length n=2^Round[(Subscript[log, 2])((Sqrt[m]))+1] and offset d=Round[n/3], where m is (RefLink[Length, paclet:ref/Length])[list].

In (RefLink[CepstrogramArray, paclet:ref/CepstrogramArray])[list,n,d,wfun], the smoothing window wfun can be specified using a window function that will be sampled between -1/2 and 1/2 or a list of length n. The default window is (RefLink[DirichletWindow, paclet:ref/DirichletWindow]), which effectively does no smoothing.

The data can be any of the following:

For multichannel audio objects, the cepstrogram is computed over the sum of all channels.

The following options can be given:

OpenersPrimaryExamplesSection(Spacer1)Examples  (7)

OpenersExampleSection0(Spacer1)Basic Examples  (1)

Cepstrogram array of an audio signal:

a=Import["ExampleData/rule30.wav"];

(ca=CepstrogramArray[a,2000])//Short

Plot the cepstrogram:

MatrixPlot[Transpose[ca[[All,1;;400]]],DataReversed->True,AspectRatio->1]

OpenersExampleSection1(Spacer1)Scope  (6)

Numeric input:

a=RandomReal[1,6];

CepstrogramArray[a]

CepstrogramArray[a]

Specify the window size:

a=RandomReal[1,6];

CepstrogramArray[a,(Quantity[4, "samples", samples, "Samples"])]

Specify the window size and offset:

a=RandomReal[1,6];

CepstrogramArray[a,4,1]

Specify a smoothing window:

a=RandomReal[1,6];

CepstrogramArray[a,4,1,HannWindow]

Single-channel audio:

a=Import["ExampleData/rule30.wav"];

MatrixPlot[Transpose@CepstrogramArray[a,(Quantity[0.04, "s", seconds, "Seconds"]),(Quantity[10, "ms", milliseconds, "Milliseconds"]),HannWindow][[All,10;;400]],AspectRatio->1/2,ImageSize->Medium]

Multichannel audio:

a=ExampleData[{"Audio","Bee"}];

MatrixPlot[Transpose@#,AspectRatio->1/2,ImageSize->Medium]&@CepstrogramArray[a,(Quantity[0.04, "s", seconds, "Seconds"]),(Quantity[10, "ms", milliseconds, "Milliseconds"]),HannWindow][[All,5;;500]]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[Cepstrogram, paclet:ref/Cepstrogram])  ▪  (RefLink[SpectrogramArray, paclet:ref/SpectrogramArray])  ▪  (RefLink[Spectrogram, paclet:ref/Spectrogram])  ▪  (RefLink[CepstrumArray, paclet:ref/CepstrumArray])  ▪  (RefLink[PeriodogramArray, paclet:ref/PeriodogramArray])  ▪  (RefLink[Periodogram, paclet:ref/Periodogram])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[Signal Processing, paclet:guide/SignalProcessing])}, {▪(RefLinkPlain[Fourier Analysis, paclet:guide/FourierAnalysis])}, {▪(RefLinkPlain[Audio Representation, paclet:guide/AudioRepresentation])}, {▪(RefLinkPlain[Audio Processing, paclet:guide/AudioProcessing])}})}})