Herramientas de usuario

Herramientas del sitio


Barra lateral

octave-audio

Octave-audio

Paquete para manipulación de sonido.

Instalación en Debian

En Debian Testing (Squeeze):

apt-get install octave-audio

Para poder reproducir sonidos a través de la tarjeta de sonido o del altavoz del sistema es necesario el paquete sox:

apt-get install sox

Instalación en Windows

La instalación en Windows XP se realiza a través del binario (no a través de port para Cygwin). Durante el proceso de instalación, es necesario seleccionar los siguientes paquetes del listado de Octave-forge:

audio
  • audio contiene las funciones de tratamiento de sonido.
  • playrec posibilita que Octave se comunique con el sistema de sonido de Windows

Ejemplo

  • Creación de array de 10000 elementos aleatorios entre 0 y 1.
  • Interpretación del array como sonido.

Lanzar interprete de comandos de Octave:

$ octave
GNU Octave, version 3.0.5
Copyright (C) 2008 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or  
FITNESS FOR A PARTICULAR PURPOSE.  For details, type `warranty'.  

Octave was configured for "x86_64-pc-linux-gnu".

Additional information about Octave is available at http://www.octave.org.

Please contribute if you find this software useful.
For more information, visit http://www.octave.org/help-wanted.html

Report bugs to <bug@octave.org> (but first, please read
http://www.octave.org/bugs.html to learn how to write a helpful report).

For information about changes from previous versions, type `news'.

octave:1>

Ejecutar instrucciones de ejemplo:

octave:1> a = rand(1,10000);
octave:2> sound (a);
octave-audio.txt · Última modificación: 2009/10/20 12:05 (editor externo)