You run the command you will get an error (on the cat > /dev/dsp line). Writing directly to /dev/dsp always fails in the latest linux distros, so every time.= system (sprintf ('cat "%s" > /dev/audio', name)) Įrror ("playaudio: unsupported extension '%s'", ext) % along with Octave see the file COPYING. % You should have received a copy of the GNU General Public License % General Public License for more details. % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. % WITHOUT ANY WARRANTY without even the implied warranty of % Octave is distributed in the hope that it will be useful, but % the Free Software Foundation either version 3 of the License, or (at % under the terms of the GNU General Public License as published by ![]() % Octave is free software you can redistribute it and/or modify it This will work only after installing sox. I've overridden the playaudio function from octave with the following function.
0 Comments
Leave a Reply. |