Frequency plot of a sound signal (original) (raw)

Scilab 5.3.3

Please note that the recommended version of Scilab is 2026.0.1. This page might be outdated.
See the recommended documentation of this function

Scilab help >> Sound file handling > analyze

analyze

frequency plot of a sound signal

Arguments

fmin,fmax,rate,points

scalars. default values fmin=100,fmax=1500,rate=22050,points=8192;

Description

Make a frequency plot of the signal w with sampling rate rate. The data must be at least points long. The maximal frequency plotted will be fmax, the minimal fmin.

Examples

// At first we create 0.5 seconds of sound parameters. t=soundsec(0.5);

// Then we generate the sound. s=sin(440t)+sin(220t)/2+sin(880t)/2; [nr,nc]=size(t); s(nc/2:nc)=sin(330t(nc/2:nc)); analyze(s);