chaosprint / glicol

Graph-oriented live coding language and music/audio DSP library written in Rust
https://glicol.org
MIT License
2.22k stars 74 forks source link

Problems with VST #84

Open carlca opened 2 years ago

carlca commented 2 years ago

Mac Mini M1 macOS 12.3 Bitwig 4.2.3

I've just tried to copy and paste the file that appears when you open up https://glicol.org into the VST. Sometimes the paste operation works but other times when I press Cmd-V, a "v" appears in the Glicol editor.

When I do succeed in pasting in the text, and then press run, I don't hear anything. The file works fine in the Safari browser, despite Chrome being the recommended browser.

I notice that you have to load Glicol as an Audio FX device in Bitwig rather than an Instrument device. Could this be the issue?

carlca commented 2 years ago

I've managed to get sound out by trying the simple examples in the Tour section of https://glicol.org.

All of the examples work except for 5. Samples. Trying to run out: imp 1.0 >> sp \808bd just crashes the plugin every time.

chaosprint commented 2 years ago

I've managed to get sound out by trying the simple examples in the Tour section of https://glicol.org.

All of the examples work except for 5. Samples. Trying to run out: imp 1.0 >> sp \808bd just crashes the plugin every time.

Thanks for issuing this. That's because in the browsers the audio samples are automatically loaded from online resources. But in VST, so far there is no implementation for sample loading. Thus, the engine does not what 808bd is.

It would be nice to have an error handling and report mechanism rather than panic (which causes the crash).