scilab 6.0.1无法在我的OSX 10.13.2上运行声音命令

时间:2018-04-24 01:54:06

标签: macos scilab

这些是Scilab的控制台。

--> t=(1:8000)/8000;

--> x=0.3*sin(2*%pi*1000*t);

--> sound(x,8000);
at line    47 of function playsnd ( /Applications/scilab-6.0.1.app/Contents/MacOS/share/scilab/modules/sound/macros/playsnd.sci line 61 )
at line    33 of function sound   ( /Applications/scilab-6.0.1.app/Contents/MacOS/share/scilab/modules/sound/macros/sound.sci line 46 )

playsnd: Failed to play the sound with command: aplay  /var/folders/15/717pz4vd6sn65dz7g05lgl180000gn/T//SCI_TMP_62898_iN7qqV/_playsnd_.wav > /dev/null 2>&1.

我该怎么办?

1 个答案:

答案 0 :(得分:1)

此错误已在Scilab 6.0.2中修复(请参见https://codereview.scilab.org/#/c/20756/)。