Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我对 Haskell 非常陌生,我正在尝试通过构建一个网络音乐项目来学习它。
我成功安装了 Euterpea 并设置了 MIDI。我写了一个超级基本的脚本,导入 Euterpea 并播放一个音符。
我现在想把我的脚本放到我的托管站点上,并让它——对于初学者来说——在页面加载时自动运行。
我将如何开始这样做?我需要调用 Haskell 脚本的 Javascript 吗?
以及如何配置基于 Web 的 MIDI 以与我的脚本交互?