Scilab-Branch-6.1-GIT

Ajuda do Scilab >> Manipulação de Arquivos de Som > soundsec

# soundsec

generates a vector of samples for `t`

seconds at frequency `freq`

Hz.
**(obsolete)**

### Syntax

samples = soundsec(t) samples = soundsec(t, freq)

### Arguments

- t
a 1-by-1 matrix of positive real numbers, the time length to sample.

- freq
a 1-by-1 matrix of positive real number, the frequency of samples per second.

default value is 22050 Hz

### Description

Generates a vector coding time from 0 to `t`

seconds at sampled rate `freq`

.

Samples are always generated to fit in `[0,t[`

(excluding upper bound).

Value 0 for either `t`

or `freq`

return an empty matrix

### Examples

### See also

### History

Versão | Descrição |

6.1.1 | soundsec(t,…) declared obsolete. 0 : 1/freq : t*(1-%eps) replaces it. |

## Comments

Add a comment:Please login to comment this page.