Well, it's hard for me to start with this. I am trying to use the soundsc function in Octave, but I keep getting this error:
error: sound.m: No command line utility found for sound playing
I searched around for some on the net, but couldn't find out what to do. Here is a link to the source code of a file that I found on the network that contains an error: http://octave-audio.sourcearchive.com/documentation/1.1.3/sound_8m-source.html
The error I think comes from here:
global sound_play_utility;
if ~isempty(sound_play_utility),
elseif (file_in_path(EXEC_PATH, "ofsndplay"))
sound_play_utility = "ofsndplay -"
elseif (file_in_path(EXEC_PATH, "play"))
sound_play_utility = "play -t AU -";
else
error("sound.m: No command line utility found for sound playing");
endif
I just use Windows 7, so I think I need to specify the path somehow myself? Change the source code? I have no idea what I can do to make this work! Can anyone tell me?
source
share