help-octave
[Top][All Lists]
Advanced

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

Re: playaduio in octave 3.2.3


From: Jaroslav Hajek
Subject: Re: playaduio in octave 3.2.3
Date: Mon, 23 Nov 2009 14:19:10 +0100



On Sat, Nov 21, 2009 at 6:39 AM, Adrian pamin <address@hidden> wrote:
Hi,
Im a little new to using octave and GNU systems but there seems to be a problem with the playaudio() function in the Octave 3.2.3 patch. When trying to use the playaudio(x) the error "The system cannot find the path specified." I have tried this in a Vista and Win XP system yielding the same results. Below is the code used:

t = [0:1/8000:2]
sig3 = 0.8*sin(2*pi*3*t)
plot(t,sig3)
playaudio(sig3)

My friends and professor are stumped with this error as they can use the function without problems on a Linux and Mac OS. Is this possibly a Windows problem? would switching to a VM or dual booting help? Thanks in advance...


I'm afraid the current playaudio is only designed to run on Unix systems, because all it does is send data to /dev/dsp or /dev/audio. There could probably be an alternative path for Windows, using a temporary wav file or something similar.

hth

--
RNDr. Jaroslav Hajek
computing expert & GNU Octave developer
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz

reply via email to

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