在 Ubuntu 上使用 Processing。声音库运行,但没有声音

在 Ubuntu 上使用 Processing。声音库运行,但没有声音

我在 Ubuntu 16.04 中成功运行了 Processing 3.3.5,并安装了声音库。不幸的是,我运行的所有示例脚本都没有发出任何声音。我知道声卡正在工作,因为我的机器上的许多其他程序都会发出噪音。

我使用终端安装了推荐的软件包https://github.com/processing/processing-sound使用标准sudo apt-get install提示。

但是我还没有安装推荐的“openjdk-7-jdk”。当我尝试使用相同的提示进行安装时,我得到了以下返回的字符串:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package openjdk-7-jdk is not available, but is referred to by 
another package. This may mean that the package is missing, has been 
obsoleted, or is only available from another source

E: Package 'openjdk-7-jdk' has no installation candidate

我太菜了,甚至不知道“将构建脚本指向 Java 安装”是什么意思。

我不知道这是否是问题的根源。如果有人有任何提示或建议,谢谢!

顺便说一句,我也在官方论坛上发过这个问题处理论坛

相关内容