Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.3.0 - Português

Change language to:
English - Français - 日本語 -

Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
However, this page did not exist in the previous stable version.

Manual Scilab >> Manipulação de Arquivos de Som > soundsec

soundsec

generates n sampled seconds of time parameter

Calling Sequence

t=soundsec(n [,rate])

Arguments

n

an integer, the number of seconds to generate.

rate

an integer, the number of samples per second.

Description

generates a vector coding time from 0 to nseconds at sampled rate rate.

Examples

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

// Then we generate the sound.
s=sin(2*%pi*440*t);
analyze(s,200,600,22050);

See Also

<< sound Manipulação de Arquivos de Som wavread >>

Copyright (c) 2022-2024 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Jan 26 16:24:42 CET 2011