Demo Songs

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