[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
sound, and a looping thing
From: |
Crispin |
Subject: |
sound, and a looping thing |
Date: |
Wed, 26 Nov 2003 19:16:22 -0000 |
Hello listers,
I'm new to Octave and have been learning it's features today - fantastic
it is too but I have a couple of questions!
1. the playaudio() function works for the default of 8 bit 8kHz audio.
Is there any way of playing other formats (say, 16 bit 44kHz)? ...or
should I get coding?
2. I tried one of the examples in the manual - the following:
x.a = 1
x.b = [1, 2; 3, 4]
x.c = "string"
for [val, key] = x
key
val
endfor
and Octave crashes (running under cygwin here). Interrupting reveals
that it's looping infinitely over x.a without ever progressing to x.b
and x.c. Is this a bug or have I typed something silly?
many thanks in advance,
--
Crispin Cooper
Department of Electronics
University of York
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------
- sound, and a looping thing,
Crispin <=