[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sound() in Octave

From: Jordi Gutiérrez Hermoso
Subject: Re: sound() in Octave
Date: Wed, 28 Nov 2012 14:37:35 -0500

On 28 November 2012 14:27, nickecarlo <address@hidden> wrote:
> Could anyone tell me how I could play audio of, say, a sampled sine wave. My
> university teaches sound(x, 8000) for example where x contains the
> calculations for the sine wave and 8000 is the sampling rate.

Sound in Octave does not work unless you have an old Linux
installation that allows you to directly write to /dev/dsp. It may be
easier to use wavwrite to save your sound files and play them with an
external program.

- Jordi G. H.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]