I think that the New Csound Project might be searching for the #included .udo files in a different location than they are looking from the Examples/Csound folder?
Here is the "working" example, try it in a project - the console is pasted below
;------------------------------------------------------
; Effect processing using COSMO DSP - Csound on Bela
; * Bernt I. Wærstad, Victor Lazzarini, Alex Hofmann
;
; This example shows how you quickly can set up effects
; processing using readymade modular DSP effects from the
; COSMO DSP library: http://github.com/cosmoproject/cosmo-dsp
;
; - connect 3x10K pots to 3.3V and GND on its 1st and 3rd pins
; - connect the 2nd middle pin of the pots to analogIn 0, 1 and 2.
; - connect a switch to 3.3V on one side and digital pin 0 on the other
;
; The 3 pots will control the hack (square AM) frequency (pot1),
; mix of reverse effect (pot2) and the cutoff of a resonant
; lowpass filter (pot3)
;
; The switch will turn on and off the hack effect
;
; NOTE! All control arguments in the COSMO DSP-library
; have normalized inputs (0-1) and are scaled internally.
;
; Find more infos under: http://cosmoproject.github.io/dsp/
;------------------------------------------------------
<CsoundSynthesizer>
<CsOptions>
-m0d
</CsOptions>
<CsInstruments>
ksmps = 8
nchnls = 2
0dbfs = 1
; Include the readmade effects from COSMO DSP-library
#include "Hack.udo"
#include "Reverse.udo"
#include "Lowpass.udo"
instr 1
aL, aR ins
/*********************************
Hack effect
Arguments: Frequency, Dry/wet mix
Scaled values:
Frequency: 0.5Hz - 45Hz
Dry/wet mix: 0% - 100%
*********************************/
; Use digital pin 0 to toggle Hack effect
kHackOnOff digiInBela 0
; Use analog input 0 to control Hack frequency
aHackFreq chnget "analogIn0"
kHackFreq = k(aHackFreq)
aL, aR Hack aL, aR, kHackFreq, kHackOnOff
/*********************************
Reverse effect
Arguments: Reverse_time, Speed, Dry/wet mix
Scaled values:
Reverse time: 0.1s - 3s
Speed: 1x - 5x
Dry/wet mix: 0% - 100%
*********************************/
; Use analog input 1 to control Reverse mix
aReverseMix chnget "analogIn1"
kReverseMix = k(aReverseMix)
aL, aR Reverse aL, aR, 0.5, 0, kReverseMix
/*********************************
Resonant lowpass filter
Arguments: Cutoff frequency, Resonance, Distortion
Scaled values:
Cutoff frequency: 30Hz - 20000Hz
Resonance: 0 - 1.25
Distortion: 0 - 1
Mode:
0: lpf18
1: moogladder
2: k35
3: zdf
*********************************/
; Use analog input 2 to control Lowpass filter cutoff
aLP_cutoff chnget "analogIn2"
kLP_cutoff = k(aLP_cutoff)
aL, aR Lowpass aL, aR, kLP_cutoff, 0.75, 0.5, 3
outs aL, aR
endin
</CsInstruments>
<CsScore>
i1 0 86400
</CsScore>
</CsoundSynthesizer>
=========
CONSOLE:
Building project ...
Build finished
Running project ...
0"000.144| WARNING: [main] duplicate call from main program to xenomai_init() ignored
0"000.382| WARNING: [main] (xeno-config --no-auto-init disables implicit call)
0"067.268| WARNING: [main] duplicate call from main program to xenomai_init() ignored
0"067.417| WARNING: [main] (xeno-config --no-auto-init disables implicit call)
WARNING: [mError opening plugin directory '/usr/local/lib/csound/plugins-6.0': No such file or directory[m
[m0dBFS level = 32768.0
--Csound version 6.14 (float samples) Feb 9 2020
[commit: 1073b4d1bc2304a1e06defd266781a9c441a5be0]
libsndfile-1.0.27
realtime mode enabled
UnifiedCSD: /root/Bela/projects/dBela1new/_main.csd
STARTING FILE
Creating options
Creating orchestra
closing tag
Creating score
realtime mode enabled
using path .
Cannot open #include'd file Hack.udo
[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: 0xb4a21010 thread: 0x1675190
1 mode switch detected on the audio thread.
root@bela ~/Bela#