Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: English - Français - Português - 日本語
Справка Scilab >> Xcos > palettes > Sinks palette > WRITEAU_f

WRITEAU_f

Write AU sound file

Block Screenshot

Description

This block writes a sound file specified by the string *.au file. The data should be arranged with one channel per column. Amplitude values outside the range [-1,+1] are clipped prior to writing. auwrite supports multichannel data for 8-bit mu-law and 8- and 16-bit linear formats.

Dialog box

  • Buffer size

    To improve efficiency it is possible to buffer the input data. read on the file is only done after each Buffer size call to the block.

    Properties : Type 'vec' of size 1

  • Swap mode 0/1

    WithSwap mode=1 the file is supposed to be coded in "little endian IEEE format" and data are swaped if necessary to match the IEEE format of the processor. IfSwap mode=0 then automatic bytes swap is disabled.

    Properties : Type 'vec' of size 1

Default properties

  • always active: no

  • direct-feedthrough: yes

  • zero-crossing: no

  • mode: no

  • regular inputs:

    - port 1 : size [1,1] / type 1

  • number/sizes of activation inputs: 1

  • number/sizes of activation outputs: 0

  • continuous-time state: no

  • discrete-time state: yes

  • object discrete-time state: no

  • name of computational function: writeau

Interfacing function

  • SCI/modules/scicos_blocks/macros/Sinks/WRITEAU_f.sci

Computational function

  • SCI/modules/scicos_blocks/src/c/writeau.c (Type 2)

Example

Scilab Enterprises
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Tue Feb 14 15:13:35 CET 2017