setfs

Parent Previous Next

setfs

y = setfs ( new_Fs )

Adjusts the sample rate to the specified value

arg

type

Description

Unit or Value scale

new_Fs

SCL

The new sample rate


Outputs

  • y is undefined. Don't try to use it, as in setfs(16000)+1

Notes

  • The usage of this function is limited to the user-defined functions or the auxcon module. In general, it is better to use a hook command (as in #setfs 16000), because it involves UI and expressions. This will not update existing variables according to the new sample rate, as done by the hook command, so this functionality is pretty limited.

Examples

See Also

Created with the Personal Edition of HelpNDoc: Produce electronic books easily