I got this:
scsynth -u 57110 -z 16 -J 8 -K 8 -G 16 -i 2 -o 2 -B 0.0.0.0
SC_BelaDriver: >>DriverSetup - Running on PRU (1)
Configured with
(8) analog input and (8) analog output channels, (16) digital channels, and (0) multiplexer channels.
HeadphoneLevel (-6.000000 dB), pga_gain_left (20.000000 dB) and pga_gain_right (20.000000 dB)
DAC Level (0.000000 dB), ADC Level (0.000000 dB) oscilloscope channels (0)
Speakers are not muted.
SC_AudioDriver: sample rate = 44100.000000, driver's block size = 16
SuperCollider 3 server ready.
so it´s running ok. I found that the audio stream is not the problem because scsynth works well, also the craft i´m using works well in c++ and pd projects but if i run the trillcraft example from jreus i get this:
`compiling class library...
Found 735 primitives.
Compiling directory '/usr/share/SuperCollider/SCClassLibrary'
Compiling directory '/usr/share/SuperCollider/Extensions'
Compiling directory '/root/.local/share/SuperCollider/Extensions'
numentries = 690585 / 7502600 = 0.092
4025 method selectors, 1864 classes
method table size 9991936 bytes, big table size 60020800
Number of Symbols 9403
Byte Code Size 272328
compiled 230 files in 0.72 seconds
Info: 4 methods are currently overwritten by extensions. To see which, execute:
MethodOverride.printAll
compile done
localhost : setting clientID to 0.
internal : setting clientID to 0.
Class tree inited in 0.05 seconds
*** Welcome to SuperCollider 3.14.1. *** For help type ctrl-c ctrl-h (Emacs) or :SChelp (vim).
Booting server 'localhost' on address 127.0.0.1:57110.
SC_BelaDriver: >>DriverSetup - Running on PRU (1)
Configured with
(8) analog input and (8) analog output channels, (16) digital channels, and (0) multiplexer channels.
HeadphoneLevel (-1.000000 dB), pga_gain_left (5.000000 dB) and pga_gain_right (5.000000 dB)
DAC Level (0.000000 dB), ADC Level (0.000000 dB) oscilloscope channels (0)
Speakers are muted.
SC_AudioDriver: sample rate = 44100.000000, driver's block size = 16
SuperCollider 3 server ready.
Requested notification messages from server 'localhost'
localhost: server process's maxLogins (8) matches with my options.
localhost: keeping clientID (0) as confirmed by server process.
Shared memory server interface initialized
TrillRaw CTOR id: 281472966384960
Trill sensor found: devtype Craft, firmware_v 3
Found 0 active Trill UGens
Initialized with outputs: 30 i2c_bus: 1 i2c_addr: 48 mode: Raw thresh: 0.0400 pre: 4 devtype: 3
Underrun detected: 1764 blocks dropped at 136576 2.437s
[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
[0.098876953125, 0.077880859375, 0.07421875, 0.06982421875, 0.0654296875, 0.061767578125, 0.0625, 0.05859375, 0.06005859375, 0.06103515625, 0.06201171875, 0.0703125, 0.073486328125, 0.08154296875, 0.08154296875, 0.092041015625, 0.084228515625, 0.11376953125, 0.086181640625, 0.070068359375, 0.064208984375, 0.0654296875, 0.068359375, 0.07080078125, 0.07373046875, 0.07666015625, 0.077880859375, 0.09765625, 0.098388671875, 0.10205078125]
[0.0966796875, 0.077392578125, 0.0751953125, 0.069580078125, 0.066650390625, 0.0634765625, 0.0625, 0.0595703125, 0.06005859375, 0.061767578125, 0.06298828125, 0.069580078125, 0.072021484375, 0.080322265625, 0.080322265625, 0.09033203125, 0.083740234375, 0.111572265625, 0.085205078125, 0.06787109375, 0.06298828125, 0.064697265625, 0.0693359375, 0.072021484375, 0.0751953125, 0.075439453125, 0.078857421875, 0.0986328125, 0.099365234375, 0.102783203125]
Underrun detected: 1 blocks dropped at 187872 3.599s
Underrun detected: 1 blocks dropped at 187904 3.600s
Underrun detected: 1 blocks dropped at 187968 3.602s
Underrun detected: 1 blocks dropped at 188080 3.604s
Underrun detected: 1 blocks dropped at 188336 3.610s
[0.098388671875, 0.07763671875, 0.07373046875, 0.071533203125, 0.065185546875, 0.063720703125, 0.062744140625, 0.06103515625, 0.058837890625, 0.06298828125, 0.062744140625, 0.069091796875, 0.072998046875, 0.0810546875, 0.081298828125, 0.09033203125, 0.083984375, 0.11328125, 0.086181640625, 0.06884765625, 0.062744140625, 0.064453125, 0.067138671875, 0.06982421875, 0.0751953125, 0.0751953125, 0.07763671875, 0.09765625, 0.09765625, 0.102783203125]
[0.098876953125, 0.076904296875, 0.075439453125, 0.070556640625, 0.0654296875, 0.06103515625, 0.06201171875, 0.06103515625, 0.05908203125, 0.06298828125, 0.062744140625, 0.0693359375, 0.072998046875, 0.0810546875, 0.0791015625, 0.091064453125, 0.0849609375, 0.11376953125, 0.087646484375, 0.06884765625, 0.064208984375, 0.065673828125, 0.068603515625, 0.07080078125, 0.0732421875, 0.076171875, 0.07861328125, 0.09814453125, 0.09912109375, 0.101806640625]
[0.09619140625, 0.076171875, 0.07421875, 0.071533203125, 0.065185546875, 0.061279296875, 0.06005859375, 0.058349609375, 0.060791015625, 0.063232421875, 0.0634765625, 0.0703125, 0.074462890625, 0.081787109375, 0.08154296875, 0.09130859375, 0.084716796875, 0.11376953125, 0.08642578125, 0.069580078125, 0.06396484375, 0.0654296875, 0.068603515625, 0.070068359375, 0.072998046875, 0.076416015625, 0.078857421875, 0.0986328125, 0.09814453125, 0.101806640625]
Stopping Bela ...
[0.099365234375, 0.076904296875, 0.074462890625, 0.0703125, 0.06689453125, 0.063720703125, 0.060546875, 0.06103515625, 0.058837890625, 0.061767578125, 0.0625, 0.06884765625, 0.07275390625, 0.08056640625, 0.08251953125, 0.092529296875, 0.08544921875, 0.112548828125, 0.08544921875, 0.0703125, 0.064453125, 0.06640625, 0.070068359375, 0.069580078125, 0.07177734375, 0.076904296875, 0.0791015625, 0.0986328125, 0.0986328125, 0.10205078125]
SC_BelaDriver: signal received: 2; terminating
Underrun detected: 1 blocks dropped at 280496 5.700s
Program crashed with Segmentation Fault. Backtrace:
make: *** [Makefile:745: runide] Interrupt
Bela stopped
`