From the latest 6.15 build, the STK opcodes are still missing.
- here is the output of the console, followed by a test instrument for you.
- the test instrument does work in CsoundQt on the Mac and on the Terminal with the latest developer build.
=====. Console ====
Building project ...
Build finished
Running project ...
0dBFS level = 32768.0
--Csound version 6.15 (float samples) Nov 1 2020
[commit: 82b3e0fa820b12c6980de82e96d49d373b29f339]
libsndfile-1.0.27
Device type: Bar (1)
Address: 0x20
Firmware version: 2
Device type: Square (2)
Address: 0x28
Firmware version: 2
Device type: Ring (4)
Address: 0x38
Firmware version: 2
Device type: Hex (5)
Address: 0x40
Firmware version: 2
realtime mode enabled
UnifiedCSD: /root/Bela/projects/Aug2/NL-STKBowedRCB.csd
STARTING FILE
Creating options
Creating orchestra
closing tag
Creating score
realtime mode enabled
rtmidi: ALSA Raw MIDI module enabled
error: syntax error, unexpected T_IDENT (token "STKBowed") from file /root/Bela/projects/Aug2/NL-STKBowedRCB.csd (1)
line 19:
asig STKBowed <<<
Unexpected untyped word asig when expecting a variable
Parsing failed due to invalid input!
Stopping on parser failure[m
[msorting score ...
... done
setting dummy interface
displays suppressed
0dBFS level = 32768.0
orch now loaded
audio buffered in 256 sample-frame blocks
SECTION 1:
Initialising spinlock...
Starting realtime mode queue: 0xb515b010 thread: 0x340a98
Error: Csound's ksmps (10) and Bela's periodSize (16) differ and the latter is not a multiple of the former. This would lead to uneven CPU usage, and result in dropouts while some CPU resources remain unused.
error initialising Bela
inactive allocs returned to freespace
end of score. overall amps: 0.0
overall samples out of range: 0
0 errors in performance
backtrace() returned 0 addresses
Csound tidy up: Segmentation fault
Makefile:595: recipe for target 'runide' failed
make: *** [runide] Error 1
Bela stopped
root@bela ~/Bela#
===== STKBowed.csd =====
<CsoundSynthesizer>
<CsOptions>
--daemon -dm0
</CsOptions>
<CsInstruments>
sr = 44100
ksmps = 16
nchnls = 2
0dbfs = 1
instr 1
ipch = p4
kv2 = p7 ; position on bow
kv1 line p5, p3, p6 ; bow pressure
kv4 line 0, p3, 7 ; depth of low-frequency oscillator
asig STKBowed cpspch(ipch), 1, 2, kv1, 4, kv2, 11, 40, 1, kv4, 128, 100
outs asig, asig
endin
</CsInstruments>
<CsScore>
i 1 0 15 6.00 20 100 115
i 1 17 3 7.00 120 10 0
i 1 21 3 7.09 20 40 30
i 1 25 12 7.03 60 1 60
e
</CsScore>
</CsoundSynthesizer>