Hey hey,
I tried to help someone with a simple multichannel mixer, suggesting
Csound. I ran the code "dry" on my system and it worked.
On their system the code failed with the failure below. The options they
used were:
-+rtaudio=jack -b 1024 -B 3072
sr = 44100
ksmps = 32 ; tried 12
They also tried ksmps = 4 with -B 2048
They have JACK running through pipewire. The JACK options from ~/.jackrc
report:
-p 1024 -n 2
If it makes any difference: nchnls were set to 6.
Here's the output from Csound:
UnifiedCSD: organ_mixer.csd
rtaudio: JACK module enabled
instr Mixer uses instrument number 1
sorting score ...
... done
--Csound version 6.18 (double samples) 2022-11-24
[commit: none]
libsndfile-1.2.0
displays suppressed
sr = 44100.0, kr = 1378.125, ksmps = 32
0dBFS level = 1.0, A4 tuning = 440.0
orch now loaded
audio buffered in 1024 sample-frame blocks
reading 12288-byte blks of shorts from adc:GrandOrgueAudio:out (RAW)
system sr: 44100.000000
*** stack smashing detected ***: terminated
csound command: Aborted
...
Does anyone have a suggestion? Could it be pipewire? Did I misunderstand
the requirements for the options -b and -B? Is there another setting
perhaps?
Hey hey,
I tried to help someone with a simple multichannel mixer, suggesting
Csound. I ran the code “dry” on my system and it worked.
On their system the code failed with the failure below. The options they
used were:
-+rtaudio=jack -b 1024 -B 3072
sr = 44100
ksmps = 32 ; tried 12
They also tried ksmps = 4 with -B 2048
They have JACK running through pipewire. The JACK options from ~/.jackrc
report:
-p 1024 -n 2
If it makes any difference: nchnls were set to 6.
Here’s the output from Csound:
UnifiedCSD: organ_mixer.csd
rtaudio: JACK module enabled
instr Mixer uses instrument number 1
sorting score …
… done
–Csound version 6.18 (double samples) 2022-11-24
[commit: none]
libsndfile-1.2.0
displays suppressed
sr = 44100.0, kr = 1378.125, ksmps = 32
0dBFS level = 1.0, A4 tuning = 440.0
orch now loaded
audio buffered in 1024 sample-frame blocks
reading 12288-byte blks of shorts from adc:GrandOrgueAudio:out (RAW)
system sr: 44100.000000
*** stack smashing detected ***: terminated
csound command: Aborted
…
Does anyone have a suggestion? Could it be pipewire? Did I misunderstand
the requirements for the options -b and -B? Is there another setting
perhaps?
Hi Joachim,
thanks for your reply. We might try this. Happily, the code runs properly on the intended performance system. Sstill, one doesn't always have access to that. So we'll try the adaptation.