Demo Songs

thanks @Thomas you’ve fixed a long standing issue with your suggestion. It’s fixed, keep 'em good suggestions coming :slight_smile:

You’re welcome, and thanks for fixing. Plays nicely on my iPhone when in silent mode, too now, including my new Guitar Duett :wink:
Speaking of good suggestions: On the starting page in “popular projects”, when I click on one, it opens the project. I’d prefer a play button on the icon similar to the list of projects when opening an artist - directly play when clicking on the icon, open the project when clicking on the name of the project. So I could listen first, and when I like it, see how it was done in detail. More logical from a user experience point of view (for me).
Good suggestion? :slightly_smiling_face:

Hi, I have another issue: my new classical song “Sad Cello & Violent Violin” cannot be played, I get “Csound compilation failed. Read the console for details.”, but there are not messages on the console.

Found out it‘s the STKbow opcode that is unsupported on WASM. I just started implementing a WASM STK plugin, curious if Astra nails it :wink:

Your first suggestion I’ve implemented, you’ll see it later today after I merge dev to main.

Your second issue, was hidden because the log level was too low. I remember suggesting the logs were too noisy. The log level settings could be set to allow errors but ignore other logs.

The issue is:
syntax error, unable to find opcode with name: STKBowed, line 393, columns 18-25 Parsing failed due to syntax errors Stopping on parser failure

The STK family opcodes have been moved over to plugins repo. Maybe good idea to start building and distributing the plugins as wasm binaries and support some of them, including the STK opcodes in the web-ide.

Thanks a lot! :slight_smile:
Oh, and Astra DID nail it: during my train ride from my home to my girlfriend, the WASM STK plugin was created and tested, and it is indeed able to play my new song with the STKbowed opcode.
Exciting times we live in, a lot will change very soon in software development, that’s for sure…

See: CsoundWebPlayer/plugins/stk at main · thomassresearch/CsoundWebPlayer · GitHub for the code and Csound Web Player · WASM proof of concept for the demo

very nice, I have a todo to make the csound plugins in wasm, so it will arrive to web-ide in next days too

STK opcodes are now available in the web ide

Wow amazing thanks a lot!

Thr Web IDE has developed a lot recently. Very cool!

Thanks!

Tarmo

N, 15. oktoober 2026 11:10 Huber <noreply@forum.csound.com> kirjutas:

thanks :folded_hands: @tarmo

Hi
I found a bug in the STK plugin: it seems to assume a fixed sampling rate of 44.1kHz, independent of what is set in the CSD.
Because of that, the pitches of my saxophone are off by 147 cents and sound wrong in my latest song “After Hours” (Csound Web-IDE)

Astra says:
In both STK adapter init() methods, call stk::Stk::setSampleRate(csound->GetSr(csound)) before constructing the instrument or calling noteOn(). The WASM plugin currently retains 44.1 kHz internally, making saxophone playback at 48 kHz about 147 cents sharp. Rebuild and verify tuning at both sample rates, including successive runs with different rates.

Regards, Thomas

fix(stk): use the Csound sample rate in all instrument adapters by hlolli · Pull Request #58 · csound/plugins · GitHub fix incoming